Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can Cell X be modified by Cell Y?

For example:

If cell A1 equals 1, then cell B1 should have the value 5, otherwise B1
should be 6.

By setting a condition in A1, I am affecting B1. Is that possible?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 694
Default Can Cell X be modified by Cell Y?

Hi,
Do you mean programmatically using vba? If not,
In Cell B1 enter the formula:
=IF(A1=1,5,6)

Regards,
Sebastien

"alMandragor" wrote:

For example:

If cell A1 equals 1, then cell B1 should have the value 5, otherwise B1
should be 6.

By setting a condition in A1, I am affecting B1. Is that possible?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can Cell X be modified by Cell Y?

In b1 you would need to put a formula

=if(A1=1,5,6)

The formula will go in the cell that displays the results - the cell that
will be affected.

--
Regards,
Tom Ogilvy

"alMandragor" wrote in message
...
For example:

If cell A1 equals 1, then cell B1 should have the value 5, otherwise B1
should be 6.

By setting a condition in A1, I am affecting B1. Is that possible?



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
Last Modified date on cell or column Mary Excel Discussion (Misc queries) 6 May 16th 23 03:42 AM
Display a Date when a cell is Modified Sean Excel Worksheet Functions 2 July 15th 08 09:16 PM
Show date cell modified manxman Excel Worksheet Functions 3 March 22nd 06 11:48 PM
In adjacent cell, show last date modified of target cell. manxman Excel Discussion (Misc queries) 0 March 17th 06 10:47 PM
Sheet Modified date in a cell.. ? n666 Excel Worksheet Functions 0 February 16th 05 01:32 AM


All times are GMT +1. The time now is 01:45 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"