Ignoring blank cell in complex Sum formula

brfunk15

New Member
Joined
Feb 16, 2017
Messages
8
Creating a title for this was tricky. So I have a spreadsheet in Google Sheets where I have three sets of data that I need to add together but there are times one or two of the cells might be blank. Basically, I am trying to create a Score for a call center rep where a call is worth 8 points, chats are worth 5 and a ticket is worth 7 points.

My sheet will pull how many calls, chats, ticket the rep did and then I need to add the point value and then add the three sets of data together to get the overall Score.

Calls are in B4, Chats in C4 and Tickets in D4 with the total cell in E4.
=sum((B4*8)+(C4*5)+(D4*7)) works if all cells have data in it, there is a formula in each cell pulling the data from another tab with an iferror formula to show a blank cell if no data was found. How do I get the formula to treat cells that are blank as a 0 so that I will get a result and not an error?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
What's the "formula in each cell" ?

Make sure that the "formula in each cell" returns a null "", NOT an actual space " ".
See if that amendment corrects your SUM formula.
 
Upvote 0
AFAIK an empty cell multiplied by something returns 0 in Excel. Don't know about Google sheets though
 
Upvote 0
OMG This was it the whole time! I had an iferror formula that was resulting in a space and not a null value. Thank you so much! I'm so flustered that I worked on this all day for the issue to be with the original formula but I am glad its fixed!
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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