SumIFs formula multiple criteria (Visible Cells)

kac1125

Board Regular
Joined
Jul 31, 2014
Messages
77
Office Version
  1. 365
Platform
  1. Windows
I have two tabs, one with order number, Item number, the shipped qty and cheat cell that shows a 1 if cell is visible after filtering. the second tab has just the unique Order numbers, so if there is more than one item the order number is not repeating. I am looking to sum the shipped qty for each order number that is visible
Order NumberItem NumberShipped QtyVisible
1538930​
18501
1539857​
1541
1540524​
1541

1540529​
1151
1540529​
2541
1542289​
1131
1556328​
2801
1556328​
3491
1556328​
42001
Sheet two looks like this
Order NumberShipped
1538930​
1539857​
1540524​
1540529​
1542289​
1556328​
I am trying the following formula in she 2 column 2 =SUMIFS(Sheet1!A:A,Sheet2!A:A,@Sheet1!C:C,Sheet1!D:D,">0") and I seem to be missing something. Please let me know if you have any ideas.

Thanks in advance!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
How about
Excel Formula:
=SUMIFS(Sheet1!C:C,Sheet1!A:A,A2,Sheet1!D:D,1)
 
Upvote 0
You could use this and avoid the visible column:

Book1
AB
1Order numberShipped
21538930850
3153985754
4154052454
5154052969
6154228913
71556328329
Sheet2
Cell Formulas
RangeFormula
B2:B7B2=SUM(IFERROR((Sheet1!$A$2:$A$10000=Sheet2!A2)*Sheet1!$C$2:$C$10000*SUBTOTAL(103,OFFSET(Sheet1!$C$1,SEQUENCE(COUNT(Sheet1!$C$2:$C$10000)),0)), 0))
 
Upvote 0
Personally I'd use the helper column, rather than volatile functions.
 
Upvote 0
Sure, if you have a big number of rows, offset would degrade performance.
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,980
Members
452,540
Latest member
haasro02

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