Thread: multiple if
View Single Post
  #8   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Another solution
=MATCH(B3,{0;10;15},1)
(I myself can't use Peo's solution because my regional settings.)


Arvi Laanemets


"Elvin" wrote in message
...
I need to create a formula that outputs a 1, 2, or 3 based on the result

of:

If the value of x-y <10 then cell B3 = 1, If the value of x-y<10 but 15
then cell B3 = 2, If x-y<15 then cell B3 = 3.

Can I do this with formulae or do I need to go to VBA, if I need to go to
VBA how is this calculated.