Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default conditional formula with partial word match

Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default conditional formula with partial word match

=IF(ISERROR(SEARCH("Div Dir",I94)),125,0)

If this post helps click Yes
---------------
Jacob Skaria


"Audrey G." wrote:

Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default conditional formula with partial word match

=IF(ISERROR(FIND("Dir",I94)),125,0)

"Audrey G." wrote:

Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default conditional formula with partial word match

Use SEARCH or FIND, eg:

=IF(ISNUMBER(SEARCH("Dir",I94)),0,125)

FIND is case sensitive.

Hope this helps.

Pete

On Aug 13, 4:45*pm, Audrey G.
wrote:
Have a spreadsheet with following data:

Emp Name * *Title * * * * *Bonus
John A * * * * *Div Dir I
Jane B * * * * *Div Dir IV
Mark C * * * * Tech
Mary D * * * * Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. * Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). *However the result is coming out as $125. *I need to know how
to adjust the formula to use a partial text word match. *

Thank you,
Audrey G.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default conditional formula with partial word match

This works. Now, a little deeper...how can I add to this formula to look for
other titles that also should have 0 as the result, like the Div Dir title?
In other words, I think I need to add an "AND" statement to this in order to
encompass the other titles that should produce a 0 result. How would I
incorporate that, using another title like "Proj Mgr"?

Thanks!
--
Audrey G.


"Jacob Skaria" wrote:

=IF(ISERROR(SEARCH("Div Dir",I94)),125,0)

If this post helps click Yes
---------------
Jacob Skaria


"Audrey G." wrote:

Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default conditional formula with partial word match

I found that "Search" works better for my application. Thank you for taking
the time to respond!
--
Audrey G.


"Sean Timmons" wrote:

=IF(ISERROR(FIND("Dir",I94)),125,0)

"Audrey G." wrote:

Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default conditional formula with partial word match

Thank you for taking the time to respond. Please see my reply to Jacob for
some additional assitance I am needing.
--
Audrey G.


"Pete_UK" wrote:

Use SEARCH or FIND, eg:

=IF(ISNUMBER(SEARCH("Dir",I94)),0,125)

FIND is case sensitive.

Hope this helps.

Pete

On Aug 13, 4:45 pm, Audrey G.
wrote:
Have a spreadsheet with following data:

Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin

I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.

Thank you,
Audrey G.



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default conditional formula with partial word match

You can extend your search like this:

=IF(ISNUMBER(SEARCH("Dir",I94)),0,IF(ISNUMBER(SEAR CH("Proj Mgr",
0,125))

Hope this helps.

Pete

On Aug 13, 5:57*pm, Audrey G.
wrote:
Thank you for taking the time to respond. *Please see my reply to Jacob for
some additional assitance I am needing.
--
Audrey G.



"Pete_UK" wrote:
Use SEARCH or FIND, eg:


=IF(ISNUMBER(SEARCH("Dir",I94)),0,125)


FIND is case sensitive.


Hope this helps.


Pete


On Aug 13, 4:45 pm, Audrey G.
wrote:
Have a spreadsheet with following data:


Emp Name * *Title * * * * *Bonus
John A * * * * *Div Dir I
Jane B * * * * *Div Dir IV
Mark C * * * * Tech
Mary D * * * * Admin


I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. * Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). *However the result is coming out as $125. *I need to know how
to adjust the formula to use a partial text word match. *


Thank you,
Audrey G.- Hide quoted text -


- Show quoted text -


  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default conditional formula with partial word match

Thank you so much! You have saved me HOURS of work on a very LARGE set of
data!! Have a great day!
--
Audrey G.


"Pete_UK" wrote:

You can extend your search like this:

=IF(ISNUMBER(SEARCH("Dir",I94)),0,IF(ISNUMBER(SEAR CH("Proj Mgr",
0,125))

Hope this helps.

Pete

On Aug 13, 5:57 pm, Audrey G.
wrote:
Thank you for taking the time to respond. Please see my reply to Jacob for
some additional assitance I am needing.
--
Audrey G.



"Pete_UK" wrote:
Use SEARCH or FIND, eg:


=IF(ISNUMBER(SEARCH("Dir",I94)),0,125)


FIND is case sensitive.


Hope this helps.


Pete


On Aug 13, 4:45 pm, Audrey G.
wrote:
Have a spreadsheet with following data:


Emp Name Title Bonus
John A Div Dir I
Jane B Div Dir IV
Mark C Tech
Mary D Admin


I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). However the result is coming out as $125. I need to know how
to adjust the formula to use a partial text word match.


Thank you,
Audrey G.- Hide quoted text -


- Show quoted text -



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default conditional formula with partial word match

You're welcome, Audrey - thanks for feeding back.

Pete

On Aug 13, 10:59*pm, Audrey G.
wrote:
Thank you so much! *You have saved me HOURS of work on a very LARGE set of
data!! * *Have a great day!
--
Audrey G.



"Pete_UK" wrote:
You can extend your search like this:


=IF(ISNUMBER(SEARCH("Dir",I94)),0,IF(ISNUMBER(SEAR CH("Proj Mgr",
0,125))


Hope this helps.


Pete


On Aug 13, 5:57 pm, Audrey G.
wrote:
Thank you for taking the time to respond. *Please see my reply to Jacob for
some additional assitance I am needing.
--
Audrey G.


"Pete_UK" wrote:
Use SEARCH or FIND, eg:


=IF(ISNUMBER(SEARCH("Dir",I94)),0,125)


FIND is case sensitive.


Hope this helps.


Pete


On Aug 13, 4:45 pm, Audrey G.
wrote:
Have a spreadsheet with following data:


Emp Name * *Title * * * * *Bonus
John A * * * * *Div Dir I
Jane B * * * * *Div Dir IV
Mark C * * * * Tech
Mary D * * * * Admin


I want to create a conditional formula that under Bonus that looks at the
title, and for every position that contains "Dir" will be 0, while other
titles will be $125. * Currently, my formula looks like this =IF(I94="Div Dir
I*"),0,125). *However the result is coming out as $125. *I need to know how
to adjust the formula to use a partial text word match. *


Thank you,
Audrey G.- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -


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
If Formula When Contains Partial Word zeetoe04 Excel Worksheet Functions 5 July 18th 09 02:51 AM
Find partial match from column A,B and fill partial match in C? Tacrier Excel Discussion (Misc queries) 4 October 24th 08 11:24 PM
partial word match for conditional formatting Maureen Excel Worksheet Functions 9 October 24th 08 10:05 PM
DSUM Partial Match Bob H[_2_] Excel Worksheet Functions 3 July 27th 07 10:48 PM
partial lookup/match myra_deV Excel Worksheet Functions 0 May 9th 06 03:19 PM


All times are GMT +1. The time now is 08:14 AM.

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"