Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default change value in a cell if other cell is changed

I have columns A and B that look like this:

5 80
5 79
5 81
etc...
Now, what I want is to delete the value in column B if th
corresponding value in column A is not 5. This doesn't seem to b
difficult, but the problem is that I want the value in column B t
return to default value if it's corresponding value in column A i
changed back to 5. Is this possible

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default change value in a cell if other cell is changed

Hi

A cel can either contain a value OR a frmula, not both. So the cell can't
contain a number, you need a formula like this
=IF(A1=5,79,"")
... or you could use a third column with formulas in it and keep all values
in B.

--
HTH. Best wishes Harald
Followup to newsgroup only please

"dreamer " skrev i melding
...
I have columns A and B that look like this:

5 80
5 79
5 81
etc...
Now, what I want is to delete the value in column B if the
corresponding value in column A is not 5. This doesn't seem to be
difficult, but the problem is that I want the value in column B to
return to default value if it's corresponding value in column A is
changed back to 5. Is this possible?


---
Message posted from http://www.ExcelForum.com/



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
Need to clear cell values, when a different cell is changed. Nicholas Excel Discussion (Misc queries) 1 March 3rd 10 11:10 PM
Format changed when the details in cell changed angel Excel Worksheet Functions 9 July 15th 08 12:36 AM
Change Colour on a Cell after another cell has been changed David Hardy Excel Discussion (Misc queries) 1 August 30th 06 04:15 PM
in vba what command is used to determine if a particular cell on a particular sheet changed? some kind of event? how to get the old and new value of the cell? Daniel Excel Worksheet Functions 1 June 23rd 05 07:53 PM
Cell comment boxes shouldn't change size/shape unless changed by u sam Excel Discussion (Misc queries) 1 March 3rd 05 05:23 PM


All times are GMT +1. The time now is 08:14 AM.

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"