how to Multiply and Add multiple cells ignoring blanks or text

KariSaga

New Member
Joined
Apr 4, 2019
Messages
5
I am not very good with excel and need some help. I have searched but not finding what I need. I am trying to figure out a simple formula that calculates multiple cells while ignoring blanks or any other text for cell D. I was trying to use isnumber eg... =IF(AND(ISNUMBER(A2), ISNUMBER(B2)),(A2*B2)+C2,” “)

The end result is below.

A2*B2+C2

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]2[/TD]
[TD]400[/TD]
[TD]100[/TD]
[TD]900[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]400[/TD]
[TD][/TD]
[TD]800[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]2[/TD]
[TD]600[/TD]
[TD]N/A[/TD]
[TD]1200[/TD]
[/TR]
</tbody>[/TABLE]
 

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.
What would happen if A or B are blank or text?

Try this




=IFERROR(VALUE(A2),0)*IFERROR(VALUE(B2),0)+IFERROR(VALUE(C2),0)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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