Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Racingzeus
 
Posts: n/a
Default Help with formulae

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
  #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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Racingzeus
 
Posts: n/a
Default Help with formulae

Hi Bob,
I have tried the formula and it only works if the number I input into B1 is
=12345 so I have modified it to =IF(B1=0,"ABC","") so that any number I
enterin B1 will return ABC in cell A1.
This formula works just as I want it except that when I copy this formula
into cells A2 through to A20 then these cells reveal ABC even though I have
not input any number in the cells B2 through B20. I need cells A2 through A20
to remain blank unless there is a number in the corresponding B cells.

Cheers for all your help
Dave
"Bob Phillips" wrote:

=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




  #4   Report Post  
Posted to microsoft.public.excel.newusers
daddylonglegs
 
Posts: n/a
Default Help with formulae


Try

=IF(ISNUMBER(B1),"abc","")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=516536

  #5   Report Post  
Posted to microsoft.public.excel.newusers
paul
 
Posts: n/a
Default Help with formulae

if you have more than one set of matchings text/number sets may help
<A
HREF="http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.excel.misc&lang=e n&cr=US"this thread</A may help

http://www.microsoft.com/office/comm...ang=e n&cr=US
--
paul
remove nospam for email addy!



"Racingzeus" wrote:

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



  #6   Report Post  
Posted to microsoft.public.excel.newusers
paul
 
Posts: n/a
Default Help with formulae

href=http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.excel.misc&mid=05 5d688b-4330-4e02-8385-da7e540725ee
--
paul
remove nospam for email addy!



"paul" wrote:

if you have more than one set of matchings text/number sets may help
<A
HREF="http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.excel.misc&lang=e n&cr=US"this thread</A may help

http://www.microsoft.com/office/comm...ang=e n&cr=US
--
paul
remove nospam for email addy!



"Racingzeus" wrote:

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

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
Change to formulae Emma Hope Excel Worksheet Functions 3 September 5th 05 09:16 PM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM
Dynamic formulae - similar to lotus 123 for excel JohnD Excel Discussion (Misc queries) 1 July 5th 05 11:41 PM
XL2002 Clipboard doesn't paste formulae Jonathan Excel Discussion (Misc queries) 2 May 23rd 05 12:17 PM
vlookup change column index position - without changing formulae loopyloobyloo Excel Worksheet Functions 1 November 26th 04 01:35 PM


All times are GMT +1. The time now is 10:53 AM.

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"