EXTRACT ALL DATA ROWS OF A SPECIFIC EMPLOYEE FROM A TABLE

SAQIB_4414

New Member
Joined
Aug 6, 2022
Messages
2
Office Version
  1. 2013
Platform
  1. Windows
Dear Experts,
i have a Employee Table having "Name" , " Month" and "Salary" Columns.
i want that , when i enter Name of an employee , it Fetch all of Data Rows of him (in new sheet / place in that sheet) .
i've tried Lookup, but it don't work..


Thanks in Advance..

FOR REFERENCE

0722 SSS.xlsx
HIJ
953SOURCE DATA
954EMPLOYEE NAMESALARY MONTHSALARY
955SAQIBJan-22120,000
956SAQIBFeb-20120,000
957SAQIBMar-22120,000
958RAZAJan-22110,000
959RAZAFeb-22110,000
960RAZAMar-22110,000
961SAQIBApr-22130,000
962SAQIBMay-22130,000
963SAQIBJun-22130,000
964RAZAApr-22120,000
965RAZAMay-22120,000
966RAZAJun-22120,000
967
968
969RESULT
970ENTER NAMESAQIB
971SAQIBJan-22120,000
972SAQIBFeb-20120,000
973SAQIBMar-22120,000
974SAQIBApr-22130,000
975SAQIBMay-22130,000
976SAQIBJun-22130,000
Sheet1
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the MrExcel board! Here is one approach. This formula is pulled down and across the results table until blanks are produced, indicating no more matches are found:
Do not Change of FY23 Operating Budget Planning_received 20220522_rev2_rec 20220731_v2.xlsx
HIJ
953SOURCE DATA
954EMPLOYEE NAMESALARY MONTHSALARY
955SAQIBJan-22120000
956SAQIBFeb-20120000
957SAQIBMar-22120000
958RAZAJan-22110000
959RAZAFeb-22110000
960RAZAMar-22110000
961SAQIBApr-22130000
962SAQIBMay-22130000
963SAQIBJun-22130000
964RAZAApr-22120000
965RAZAMay-22120000
966RAZAJun-22120000
967
968
969RESULT
970ENTER NAMERAZA
971RAZAJan-22110000
972RAZAFeb-22110000
973RAZAMar-22110000
974RAZAApr-22120000
975RAZAMay-22120000
976RAZAJun-22120000
977   
978   
979   
980   
Sheet2
Cell Formulas
RangeFormula
H971:J980H971=IFERROR(INDEX($H$955:$J$966,AGGREGATE(15,6,(ROW($H$955:$H$966)-ROW($H$955)+1)/($H$955:$H$966=$I$970),ROWS($H$971:$H971)),COLUMNS($H:H)),"")
 
Upvote 0
Solution
Welcome to the MrExcel board! Here is one approach. This formula is pulled down and across the results table until blanks are produced, indicating no more matches are found:
Do not Change of FY23 Operating Budget Planning_received 20220522_rev2_rec 20220731_v2.xlsx
HIJ
953SOURCE DATA
954EMPLOYEE NAMESALARY MONTHSALARY
955SAQIBJan-22120000
956SAQIBFeb-20120000
957SAQIBMar-22120000
958RAZAJan-22110000
959RAZAFeb-22110000
960RAZAMar-22110000
961SAQIBApr-22130000
962SAQIBMay-22130000
963SAQIBJun-22130000
964RAZAApr-22120000
965RAZAMay-22120000
966RAZAJun-22120000
967
968
969RESULT
970ENTER NAMERAZA
971RAZAJan-22110000
972RAZAFeb-22110000
973RAZAMar-22110000
974RAZAApr-22120000
975RAZAMay-22120000
976RAZAJun-22120000
977   
978   
979   
980   
Sheet2
Cell Formulas
RangeFormula
H971:J980H971=IFERROR(INDEX($H$955:$J$966,AGGREGATE(15,6,(ROW($H$955:$H$966)-ROW($H$955)+1)/($H$955:$H$966=$I$970),ROWS($H$971:$H971)),COLUMNS($H:H)),"")
♡ ♥💕❤♡ ♥💕

it's perfect ........................ thankssssssss
 
Upvote 0

Forum statistics

Threads
1,225,741
Messages
6,186,761
Members
453,370
Latest member
juliewar

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