#1   Report Post  
STEVEB
 
Posts: n/a
Default If Function


Hi,

Does anyone have any sugesstions for the following:

I have a formula that looks at a cell in Column C and if Column C
contains the text "transf: it wil put a "T" on column D, if not it will
put an "O" in Column D.

My formula is as follows:

=IF(ISERR(SEARCH("transf",C2)),"O","T")

I would like to expand the formula to include:

1) If C2 contains "transf" or "post" or "last" then put a "T" in column
D
2) If C2 Contains "fee" or "charge" then put an "f" in column D
3) If C2 does not contain anything above then put an "O" in column D


Any help would be greatly appreciated!


--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile: http://www.excelforum.com/member.php...fo&userid=1872
View this thread: http://www.excelforum.com/showthread...hreadid=483301

  #2   Report Post  
Elkar
 
Posts: n/a
Default If Function

Try this:

=IF(OR(C2="transf",C2="post",C2="last"),"T",IF(OR( C2="fee",C2="charge"),"F","O"))

"STEVEB" wrote:


Hi,

Does anyone have any sugesstions for the following:

I have a formula that looks at a cell in Column C and if Column C
contains the text "transf: it wil put a "T" on column D, if not it will
put an "O" in Column D.

My formula is as follows:

=IF(ISERR(SEARCH("transf",C2)),"O","T")

I would like to expand the formula to include:

1) If C2 contains "transf" or "post" or "last" then put a "T" in column
D
2) If C2 Contains "fee" or "charge" then put an "f" in column D
3) If C2 does not contain anything above then put an "O" in column D


Any help would be greatly appreciated!


--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile: http://www.excelforum.com/member.php...fo&userid=1872
View this thread: http://www.excelforum.com/showthread...hreadid=483301


  #3   Report Post  
Biff
 
Posts: n/a
Default If Function

Hi!

I see that you're using a SEARCH function in your formula. Does that mean
the cell contains more text than the specific substrings that you're looking
for?

If so:

=IF(OR(ISNUMBER(SEARCH({"transf","post","last"},C2 ))),"T",IF(OR(ISNUMBER(SEARCH({"fee","charge"},C2) )),"F","O"))

Biff

"STEVEB" wrote in
message ...

Hi,

Does anyone have any sugesstions for the following:

I have a formula that looks at a cell in Column C and if Column C
contains the text "transf: it wil put a "T" on column D, if not it will
put an "O" in Column D.

My formula is as follows:

=IF(ISERR(SEARCH("transf",C2)),"O","T")

I would like to expand the formula to include:

1) If C2 contains "transf" or "post" or "last" then put a "T" in column
D
2) If C2 Contains "fee" or "charge" then put an "f" in column D
3) If C2 does not contain anything above then put an "O" in column D


Any help would be greatly appreciated!


--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile:
http://www.excelforum.com/member.php...fo&userid=1872
View this thread: http://www.excelforum.com/showthread...hreadid=483301



  #4   Report Post  
Paul Sheppard
 
Posts: n/a
Default If Function


STEVEB Wrote:
Hi,

Does anyone have any sugesstions for the following:

I have a formula that looks at a cell in Column C and if Column C
contains the text "transf: it wil put a "T" on column D, if not it will
put an "O" in Column D.

My formula is as follows:

=IF(ISERR(SEARCH("transf",C2)),"O","T")

I would like to expand the formula to include:

1) If C2 contains "transf" or "post" or "last" then put a "T" in column
D
2) If C2 Contains "fee" or "charge" then put an "f" in column D
3) If C2 does not contain anything above then put an "O" in column D


Any help would be greatly appreciated!


Hi steveb

Try this

=IF(OR(C8="transf",C8="post",C8="last"),"T",IF(OR( C8="charge",C8="fee"),"F","O"))


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=483301

  #5   Report Post  
Biff
 
Posts: n/a
Default If Function

=IF(OR(C2="transf",C2="post",C2="last"),"T",IF(OR( C2="fee",C2="charge"),"F","O"))

=IF(OR(C2={"transf","post","last"}),"T",IF(OR(C2={ "fee","charge"}),"F","O"))

Biff

"Elkar" wrote in message
...
Try this:

=IF(OR(C2="transf",C2="post",C2="last"),"T",IF(OR( C2="fee",C2="charge"),"F","O"))

"STEVEB" wrote:


Hi,

Does anyone have any sugesstions for the following:

I have a formula that looks at a cell in Column C and if Column C
contains the text "transf: it wil put a "T" on column D, if not it will
put an "O" in Column D.

My formula is as follows:

=IF(ISERR(SEARCH("transf",C2)),"O","T")

I would like to expand the formula to include:

1) If C2 contains "transf" or "post" or "last" then put a "T" in column
D
2) If C2 Contains "fee" or "charge" then put an "f" in column D
3) If C2 does not contain anything above then put an "O" in column D


Any help would be greatly appreciated!


--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile:
http://www.excelforum.com/member.php...fo&userid=1872
View this thread:
http://www.excelforum.com/showthread...hreadid=483301






  #6   Report Post  
STEVEB
 
Posts: n/a
Default If Function


Thank you to everyone for all your help!!!

The forulma worked great!! I appreciate all your help!


--
STEVEB
------------------------------------------------------------------------
STEVEB's Profile: http://www.excelforum.com/member.php...fo&userid=1872
View this thread: http://www.excelforum.com/showthread...hreadid=483301

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
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM
Find a Function to use accross different worksheets R. Hale Excel Worksheet Functions 3 November 25th 04 07:07 AM


All times are GMT +1. The time now is 04:24 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"