Multiple records, one line on a report

ronmcnaughton

New Member
Joined
May 28, 2009
Messages
3
I need to read through a file and, using a DLOOKUP, find a specific record for a course taken by a specific employee. There can be multiple records per employee depending on which courses they have taken. (1 record per course)

I need to put all of this on one line of a report.

Any ideas? I thought about trying an array, but I do not know if that would work or exactly how to do it.

Thanks for any help you can offer.
Ron:eeek:
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Without any specifics on your actual dataset, I would recommend adding an INDEX column to make this searching simple. Let's say the employee's name is in Col A and the course name is in column B. You could create a new Col C (and hide it if you wish), that concatenates the two strings together so the row can be spotted in the data. Once you have that, you can pull every remaining cell across to the report by INDEX/MATCH.

Excel Workbook
ABCDEF
1NameClassIndexDateLocationComplete
2Jane DoeMathJane DoeMath1/1/2009Site1Yes
3John BoyEnglishJohn BoyEnglish1/2/2009Site2No
4Big BopperScienceBig BopperScience1/3/2009Site3Yes
Sheet3
Excel Workbook
HIJKL
1NameClassDateLocationComplete
2Big BopperScience1/3/2009Site3Yes
Sheet3
 
Upvote 0

Forum statistics

Threads
1,223,229
Messages
6,170,881
Members
452,364
Latest member
springate

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