Extracting data from a master list

jdhfch

Board Regular
Joined
Jan 25, 2018
Messages
69
Office Version
  1. 365
Platform
  1. Windows
Hi,

Please can I ask for help?

I am wanting to extract all data from a list and create a new list of data using a criteria. If you look at the list below, I am wanting to extract all data related to account 125 (or whatever would be in cell A1) and put it into cell A17 down. The data may not be all together, eg some may be on lines 9,10,11,12 etc, and some may be further down. I don't want any gaps? I know I can use a filter, but I need to do it using a formula if possible?

1675080922945.png
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
How about
Excel Formula:
=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$4:$A$14)/($A$4:$A$14=$A$1),ROWS(A$14:A17))),"")
 
Upvote 0
Solution
How about
Excel Formula:
=IFERROR(INDEX(A:A,AGGREGATE(15,6,ROW($A$4:$A$14)/($A$4:$A$14=$A$1),ROWS(A$14:A17))),"")
Thank you Fluff.. That gets the account number data, how do i get the other columns as well please?
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,819
Messages
6,121,746
Members
449,050
Latest member
excelknuckles

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