A Microsoft Excel forum. ExcelBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ExcelBanter forum » Excel Newsgroups » Excel Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Is there a formula for IF a cell CONTAINS certain text...



 
 
Thread Tools Display Modes
  #1  
Old July 15th 05, 05:38 AM
spiffytj
external usenet poster
 
Posts: n/a
Default Is there a formula for IF a cell CONTAINS certain text...


Hi,

I'm trying to make an invoice as automated as possible. I'd like to
have a formula that means: If A25 contains the word "Sands", then B25
is "Flute". If A25 contains the word "Harris", then B25 contains the
word "Piano".

My A column is check numbers with students' last names listed..for
example..Jones 1234 might be in A25. There are about 10 names that
could occur in the A column, most of which should be linked to Piano
lessons. Only 1 or 2 of those names would be linked to Flute lessons.
My B column is the type of music lesson they received (Piano or Flute).
(Later I could add Voice or Other to the lesson types.)

My goal is to be able to type last names and check numbers in column A
and have the lesson type automatically entered into column B.

Perhaps this is an easy question, but I've been looking for an answer
and haven't found one yet. I've worked in Excel enought to figure out
many things, but I'm stuck on this issue. I may not have used the
right vocabulary when searching for a function/formula that could do
this for me.

Thanks in advance!!!
-T.S.


--
spiffytj
------------------------------------------------------------------------
spiffytj's Profile: http://www.excelforum.com/member.php...o&userid=25251
View this thread: http://www.excelforum.com/showthread...hreadid=387427

Ads
  #2  
Old July 15th 05, 06:12 AM
Anne Troy
external usenet poster
 
Posts: n/a
Default

Hi, Spiffy. This is perfect for VLOOKUP. If you take this "tutorial" you'll
learn just how to do it in your own file.
http://www.officearticles.com/tutori...excel.htm#boss
*******************
~Anne Troy

www.OfficeArticles.com


"spiffytj" > wrote in
message ...
>
> Hi,
>
> I'm trying to make an invoice as automated as possible. I'd like to
> have a formula that means: If A25 contains the word "Sands", then B25
> is "Flute". If A25 contains the word "Harris", then B25 contains the
> word "Piano".
>
> My A column is check numbers with students' last names listed..for
> example..Jones 1234 might be in A25. There are about 10 names that
> could occur in the A column, most of which should be linked to Piano
> lessons. Only 1 or 2 of those names would be linked to Flute lessons.
> My B column is the type of music lesson they received (Piano or Flute).
> (Later I could add Voice or Other to the lesson types.)
>
> My goal is to be able to type last names and check numbers in column A
> and have the lesson type automatically entered into column B.
>
> Perhaps this is an easy question, but I've been looking for an answer
> and haven't found one yet. I've worked in Excel enought to figure out
> many things, but I'm stuck on this issue. I may not have used the
> right vocabulary when searching for a function/formula that could do
> this for me.
>
> Thanks in advance!!!
> -T.S.
>
>
> --
> spiffytj
> ------------------------------------------------------------------------
> spiffytj's Profile:

http://www.excelforum.com/member.php...o&userid=25251
> View this thread: http://www.excelforum.com/showthread...hreadid=387427
>



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using contents of a cell in a formula Mike Excel Discussion (Misc queries) 4 June 9th 05 03:10 AM
Formula that referance a Cell MESTRELLA29 Excel Discussion (Misc queries) 1 February 11th 05 12:18 AM
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 10:51 PM
Cell shows formula and not the result of the formula. stumpy Excel Worksheet Functions 2 January 14th 05 05:44 PM
looking for a formula Amanda Excel Worksheet Functions 5 January 5th 05 08:37 AM


All times are GMT +1. The time now is 02:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 2004-2014 ExcelBanter.
The comments are property of their posters.