Sum visible only rows based on different column/cell value

DukeofArmchair

New Member
Joined
Mar 20, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi Guys, I am somewhat of a novice with excel formulas and am struggling a bit to find a solution to what I am trying to accomplish. I am trying to sum only visible rows in the "Total USD (Monthly)" column with the qualifying criteria that column "Winner?" contains a 1 and "Overall Status" column is Empty. I know how to do the subtotal for visible rows only but cannot seem to figure it out with the if requirements.

I hope this makes sense, below is the formula that I am using now but it is not excluding hidden rows.

=SUMIFS(Table13[Total USD
(Monthly)],Table13[Winner?],"*"&"1"&"*",Table13[Overall
Status],"")
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi & welcome to MrExcel.
Do some of your column headers contain a line feed, or is that just the way you've copied the formula?
 
Upvote 0
Its just the formula copied directly from excel, I think its because its a "Table" giving titles rather than column letters and I have carriage returns in some of the header titles.

The below formula also accomplishes the same

=SUMIFS(AG4:AG296,AH4:AH296,"*"&"1"&"*",B4:B296,"")
 
Upvote 0
Do you have line feeds in the column headers?
 
Upvote 0
Screenshot of what I am trying to accomplish
 

Attachments

  • excel formula assist.jpg
    excel formula assist.jpg
    251.2 KB · Views: 5
Upvote 0
Try
Excel Formula:
=SUM(FILTER(Table13[Total USD
(Monthly)],(ISNUMBER(FIND("1",Table13[Winner?])))*(Table13[Overall
Status]="")*MAP(Table13[Total USD
(Monthly)],LAMBDA(m,SUBTOTAL(3,m)))))
 
Upvote 1
Solution
This works PERFECTLY!! Thank you very much, I hope someday I can understand these complex formulas.

Thank you again, this makes my life much better :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,068
Members
449,091
Latest member
remmuS24

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