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
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
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))
 
Upvote 0
Thank you Norie! Can you explain the formulas so I can learn a bit from it instead of just copy and pasting:)
 
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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