Conditional search for text substrings

Closed
typeajpd Posts 1 Registration date Tuesday 16 March 2010 Status Member Last seen 16 March 2010 - 16 Mar 2010 à 14:35
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 16 Mar 2010 à 15:25
Hello,

This is one of several nested conditional statements that if I can get to work as required I can modify the remaining statements:

=IF((VLOOKUP(A2,'Second Worksheet'!A$2:M$100,7,FALSE) = "*TRACTOR*"),(C2+10000),"")

My troubleshooting has reduced the apparent problem to trying to make this conditional statement example work as required:

=IF((G10="*TRACTOR*"),(C2+10000),"")

It is not treating the asteriks as wildcards. The field G10 might have any of the followng values: Tractor, Truck Tractor, HET Tractor, Tractor Truck, as well as Crane, Van, Minivan, Forklift, etc. I want to test for any occurence withind the cell or as in the first actual case the value returned from a cell via a VLOOKUP search of a specific text substring.

I am creating the workbook use with Excel 2003.

TIA
Related:

1 response

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
16 Mar 2010 à 15:25
Use search, instead of If