All Items in an Order with Shipping

swissters

New Member
Joined
May 21, 2020
Messages
3
Platform
  1. MacOS
Title is probably extremely confusing without context. I'm trying to count the total number of items that are have the shipping option of "Local Portland Pickup". Right now each order (Column A) has shipping shown in only one row (Column O), but I need the sum of all of the items (Column Q) in the orders that will be "Local Portland Pickup". I have tried SUMIFS but can't figure out how to get it to work with this situation.

eg. Order ID's 349, 348, 347 have 6 rows, and are all being shipped via "Local Portland Pickup". I need it to SUM all of the items in Column Q for those orders.

Any insight is appreciated.

Screen Shot 2020-05-21 at 1.16.56 PM.png
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Can you post a sample in xl2bb??

sample method to calculate posted.

Master.xlsx
ABCDE
1349Local Portland Pickup2
23480
3347Local Portland Pickup1
4349Local Portland Pickup2
53471
Sheet1
Cell Formulas
RangeFormula
E1:E5E1=SUMPRODUCT(--($A$1:$A$5=A1),--($B$1:$B$5="Local Portland Pickup"),ROW($A$1:$A$5)^0)
 
Upvote 0
=SUMPRODUCT(--($A$1:$A$5=A1),--($B$1:$B$5="Local Portland Pickup"))
 
Upvote 0
Unfortunately, I'm using Google Sheets so I don't think I can post via XL2BB.

What I'm trying to do is SUM the items in your column E. Column E is not calculated. Basically these are orders that come in, column E is the number of items sold, and I want to figure out how many total items are being shipped via "Local Portland Pickup". Every item in order 347 is "Local Portland Pickup" even though it only shows up in one cell. Here is a broader view of the spreadsheet.
Screen Shot 2020-05-21 at 2.41.20 PM.png
 
Upvote 0
Unfortunately, I'm using Google Sheets so I don't think I can post via XL2BB.
It is always better to mention this in your op. Excel & Google sheets are NOT the same. I have also moved this to the correct forum.
 
Upvote 0
Understood. Sorry about that. I have always used excel formulas in my spreadsheets without issue.

If you have any input on this I'd greatly appreciate it!
 
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,876
Members
449,056
Latest member
ruhulaminappu

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