ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   help with a wildcard search (https://www.excelbanter.com/excel-discussion-misc-queries/193268-help-wildcard-search.html)

Billy Craig

help with a wildcard search
 
i want to search a cell that has data values such as 2301, 2303, 1101 and
place in another cell a location. all values that end in 01 would be
Gainesville as an example. I just can not remember how to wildcard for the
01 search.
this is what I am have tried:
=IF(B3=??01,"Gainesville","not gainesville")


Pete_UK

help with a wildcard search
 
You can do it like this:

=IF(RIGHT(B3,2)="01","Gainesville","not gainesville")

Hope this helps.

Pete

On Jul 1, 4:03*pm, Billy Craig <Billy
wrote:
i want to search a cell that has data values such as 2301, 2303, 1101 and
place in another cell a location. *all values that end in 01 would be
Gainesville as an example. *I just can not remember how to wildcard for the
01 search. *
this is what I am have tried:
=IF(B3=??01,"Gainesville","not gainesville")




All times are GMT +1. The time now is 03:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com