简体   繁体   中英

Need some Excel help getting data from multiple worksheets

I need some help with Excel please

Let's say I have an Excel workbook that has a worksheet for each person in a company. Each worksheet is the name of the employee and has various information about that employee. I have an index page that has each worksheet name in column A starting on A2. I would like to know how to show the contents of cell D6 from each employees worksheet on the index page.

Thanks

像这样?

=INDIRECT(A2&"!$D$6")

If any of your worksheets use a hyphen or other special characters in the name use this instead: =INDIRECT("'"&A2&"'!D6")

This should keep you from getting #REF! errors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM