LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 193
Default how to set a formula name by using cell values

First time set formula name.
Can I set a name to a formula's by refering to certain cell's value in other
worksheet?
And, can I use a variable (this case is "C") in the formula and define it
later when calling this named fomula?

ActiveWorkbook.Names.Add Name = Range("legend!A2").Value, RefersToR1C1 =
"=N(INDIRECT(RC[-15]&""_""&R[" & (1 - C) & "]C[-16]))"

Thanks for advise!
 
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
Adjust cell values without a formula or temporary cell Ohpinion8ted Excel Discussion (Misc queries) 1 August 10th 07 03:00 PM
Formula to sum two cell values smiths4 Excel Discussion (Misc queries) 9 June 27th 06 02:01 PM
formula for named cell/range using cell values alex Excel Worksheet Functions 2 August 27th 05 06:44 PM
formula for named cell/range based on cell values alex Excel Programming 2 August 25th 05 02:50 PM
Cell Values Formula BubbaJ Excel Worksheet Functions 1 January 30th 05 11:40 PM


All times are GMT +1. The time now is 09:24 PM.

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"