Look up Sheet name & retrieve cell value

L

Legacy 400409

Guest
looking for a formula where by i enter a sheet name and it will retrieve values from that specific sheet, all sheets will have the same formatting and cell locations such as names, id, etc.
Application form:
NameEmployee ID
Date StartDate End
No. Of DaysReason
Department

<tbody>
</tbody>








Employees Worksheets (will be many, same layout).
Name*Date StartDate End
Department*1/4/192/4/192
DOB*5/6/195/6/191
Date Joined*5/7/1913/7/191
etc

<tbody>
</tbody>











Sheet Name will be same a employee id, i just want it to retrieve the information to correct cell in the application form
Thank you
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
The easiest way I know to do this is to use the INDIRECT function. If your employee IDs are all valid worksheet names, it is pretty simple. The employee ID numbers do not have any blanks or special characters, for example, "654321".

In worksheet "shee1" you have a cell B2, you have an employee ID number "654321". There is a worksheet named "654321" with a value that you wan to retrieve in cell D10.

In some other cell on sheet1, you can put the following formula:

=INDIRECT(B2&"!$D$10)

and you will have the value you wanted.
 
Upvote 0

Forum statistics

Threads
1,215,835
Messages
6,127,169
Members
449,368
Latest member
JayHo

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