Formula that using cell text to reference worksheet

Want_to_Be

New Member
Dearest Experts thanks for taking the time to review my question. I am a novice but trying to utilize the brains of excel to perform some recordkeeping.

I am a hog farmer with several barns, part of our recordkeeping is manure pit levels for reasons like, identifying excessive water usage, capacity remaining, etc. I would like to set up a document that each farm has a worksheet for data tracking. Simple info like 'Barn A' 'Date' 'Pit level'. This would be updated weekly by the farm manager, then I would like a single "Master" worksheet that compiles the information for a real time snapshot of all barns, when the last measurement was and what level.

Ideally, the formula would 'lookup' the worksheet reference in the row so that if a barn name changes, or we add barns, we can easily fill formula's down.

Sorry if this is not clear. It seems simple, for sure for you guys, its just hard to type it out and relay all the detail of the question.

Thank you all!

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Norie

Well-known Member
You could try these formulas in the Master sheet.

In B2 and copied down.
Excel Formula:
``=MAX(INDIRECT("'"&\$A2&"'!A:A"))``
In C2 and copied down.
Excel Formula:
``=INDEX(INDIRECT("'"&\$A2&"'!B:B"),MATCH(\$B2,INDIRECT("'"&\$A2&"'!A:A"),0))``
In D2 and copied down.
Excel Formula:
``=INDEX(INDIRECT("'"&\$A2&"'!C:C"),MATCH(\$B2,INDIRECT("'"&\$A2&"'!A:A"),0))``

Want_to_Be

New Member
Thank you Norie! Can you explain the formulas so I can learn a bit from it instead of just copy and pasting

Replies
8
Views
267
Replies
3
Views
29
Replies
6
Views
115
Replies
2
Views
81
Replies
9
Views
89