Formula that using cell text to reference worksheet

Want_to_Be

New Member
Joined
Oct 6, 2020
Messages
2
Platform
  1. Windows
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 Question.jpg
 

Some videos you may like

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
Joined
Apr 28, 2004
Messages
75,911
Office Version
  1. 365
Platform
  1. Windows
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
Joined
Oct 6, 2020
Messages
2
Platform
  1. Windows
Thank you Norie! Can you explain the formulas so I can learn a bit from it instead of just copy and pasting:)
 

Watch MrExcel Video

Forum statistics

Threads
1,112,814
Messages
5,542,643
Members
410,565
Latest member
sebby_joe
Top