Return blank instead of 0

GingaNinga

New Member
Joined
Sep 1, 2017
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Hello

I have a sum if in 3 columns that looks at the values of other columns, and returns 1 if YES, 0 if NO, and blank if N/A

I need to sum the total of all three of these columns, and return a blank if all three are blank.

In the screenshot below, I would like row 2 - column 4 to return a blank value (all other calculations on the other rows are correct)

The current formula in column 4 is: =SUMIF(AH7:AJ7,"<>",AH7:AJ7)

2022-03-01_10-03-06.jpg
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
How about
Excel Formula:
=IFERROR(1/(1/SUM(AH7:AJ7)),"")
 
Upvote 0
What is the formula in AH7:AJ7 & do you need it, or is it just helper columns?
 
Upvote 0
What is the formula in AH7:AJ7 & do you need it, or is it just helper columns?
The formulas are:
AH7 =IF(AA7="N/A","",IF(AA7="YES",1,0))
AI7 =IF(AB7="N/A","",IF(AB7="YES",1,0))
AJ7 =IF(AC8="N/A","",IF(AC8="YES",1,0))
 
Upvote 0
Thanks for that, can you also answer my other question?
 
Upvote 0
How about
Excel Formula:
=IF(CONCAT(AH7:AJ7)="","",SUM(AH7:AJ7))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,517
Messages
6,119,984
Members
448,935
Latest member
ijat

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