formula for referencing Excell sheets from a Newb!

Dmachine

New Member
Joined
Aug 2, 2011
Messages
1
Greetings,

I have a Summary sheet with a formula that gives me the largest value between 3 other sheets in cell c4 for each sheet. I would like the summary sheet to give the name of the the sheet with the largest value in C4 not the value in cell c4.

The current formula I have is

=max(MacBook:DellXPS!C4)

Thanks.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi,

Here's one way to do it for 3 sheets (although not the most elegant):
You should change the bold elements to the name of your middle sheet.

=CHOOSE(MATCH(1,FREQUENCY(MAX(MacBook:DellXPS!C4),MacBook:DellXPS!C4),0),
MID(CELL("filename",MacBook!C4),FIND("]",CELL("filename",MacBook!C4))+1,256),
MID(CELL("filename",Sheet2!C4),FIND("]",CELL("filename",Sheet2!C4))+1,256),
MID(CELL("filename",DellXPS!C4),FIND("]",CELL("filename",DellXPS!C4))+1,256))

The sheet names can change but the sheets would have to stay in the same relative positions i.e. "MacBook" first, "Sheet2" (or what you've named it) second, and "DellXPS last.
 
Upvote 0
Greetings,

I have a Summary sheet with a formula that gives me the largest value between 3 other sheets in cell c4 for each sheet. I would like the summary sheet to give the name of the the sheet with the largest value in C4 not the value in cell c4.

The current formula I have is

=max(MacBook:DellXPS!C4)

Thanks.
One way...

List the sheet names in a range of cells:
  • A3 = MacBook
  • A4 = Compaq
  • A5 = DellXPS
Then, this array formula**:

=INDEX(A3:A5,MATCH(MAX(N(INDIRECT("'"&A3:A5&"'!A1"))),N(INDIRECT("'"&A3:A5&"'!C4")),0))

** array formulas need to be entered using the key
combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key
then hit ENTER.
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,909
Members
452,949
Latest member
beartooth91

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