If "E105" is between 0 and 10 I want the E106 to give me "E105", if it is less than 0, I want E106 to give me 0
Can you please help me out with this formula?
If "E105" is between 0 and 10 I want the E106 to give me "E105", if it is less than 0, I want E106 to give me 0
Can you please help me out with this formula?
Next time, please think up a better thread title
maybe...
=if(and(E105>0,E105<10),E105,0)
You did not say what to do if > 10?
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
Will do
If E105 was greater than 10 I would want E106 to post 0
OK what I suggested should do hat for you
Hmm for whatever reason it just gave back E105 ( which was 47 )
wait I think I know what happened.
Still for some reason spits back E105 (47)
I tested (again) the suggested forumla, and it works as it should.
=if(and(E105>0,E105<10),E105,0)
Perhaps upload a sample workbook, showing samples of the data you are working with?
It did work. I forgot I was working with percentages so 10 had to actually be .1
thank you!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks