Simple formula, and how to use text from a cell within the formula

Grizlore

Active Member
Joined
Aug 22, 2006
Messages
259
I have this simple formula, which I want to drag down the page, to pick up the "MAX of M11:M15" across several worksheets

=MAX(Room1 Dashboard'!M11:M15)

The "Room1" part obviously refers to a worksheet and also this "Room1" text is in cell A10 on the sheet where the formula is.

How do I include the "Room1" text from the cell A10, then when I drag it down the page, it'll pick up other room numbers from cells A11, A12 etc etc


I hope I have explained myself

Any help will be appreciated
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Thanks for the reply... it didnt like that.... #REF!
Seems it doesnt like the spaces as this works...
Code:
=MAX(INDIRECT(A10&"Dashboard'!M11:M15"))
 
Upvote 0
Ah, yes, sorry, it should have been:

Code:
=MAX(INDIRECT("'"&A10&" Dashboard'!M11:M15"))
Interesting that it works without the spaces too.

Chris
 
Upvote 0

Forum statistics

Threads
1,216,225
Messages
6,129,604
Members
449,520
Latest member
TBFrieds

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