GOOGLE SHEETS: Treat text as a blank cell when running a calculation

bluargent

New Member
Joined
May 13, 2022
Messages
7
Office Version
  1. 365
Platform
  1. MacOS
Hi! I have a rather complex rating sheet that I am attempting to proliferate throughout my company. I have encountered the first use error in the wild when a coworker entered "NA" for a rating, rather than leaving the cell blank, which appears to have messed up my calculations. How can I not include strings in the sum?

Table looks like this:
Screen Shot 2022-08-08 at 5.10.51 PM.png


The rating is calculated using the following function:
=IFERROR(20*SUMPRODUCT(G3:N3,'Grading Methodology'!$B$4:$I$4)/SUMPRODUCT(--((G3:N3)>0),'Grading Methodology'!$B$4:$I$4),"No Rating Yet")

where the "grading methodology" tab has percentage weights for each of the categories.

The intent is for the rating be out of 100 even if a score or two is missing. However, it seems that Sheets treats strings like "NA" as a zero - I would like for strings to be treated as a blank cell, so the rating can still be calculated

Thanks!

To be clear, this is a Google Sheets spreadsheet
 
Last edited by a moderator:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

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