Forum Discussion
How to use the Subtract with IF function ?
Hi everyone,
Actually, I need some help about How I can use subtract with IF function Or any other way ?
For example: If A>0 , make (B - C).
How I can use it on Excel, Please :)
Okay, I've updated the workbook with this formula in AV Balance cell.
=IF(D6>0,0,10000)
If you want to change the AV Balance, you can change it in the formula from 10000 to something else.
I hope this helps you
Regards
- Haytham AmairahSilver Contributor
Hi,
Let me show you a simple example as follows.
=IF(A2>0,B2-C2,A2)
The above formula says:
IF cell A2 greater than 0, then subtract cell C2 from B2 and return the result.
Otherwise, return the value of cell A2 as it is.
Please check out this link to learn more about IF function.
Hope that helps
- CEOBlockchainCopper Contributor
Firstly, thank you for help my brother :).
Please check your file to fine What I need ?
Thank you again.
HAITHAM :)
- Haytham AmairahSilver Contributor
Hi,
Sorry for the late reply, but I didn't understand what you need!
Please tell me what the wrong in the formula or give me examples on some cases and what the formula should return in them?
- Abdul_Naveed192000Copper Contributor
Dear Sir,
Can I use multi-cell for calculation?
For Example
if A2=1.1 and C2=3 and D2=A and If Sum of L2 TO T2 > 40-F2-H2 Then Sum of L2 To R2 and if Sum Of L2 TO R2 > 40-F2-H2 then answae L2 To P2 otherwise sum of L2 TO N2
Also Sheet are Attached
please help me
That is the duplication of the question here https://techcommunity.microsoft.com/t5/excel/excel-working/m-p/2116269
- Tops_dcCopper ContributorHi,
Can you help me with this one.
IF(A2<B2, A2-B2,A2) this one works but I want to add this next function
IF(A2>=B2,"0"). The result says I already exceed 2 to 3 arguments.
Can you help me?
- Deanpg7310Copper ContributorHi Guys, I wonder if someone can assist me with my problem. If Column A subtract Column B gives you a negative figure, I would like Column C to indicate "Short" - If it is over, I would like Column C to indicate "Over". How do I write this formula to give me this result.