Multiple IF functions

  • Thread starter Thread starter Harry S
  • Start date Start date
H

Harry S

I like to enter a multiple IF funcution formula that looks like this:
=if(a10<5,x1+1,if(a10>5<10,x1+2,if(a10>10<20,x1+3)))
Always getting an FALSE message what am I doing wrong?
 
Do it like this:

=if(a10<5,x1+1,if(a10<10,x1+2,if(a10<20,x1+3,"out of range")))

You have already tested for A10 being less than 5 when you get to the
second IF, so you don't need to test it for that condition again.
Similarly for when you get to the third IF.

Hope this helps.

Pete
 
Good morning Pete_UK
I, Coreen, am needing your help. Similar to the previous you helped with,
thus how would you write a COUNTIF function from one worksheet into another
worksheet of the same workbook?
Thank you for your time and kindness,
Coreen_NZ
 
Well, suppose you wanted a count in Sheet2 of the numbers in column A
of Sheet1 which are greater than 5 - you could do that like this:

=COUNTIF(Sheet1!A:A,">5")

This is just an example - if you want a more specific answer then you
will need to supply some more details of what it is that you want to
do.

Hope this helps.

Pete
 
Back
Top