# Need a formula for advance filter criteria

#### Enki03

##### New Member
So I'm in charge of handing Fifo in our inventory and I need a formula to speed the process since the material handlers work quick through the day. Our system is simple we have a database that spills out reports with all kind of information. Such as serial, part number, quantity and so on. I use power query to clean up the report and advance filter to display the part numbers that the material handlers need to pick. But I need to display the actual quantities they need and that's what's consuming my time because I have to go by part number by part number adding quantities manually. They are given a pick list and I need to supply with serials and locations based on FIFO, been researching but I haven't found anything yet. Anybody knows how to accomplish this? Anything will help thanks!

### Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

##### Well-known Member
1. You can Use sumif or Sumifs formula
2. You can Use Pivot Tables
Redditexcel.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZ
1serial_idPart_idQtylocation_idcreatedate
2111561000787610R3058/5/2020
3112571000787620R3058/5/2020Row LabelsSum of Qty
4114571000787620R3058/6/202010004788181
5165471000787641D5078/7/20201000489760
6135541000787626D5078/8/20201000568824
7256651000568925A3088/9/20201000568925
8125421000489730S4058/10/20201000787418
9166541000489730S4058/11/202010007876117
10255581000568824F6088/12/2020PICKLIST FOR MATERIAL HANDLER1000812596
1125555100078748H3078/13/20201000971264
12365941000787410H3078/14/2020Part_idQtyGrand Total585
13155421000812515G2058/15/20201000787660117
14255151000812515G2058/16/2020100081253596
15265441000812515G2058/17/202010004788135181
16155551000812525T5038/18/20201000489760
17156551000812526T5038/19/20201000568824
18155451000971249Y4078/20/20201000568925
19552551000971215Y4078/21/20201000787418
20266551000478812E3098/22/202010007876117
21236551000478819E3098/23/20201000812596
22126521000478826E3098/24/20201000971264
23136521000478848J2058/25/2020
24155941000478829J2058/26/2020
25125631000478847J2058/27/2020
26
27How can I filter by those part numbers and add up to or get close to those quantities?
Database
Cell Formulas
RangeFormula
I13:I22I13=SUMIFS(\$C\$2:\$C\$25,\$B\$2:\$B\$25,G13)

Replies
3
Views
87
Replies
2
Views
1K
Replies
4
Views
468
Replies
0
Views
763
Replies
6
Views
2K

1,129,386
Messages
5,636,010
Members
416,892
Latest member
Bensch

### 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.

### Which adblocker are you using?

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

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