Index/Match Multiple Criteria Return Based on Date

john62290

New Member
Joined
Dec 15, 2021
Messages
30
Office Version
  1. 365
Platform
  1. Windows
I have the below table that I would like to return Steve's 1st sale price, 2nd sale price, etc in a seperate table.
DateSales RepPriceQuantity
10/13/2022Steve330150
11/3/2022Bob300150
12/1/2022Bob350200
12/5/2022Steve40050
12/7/2022Steve330150
1/19/2023Steve350150
3/3/2023Bob375300
3/30/2023Steve200100

1​
2​
3​
5​
Steve
Bob

1 being the first date for Steve and Bob. I am wanting a formula to return 330 for Steve and 300 for Bob in cells below 1 then give the next prices in cells below the 2.

THanks!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
How about
Fluff.xlsm
ABCDEFGHIJK
1DateSales RepPriceQuantity
213/10/2022Steve330150Bob300350375
303/11/2022Bob300150Steve330400330350200
401/12/2022Bob350200
505/12/2022Steve40050
607/12/2022Steve330150
719/01/2023Steve350150
803/03/2023Bob375300
930/03/2023Steve200100
10
Main
Cell Formulas
RangeFormula
G2:I2,G3:K3G2=TOROW(FILTER($C$2:$C$100,$B$2:$B$100=F2))
Dynamic array formulas.
 
Upvote 0
Is there potentially a way for this filter to not be an array? Thanks
How about
Fluff.xlsm
ABCDEFGHIJK
1DateSales RepPriceQuantity
213/10/2022Steve330150Bob300350375
303/11/2022Bob300150Steve330400330350200
401/12/2022Bob350200
505/12/2022Steve40050
607/12/2022Steve330150
719/01/2023Steve350150
803/03/2023Bob375300
930/03/2023Steve200100
10
Main
Cell Formulas
RangeFormula
G2:I2,G3:K3G2=TOROW(FILTER($C$2:$C$100,$B$2:$B$100=F2))
Dynamic array formulas.
 
Upvote 0
Why would a spilled formula be any harder to work with than a formula that needs to be dragged across?
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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