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

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,223,882
Messages
6,175,165
Members
452,615
Latest member
bogeys2birdies

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