Unable to derive Simple Multiplication result with IF(AND.... Cell Value 0 or Blank

RapchikM

Board Regular
Joined
Oct 5, 2020
Messages
97
Office Version
  1. 2021
Platform
  1. Windows
Hello
Can anyone help me to correct the following formula uisng IF(AND....

I am trying to put value in Cell E57 as 0 or leave E57 as blank then Why does the following formula don't work ?
in cell H57 i ve incorporated the following formula
=IF(AND(E57="",E57=0), D57*1*F57, D57*E57*F57)

if Cell E57 = 0 then Multiplication result is derived But if Cell E57 is Blank then H57 = 0 instead of Calculated value

How can i derive a simple mulitplication result with Cell incoropated with 0 , 0.00 and with Cell Blank


RapchikM
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Your description is not entirely clear to me but perhaps you just need to change AND to OR?
Excel Formula:
=IF(OR(E57="",E57=0), D57*1*F57, D57*E57*F57)

or if E57 does not contain a formula, perhaps just this
Excel Formula:
=D57*IF(E57=0,1,E57)*F57
 
Upvote 0
Dear Sir Peter_SSs

Thank you so much for the perfect result although i was not clear.

I thought to use IF Cell E57 = 0 AND Cell E57 is Blank to get the correct result

What made you use IF(OR.......

Very much grateful to you for your immediate response?

RapchikM
 
Upvote 0
What made you use IF(OR.......
I used OR because that is what you want.
That is, you want to multiply by 1 if E57 is blank OR if E57 is 0.

Did you try the second formula too?
 
Upvote 0
Sir Your Second formula just tried Result was Perfect too

But with your second formula how to write for the following condtiion
=IF(OR(E16="",E16=0), D16*1*F16, (D16*E16*F16)/100)

RapchikM
 
Upvote 0
Sir Your Second formula just tried Result was Perfect too

But with your second formula how to write for the following condtiion
=IF(OR(E16="",E16=0), D16*1*F16, (D16*E16*F16)/100)

RapchikM
That formula does not really lend itself to the form of the second formula I used above. I suggest you just use this formula. :)
 
Upvote 0
That formula does not really lend itself to the form of the second formula I used above. I suggest you just use this formula. :)
Well in that case i will use your 1st formula for the changes i showed in post #5
Thank you so much for the guidance ?

RapchikM
 
Upvote 0
Sir May be with your permission Last question if you may allow

How could i Use SUMIF with following formula
=IF(OR(E16="",E16=0), D16*1*F16, (D16*E16*F16)/100)

my range is from E16: F21
RapchikM
 
Upvote 0
How could i Use SUMIF with following formula
=IF(OR(E16="",E16=0), D16*1*F16, (D16*E16*F16)/100)

my range is from E16: F21
That is not clear to me. With the sample below, what result would you expect and how do you calculate it manually?

21 05 05.xlsm
DEF
16137
17208
18319
19410
205311
216012
Sample
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top