View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Smitty Smitty is offline
external usenet poster
 
Posts: 43
Default Allow no action to be taken

In your example, this command would be in cell A1. I don't wnat the value in
A1 to be changed if C1 contains anything other than X. If the value in C1 is
anything other than X, I want the contents in A1 to remain the same. I don't
want a o or FALSE to be placed into A1.

"ShaneDevenshire" wrote:

Hi,

Not quite sure what you want but..

=IF(C1="X",B1,"something else")

or you could use VBA but we would need more to code that.
--
Cheers,
Shane Devenshire


"Smitty" wrote:

I have a worksheet that I want to try and eliminate manual activity. To
simplify the question, assume I have three cells A1,B1 and C1. If the value
in C1 is X then I want to place the value of B1 in A1. If the value in C1 is
not X I want to leave the value in A1 alone.

I am trying to create a worksheet with YTD values and I want to place the
appropriate values in the appropriate month's columns. I don't want to
change the other values for other month's that have already been colleceted
and stored. It looks like I have a loop if I am trying to "pull" information
in A1. I can't figure out how to "push" information from another cell into
A1 without being in A1. Hope this makes sense.