Hello everyone
I need a formula to give me the result of "1" between the numbers over 12 and less than 15. And number "2" over 15.
An example: If my cell is...
12 = 0
12.00001 = 1
14.99999 = 1
15 = 2
Hello everyone
I need a formula to give me the result of "1" between the numbers over 12 and less than 15. And number "2" over 15.
An example: If my cell is...
12 = 0
12.00001 = 1
14.99999 = 1
15 = 2
You didnt say what you want to do with numbers <12, so try try this...
=if(and(a1>12,a1<15),1,if(a1>=15,2,0))
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Yes I'm sorry. Any values less than twelve equals to zero.
And thanks for the formula. All worked fine.
Last edited by gpktm; 09-22-2013 at 08:56 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks