Excel V lookup and match?

FGaxha

Board Regular
Joined
Jan 10, 2023
Messages
221
Office Version
  1. 365
Platform
  1. Windows
Hi masters,
I have a list of sales by region, sales person and month Jan, Feb, Mar.
I need a formula that when i search region North to bring up any sales person and monthly sales as per table. Not summary.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Another option would be the FILTER function. Something like the example below.

Book1
ABCDEFGHI
1RegionSales PersonSalesMonthRegion:North
2NorthPer1$ 461JanPer1$ 461Jan
3NorthPer2$ 542JanPer1$ 431Mar
4SouthPer3$ 340FebPer1$ 357Mar
5NorthPer2$ 305FebPer2$ 542Jan
6NorthPer1$ 431MarPer2$ 305Feb
7NorthPer1$ 357Mar
8SouthPer3$ 729Mar
Sheet1
Cell Formulas
RangeFormula
G2:I6G2=SORT(FILTER($B$2:$D$8,$A$2:$A$8=$G$1,"No Records"))
Dynamic array formulas.
 
Upvote 1
Another option would be the FILTER function. Something like the example below.

Book1
ABCDEFGHI
1RegionSales PersonSalesMonthRegion:North
2NorthPer1$ 461JanPer1$ 461Jan
3NorthPer2$ 542JanPer1$ 431Mar
4SouthPer3$ 340FebPer1$ 357Mar
5NorthPer2$ 305FebPer2$ 542Jan
6NorthPer1$ 431MarPer2$ 305Feb
7NorthPer1$ 357Mar
8SouthPer3$ 729Mar
Sheet1
Cell Formulas
RangeFormula
G2:I6G2=SORT(FILTER($B$2:$D$8,$A$2:$A$8=$G$1,"No Records"))
Dynamic array formulas.
this is great, exactly what i was looking for,.
I have not try it yet
 
Last edited by a moderator:
Upvote 0
this is great, exactly what i was looking for,.
In that case I have changed the marked solution from post 4 to post 3. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 1
Another option would be the FILTER function. Something like the example below.

Book1
ABCDEFGHI
1RegionSales PersonSalesMonthRegion:North
2NorthPer1$ 461JanPer1$ 461Jan
3NorthPer2$ 542JanPer1$ 431Mar
4SouthPer3$ 340FebPer1$ 357Mar
5NorthPer2$ 305FebPer2$ 542Jan
6NorthPer1$ 431MarPer2$ 305Feb
7NorthPer1$ 357Mar
8SouthPer3$ 729Mar
Sheet1
Cell Formulas
RangeFormula
G2:I6G2=SORT(FILTER($B$2:$D$8,$A$2:$A$8=$G$1,"No Records"))
Dynamic array formulas.
My excel 2016 does no support Sort(Filter. Please any other formula similar to this?
 
Upvote 0
You may want to change your profile to show you are using Excel 2016 and not 365.
Formulas become a little more complicated with Excel 2016.

In the example below. Drag the formula in cell F3 down rows as needed. Formula in G3 drag down and across as needed.

Book1
ABCDEFGHI
1RegionSales PersonSalesMonthRegion:North
2NorthPer1$ 461JanRef#Sales PersonSalesMonth
3NorthPer2$ 542Jan1Per1$ 461Jan
4SouthPer3$ 340Feb2Per2$ 542Jan
5NorthPer2$ 305Feb4Per2$ 305Feb
6NorthPer1$ 431Mar5Per1$ 431Mar
7NorthPer1$ 357Mar6Per1$ 357Mar
8SouthPer3$ 729Mar    
9
Sheet3
Cell Formulas
RangeFormula
F3:F8F3=IFERROR(AGGREGATE(15,6,(ROW($A$2:$A$8)-ROW($A$2)+1)/($A$2:$A$8=$G$1),ROWS($M$2:M2)),"")
G3:I8G3=IF($F3="","",INDEX($B$2:$D$8,$F3,COLUMNS($B$1:B1)))
 
Upvote 1
Solution

Forum statistics

Threads
1,215,262
Messages
6,123,938
Members
449,134
Latest member
NickWBA

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