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.
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.
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.