Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
spiffytj
 
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

  #2   Report Post  
Anne Troy
 
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



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
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 04:07 PM.

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"