Joining 2 if functions

  • Thread starter Thread starter Richard D
  • Start date Start date
R

Richard D

Hi I tried joining
=IF(($H$2/(D4*F4))=INT($H$2/(D4*F4)),$H$2/(D4*F4),"incorrect size")
with
=if(even(a1)=a1,"even","odd"

by=IF(and($H$2/(D4*F4))=INT($H$2/(D4*F4)),(even(F2)=F2,$H$2/
(D4*F4),"incorrect size")

it returns that too many arguments are being made
please suggest solution
what i really need is to add a at least 1 more argument
 
I think you meant to do something like this:

=IF(and($H$2/(D4*F4)=INT($H$2/(D4*F4)),even(F2)=F2),$H$2/
(D4*F4),"incorrect size")

Be careful with your brackets.

Hope this helps.

Pete
 
I think you meant to do something like this:

=IF(and($H$2/(D4*F4)=INT($H$2/(D4*F4)),even(F2)=F2),$H$2/
(D4*F4),"incorrect size")

Be careful with your brackets.

Hope this helps.

Pete

Hey thanks Pete this is magic
to be honest i have no background in writing code
just trying to make a format to ease some of our work processes
and I am amazed at how the WWW works in cases such as these
regards,
richard.
 
Back
Top