Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default changing cell formulas

I wish to change the formula in a group of cells based upon a conditional.
For example if cell A1 is set to X then the formula in cells B2,B3 may be
something. If I change cell A1 to Y then new formula's appear in cells B2,
B3. If this posisble with macros. I have thought of if statements. Is this
the only way
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default changing cell formulas

Hi,
you don't need a macro in cell B2 you can enter

=if($A$1="X",your first formula,if($A$1="Y",your second formula,""))

in the case thar cell a1 is different from X or Y it will leave it blank

if this helps please click yes, thanks

"JulianP" wrote:

I wish to change the formula in a group of cells based upon a conditional.
For example if cell A1 is set to X then the formula in cells B2,B3 may be
something. If I change cell A1 to Y then new formula's appear in cells B2,
B3. If this posisble with macros. I have thought of if statements. Is this
the only way

Reply
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
copying formulas and changing cell references mainsol Excel Discussion (Misc queries) 3 February 9th 09 09:42 AM
changing cell background colors with formulas postal vet Excel Worksheet Functions 5 October 30th 08 07:07 AM
Conditional Formulas for Changing Cell Color mw2222 Excel Worksheet Functions 2 October 6th 08 08:42 PM
Changing Multiple Cell Formulas zephyr Excel Discussion (Misc queries) 3 May 14th 07 06:35 PM
Changing Cell References in Formulas Pat Excel Worksheet Functions 2 December 15th 04 05:29 PM


All times are GMT +1. The time now is 02:54 PM.

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

About Us

"It's about Microsoft Excel"