How to reference a worksheet in a dropdown list

How can I cross reference a worksheet so that when a user picks a value from a list it updates by worksheet. E.g. in Dashboard 01, B9 there is a list of week dates . What formula do I need to use so that it will return the total ML (for example for that week) from Location 01 (worksheet) in B12 and the same ML from Location 02 (worksheet) for that week - not set up - I want to get this working first!  A variation of that would be in B26 - I plan to have a list of worksheet names set up here and then it would give the total hours for those dates in that worksheet . Will probably be more rows than 1 but if I have one...
EE_WTE_question_01.xlsx
LVL 1
agwalshAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
If you were to use the same Table format as you had for the earlier question, you can rename the Table as "Location_01" and then refer to it in the same way as previously, for this new dashboard formula in B12 it would be:

=COUNTIF(OFFSET(Location_01[[#Headers],[01/01/2018]],0,MATCH(B$9,Location_01[#Headers],0)-1,COUNTA(Location_01[[#All],[01/01/2018]]),1),B$11)

As you create the new location tables just name them accordingly. When the new table has been created you can copy the formula down and use Find and Replace to change Location_01 to Location_02
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
agwalshAuthor Commented:
@Rob Henson - you do love your offset :-)  Not such a fan myself. But will have a go. Thank you :-)
0
Rob HensonFinance AnalystCommented:
OFFSET is very useful for defining a dynamic range/cell when standard column/row references aren't available.

If the data was in the list format for each location, as suggested previously, you could use the INDIRECT function to reference the sheet name.

Alternatively, use a single list and have Location as one of the fields.
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

agwalshAuthor Commented:
Actually I've used the Indirect() to get the sheet names. It was the bit with the cross referencing the date I was grappling with :-)
0
agwalshAuthor Commented:
@Rob - *do* appreciate the help though :-)
0
Rob HensonFinance AnalystCommented:
For ease of User Input, with a single list, you could create a form that the user would use for inputting data.

There are two options,
1) a VBA driven User Form that when submitted populates user's data to the end of the list
2) the standard Data Form that can be used to read/input the data from a list
0
agwalshAuthor Commented:
Helped me navigate a tricky problem. Help much appreciated
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.