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

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
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: 17
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,223,227
Messages
6,170,849
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