Excel Help

can anyone tell me what is wrong with this formula :
=IF((+I38-732)*(13.8/100)<0,"0.00"),IF((+I38-732)*(13.8/100)>0,)
what I'm trying to achieve is that if the answer is <0 then put 0.00 but if it's > than 0 then put the actual figure it is. any help much appreciated.
Comments
-
I think you need a space after each comma and also ensure the cell is in "General" format rather than text etc.0
-
Remove the bracket after "0.00" and enter a true and false value at the end of the second 'IF' function. You've closed off the first IF function without a false value or the nesting of another IF.
I think. Haven't done Excel in a while.
0 -
I photo’d these cheat sheets someone sent me once even though I don’t know how to use excel and have never had to use it.
One day I might have to learn. I would be lear2 -
LargeAddick said:
can anyone tell me what is wrong with this formula :
=IF((+I38-732)*(13.8/100)<0,"0.00"),IF((+I38-732)*(13.8/100)>0,)
what I'm trying to achieve is that if the answer is <0 then put 0.00 but if it's > than 0 then put the actual figure it is. any help much appreciated.
Edit: Explanation is that the formula is =IF(Test, what happens if test is true, what happens if test is false).
So your test is (+I38-732)*(13.8/100)<0
If the test is true you want "0.00" but you should probably just change this to 0.
If the test is false you want the result (+I38-732)*(13.8/100)
So just plug them in.
= IF((+I38-732)*(13.8/100)<0,0,(+I38-732)*(13.8/100))6 -
Leeds_Addick said:LargeAddick said:
can anyone tell me what is wrong with this formula :
=IF((+I38-732)*(13.8/100)<0,"0.00"),IF((+I38-732)*(13.8/100)>0,)
what I'm trying to achieve is that if the answer is <0 then put 0.00 but if it's > than 0 then put the actual figure it is. any help much appreciated.
Edit: Explanation is that the formula is =IF(Test, what happens if test is true, what happens if test is false).
So your test is (+I38-732)*(13.8/100)<0
If the test is true you want "0.00" but you should probably just change this to 0.
If the test is false you want the result (+I38-732)*(13.8/100)
So just plug them in.
= IF((+I38-732)*(13.8/100)<0,0,(+I38-732)*(13.8/100))
2 -
You can simplify it even more as (+I38-732)*(13.8/100) is only less than zero if (I38-732)<0 and 13.8/100 is 0.138,
=if(I38-732<0,0,(I38-732)*0.138) would work just as well
Thanks for bringing it up, reminded me to change the calcs to 732 from 719 in the forecast I'm reforecasting!
0 -
Imnot Athletic said:You can simplify it even more as (+I38-732)*(13.8/100) is only less than zero if (I38-732)<0 and 13.8/100 is 0.138,
=if(I38-732<0,0,(I38-732)*0.138) would work just as well
Thanks for bringing it up, reminded me to change the calcs to 732 from 719 in the forecast I'm reforecasting!0 -
Don't forget Bodmas3
-
I used to love using Excel but haven’t touched a spreadsheet since I retired last year.0
-
What if the answer is zero. What output is required then?1
- Sponsored links:
-
valleynick66 said:What if the answer is zero. What output is required then?0
-
LargeAddick said:valleynick66 said:What if the answer is zero. What output is required then?1
-
What's the relevance of the numbers? I'd personally probably have the formula calculating off a cell, looks like a lot of hard coded numbers there, or am I being stupid?
4 -
Basically when you use IF, you need two alternative answers separated by a comma.
Agree with Huskaris for a change. If you are hard-coding numbers, use a calculator.1 -
I’d love to be clever2
-
What’s this thread got to do with Nightingale Hospital?0
-
3 -
where cell H24 is 3,500.00 I want cell I24 to display 2,500.00 as the answer, which it is so doing but on auto summing Column I it is not including the sum of I24 in the column total, why?
=IF((+H24)*(80/100)>=2500,"2,500.00",(+H24)*80/100)
any help appreciated ..
0 -
LargeAddick said:
where cell H24 is 3,500.00 I want cell I24 to display 2,500.00 as the answer, which it is so doing but on auto summing Column I it is not including the sum of I24 in the column total, why?
=IF((+H24)*(80/100)>=2500,"2,500.00",(+H24)*80/100)
any help appreciated ..
1 -
LargeAddick said:
where cell H24 is 3,500.00 I want cell I24 to display 2,500.00 as the answer, which it is so doing but on auto summing Column I it is not including the sum of I24 in the column total, why?
=IF((+H24)*(80/100)>=2500,"2,500.00",(+H24)*80/100)
any help appreciated ..
Just take out the quotations and it should work
=IF((+H24)*(80/100)>=2500,2500,(+H24)*80/100)
0 - Sponsored links:
-
thanks, think I'm a bit brain dead this morning …..
0 -
AFKABartram said:I’d love to be clever3
-
everyone knows Afka is just the face of charltonlife
he is the Southall to the mysterious Nimer over in Bermuda.4 -
H E AFKA1