View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Bob Phillips
 
Posts: n/a
Default Help with formulae

=IF(B1=12345,"ABC","")

put that formula in A1 and copy to A2

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Racingzeus" wrote in message
...
BHi All,
I am new to excel, so any help would be great :)
I want to automatically insert a set text string for instance, ABC into

A1
only if there is a number inserted into cell B1 for instance 12345.
So if I insert 12345 into cell B1, A1 would then show ABC, if I insert

6789
into B2, A2 would then again return ABC.
However if there is no value in B1 or B2 then I need A1 and A2 to be blank
and not return N/A# etc