Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
aledger
 
Posts: n/a
Default need IF function to return 0 if it finds a one out of three words

=IF(T8="PTO NB",0,IF(T8="Leave of Absence
NB",0,IF(T8="Available",0,IF(T8="Int. Proj. Available
100%",0,IF(T8="TAG",0,1)))))

This formula is not returning 0 for finding the word TAG in cell T8. Do I
need to enter a wildcard to get it to find a part of phrase called "TAG". If
it doesn't find PTO NB, Leave of Absence NB, Available, Int. Proj. Available
100%, or TAG in cell T8, I want it to return a 1 instead of a 0.

please help.
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=IF(T8="PTO NB",0,IF(T8="Leave of Absence
NB",0,IF(T8="Available",0,IF(T8="Int. Proj. Available
100%",0,IF(ISNUMBER(FIND("TAG",T8)),0,1)))))


--

HTH

RP
(remove nothere from the email address if mailing direct)


"aledger" wrote in message
...
=IF(T8="PTO NB",0,IF(T8="Leave of Absence
NB",0,IF(T8="Available",0,IF(T8="Int. Proj. Available
100%",0,IF(T8="TAG",0,1)))))

This formula is not returning 0 for finding the word TAG in cell T8. Do I
need to enter a wildcard to get it to find a part of phrase called "TAG".

If
it doesn't find PTO NB, Leave of Absence NB, Available, Int. Proj.

Available
100%, or TAG in cell T8, I want it to return a 1 instead of a 0.

please help.



  #3   Report Post  
Michael
 
Posts: n/a
Default

Hi
Here is another option as well.

=IF(OR(T8="PTO NB",T8="Leave of Absence",T8="Available",T8="Int Proj
Available 100%"),0,IF(T8="TAG",1,""))

HTH
Michael

"aledger" wrote:

=IF(T8="PTO NB",0,IF(T8="Leave of Absence
NB",0,IF(T8="Available",0,IF(T8="Int. Proj. Available
100%",0,IF(T8="TAG",0,1)))))

This formula is not returning 0 for finding the word TAG in cell T8. Do I
need to enter a wildcard to get it to find a part of phrase called "TAG". If
it doesn't find PTO NB, Leave of Absence NB, Available, Int. Proj. Available
100%, or TAG in cell T8, I want it to return a 1 instead of a 0.

please help.

  #4   Report Post  
Michael
 
Posts: n/a
Default

Oops......
Sorry, I cut and pasted the wrong formula. Try this one

=IF(OR(T8="PTO NB",T8="Leave of Absence",T8="Available",T8="Int Proj
Available 100%,T8="TAG"),0,1,)

HTH
Michael

"aledger" wrote:

=IF(T8="PTO NB",0,IF(T8="Leave of Absence
NB",0,IF(T8="Available",0,IF(T8="Int. Proj. Available
100%",0,IF(T8="TAG",0,1)))))

This formula is not returning 0 for finding the word TAG in cell T8. Do I
need to enter a wildcard to get it to find a part of phrase called "TAG". If
it doesn't find PTO NB, Leave of Absence NB, Available, Int. Proj. Available
100%, or TAG in cell T8, I want it to return a 1 instead of a 0.

please help.

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
Return value with using Excel function SNOWBALLCHAN New Users to Excel 1 February 21st 05 07:25 AM
Function to look at two cells and return a third jlmam Excel Worksheet Functions 2 January 26th 05 04:41 PM
Error Return Value from and INDEX(A:2,MATCH()) function BJ Excel Worksheet Functions 4 January 26th 05 02:59 PM
Function to return the latest non-zero value in a range of cells . hungryman Excel Worksheet Functions 2 January 24th 05 02:54 PM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


All times are GMT +1. The time now is 10:25 PM.

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"