Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I am wanting to concatenate a set of text to create a formula. I have done so below. =CONCATENATE("=MAX('",O1,"'!A3:A65536)") The result is: =MAX('2009'!A3:A65536) ....but it treats this as a text string when I try to use INDIRECT Cell O1 contains the year minus 1. In this case O1 = 2009. All of my worksheets are named as a year e.g. 2007....2008....2009...2010. I am entering this on sheet 2010. Now the real question: How do I make another cell evaluate this string as an actual formula and spit out the highest number for A3:A65536 from sheet 2009. Thanks and Happy New Year! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Brian,
Try rewriting it as =MAX( INDIRECT(O1 & "!A3:A65536")) or even more simply (as long as A1 & A2 on the sheets don't have numbers in them =MAX( INDIRECT(O1 & "!A:A")) "Brian" wrote: Hi, I am wanting to concatenate a set of text to create a formula. I have done so below. =CONCATENATE("=MAX('",O1,"'!A3:A65536)") The result is: =MAX('2009'!A3:A65536) ...but it treats this as a text string when I try to use INDIRECT Cell O1 contains the year minus 1. In this case O1 = 2009. All of my worksheets are named as a year e.g. 2007....2008....2009...2010. I am entering this on sheet 2010. Now the real question: How do I make another cell evaluate this string as an actual formula and spit out the highest number for A3:A65536 from sheet 2009. Thanks and Happy New Year! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks JLatham! Happy New Year!
"JLatham" wrote: Brian, Try rewriting it as =MAX( INDIRECT(O1 & "!A3:A65536")) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to concatenate text into a formula? | Excel Discussion (Misc queries) | |||
Formula needed to concatenate text with result from calculation | Excel Discussion (Misc queries) | |||
Formula not evaluated automaticly in Office 2003 | Excel Worksheet Functions | |||
how can i use concatenate to create a linking formula? | Excel Worksheet Functions | |||
CONCATENATE text formula | Excel Worksheet Functions |