LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default A formula/function to return a formula/function

I have done this before, but it has been several years and I cannot recall
exactly how I did it. I am now trying to do this in Excel 2002.

I have Sheets (exported to Excel from another application) for each month
(named Jan 2006, Feb 2006, Mar 2006, etc). On another sheet, I have Columns
for each month (Jan, Feb, Mar, etc) for a side by side comparison. I need a
formula that references the column heading to determine which sheet to get
the data from. I.e. - ='Aug 2006'!B4 is the formula for the Aug 2006 column
row 4, but in the next column (Jul 2006) it should be ='Jul 2006'!B4.

I have used CONCATENATE (&) to create a formula that will will evaluate and
return the cell contents as indicated above. The following is close, but the
end result displays the formula I want evaluated.

="='"&B1&"'!"B4 yields ='Aug 2006'!B4 displayed (rather than the contents of
cell B4 from the sheet named Aug 2006). I am hoping to avoid the need to
find/replace in each column after copying the formula to the right by simply
having the formula refer to the column heading which corresponds to the name
of the sheet from which to retrieve the data. I know the concatenation is
creating the correct formula. How do I get Excel to evaluate the resulting
formula?

Thanks for any help.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup to Return a Range of Data James Excel Discussion (Misc queries) 0 July 13th 06 09:44 PM
help with index to return particular cell value Allan from Melbourne Excel Discussion (Misc queries) 0 May 27th 06 03:20 AM
annualized return calculation for the purpose of portfolio performance evaluation sharkey Excel Worksheet Functions 2 April 8th 06 09:41 PM
check if reference exists, then return its value or return 0 doudou Excel Worksheet Functions 1 June 4th 05 09:17 PM
How do create a formula to evalute a # to return 1 of 4 conditions Larry Excel Worksheet Functions 4 May 29th 05 12:58 AM


All times are GMT +1. The time now is 01:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"