Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi All,
I have a list of excel files what I produce a summary from the calculations if the same for each cell that I want to enter only the file name changes, I have writted the below function:- =CONCATENATE("=SUM('[",'File list'!A1,E2,"]Monthly Charts'!$S$4:$W$5)/ 5") Which gets me the text that I want =SUM('[Accounts Comms Sheet.xls]Monthly Charts'!$S$4:$W$5)/5 but is displays it as a text entry instead of been used as a function, how can I get it to do the sum? Cheers Mark |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You need either to use XL4 macros which can crash Excel when copied in some
versions or VBA. There is not anything built in that will take a text string that looks like a formula and then evaluate it. Here's a link to a great add-in called Morefunc by Laurent Longre that has a function called EVAL that will do this http://xcell05.free.fr/ -- Regards, Peo Sjoblom "Sh0t2bts" wrote in message oups.com... Hi All, I have a list of excel files what I produce a summary from the calculations if the same for each cell that I want to enter only the file name changes, I have writted the below function:- =CONCATENATE("=SUM('[",'File list'!A1,E2,"]Monthly Charts'!$S$4:$W$5)/ 5") Which gets me the text that I want =SUM('[Accounts Comms Sheet.xls]Monthly Charts'!$S$4:$W$5)/5 but is displays it as a text entry instead of been used as a function, how can I get it to do the sum? Cheers Mark |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks you for the fast reply :o)
|
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
CONCATENATE is indeed a text function. You need the INDIRECT function.
You'll find details of it in Excel help. -- David Biddulph "Sh0t2bts" wrote in message oups.com... Hi All, I have a list of excel files what I produce a summary from the calculations if the same for each cell that I want to enter only the file name changes, I have writted the below function:- =CONCATENATE("=SUM('[",'File list'!A1,E2,"]Monthly Charts'!$S$4:$W$5)/ 5") Which gets me the text that I want =SUM('[Accounts Comms Sheet.xls]Monthly Charts'!$S$4:$W$5)/5 but is displays it as a text entry instead of been used as a function, how can I get it to do the sum? Cheers Mark |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
CONCATENATE always generates a string; never a formula.
I cannot work out what you need. What is the purpose of 'File list'!A1,E2? It would seem you need to use the INDIRECT function not CONCAT Please spell out what task you need to perform without reference to CONCAT best wishes -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "Sh0t2bts" wrote in message oups.com... Hi All, I have a list of excel files what I produce a summary from the calculations if the same for each cell that I want to enter only the file name changes, I have writted the below function:- =CONCATENATE("=SUM('[",'File list'!A1,E2,"]Monthly Charts'!$S$4:$W$5)/ 5") Which gets me the text that I want =SUM('[Accounts Comms Sheet.xls]Monthly Charts'!$S$4:$W$5)/5 but is displays it as a text entry instead of been used as a function, how can I get it to do the sum? Cheers Mark |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This would be my guess using INDIRECT.
=SUM(INDIRECT("'[" & 'File list'!A1 & E2 & "]Monthly Charts'!$S$4:$W$5")) HTH, Paul -- "Sh0t2bts" wrote in message oups.com... Hi All, I have a list of excel files what I produce a summary from the calculations if the same for each cell that I want to enter only the file name changes, I have writted the below function:- =CONCATENATE("=SUM('[",'File list'!A1,E2,"]Monthly Charts'!$S$4:$W$5)/ 5") Which gets me the text that I want =SUM('[Accounts Comms Sheet.xls]Monthly Charts'!$S$4:$W$5)/5 but is displays it as a text entry instead of been used as a function, how can I get it to do the sum? Cheers Mark |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can I concatenate text in cells to make a working formula? | Excel Discussion (Misc queries) | |||
Evaluating results of a concatenate formula, as a formula | Excel Worksheet Functions | |||
Concatenate text to make calculation | Excel Discussion (Misc queries) | |||
Concatenate and make uniform | Excel Worksheet Functions | |||
Concatenate and make uniform | Excel Worksheet Functions |