Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bob, thanks for your response !
The sheetname: "1" is now entered into D3 and I wanted to convert all existing formulas in col D which presently referred to this sheetname, via using INDIRECT() to reference D3 instead. So .. ='1'!L43 would become: =INDIRECT("'"&D$3&"'!L43") ='1'!L17+'1'!L27+'1'!L47 would become: =INDIRECT("'"&D$3&"'!L17")+INDIRECT("'"&D$3&"'!L27 ")+INDIRECT("'"&D$3&"'!L47 ") =SUM('1'!L23,'1'!L52) would become: =SUM(INDIRECT("'"&D$3&"'!L23"),INDIRECT("'"&D$3&"' !L52")) Hope the above clarifies a little better .. Once the entire lot of formulas in col D is changed to refer to D3 for the sheetname, it would then be possible to do a simple fill of the formulas in col D across another 30 cols (that's the ultimate objective). -- Rgds Max xl 97 --- Please respond in thread xdemechanik <atyahoo<dotcom ---- "Bob Phillips" wrote in message ... Max, Without some commonality you would struggle even with VBA. For instance, you said that =SUM('1'!G33:M33)-'1'!L33 should change to =SUM(INDIRECT("'"&D$3&"'"&"!G33:M33"))-INDIRECT("'"&D$3&"'!L33") What rule that applies to that would be applied to ='1'!L43 as it is not clear to me. Unless there is a clear rule/algorithm, or whatever, it will not be possible. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
formulas change when copied | Excel Discussion (Misc queries) | |||
formulas to change font | New Users to Excel | |||
Change Formulas W/VBA | Excel Discussion (Misc queries) | |||
need to change linked formulas | Excel Discussion (Misc queries) | |||
Why does Excel change my formulas? | Excel Discussion (Misc queries) |