ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Find certain text in a column and return statement (https://www.excelbanter.com/excel-worksheet-functions/41718-find-certain-text-column-return-statement.html)

TelecomAuditor

Find certain text in a column and return statement
 

I need help writing a formula that says if column AH (for example),
contains the text "schedule AK", then display a statement such as "not
found in contract".

The cells will have about 29 characters and this text appears at the
very end.

I'm sure this is pretty simple for someone out there, but I've banged
my head against the wall researching this. Seems that VLOOKUP and such
only applies to the first column.


--
TelecomAuditor


------------------------------------------------------------------------
TelecomAuditor's Profile: http://www.excelforum.com/member.php...o&userid=26525
View this thread: http://www.excelforum.com/showthread...hreadid=397943


Morrigan


=IF(FIND("schedule AK",AH1),"not found in contract","")


TelecomAuditor Wrote:
I need help writing a formula that says if column AH (for example),
contains the text "schedule AK", then display a statement such as "not
found in contract".

The cells will have about 29 characters and this text appears at the
very end.

I'm sure this is pretty simple for someone out there, but I've banged
my head against the wall researching this. Seems that VLOOKUP and such
only applies to the first column.



--
Morrigan
------------------------------------------------------------------------
Morrigan's Profile: http://www.excelforum.com/member.php...fo&userid=7094
View this thread: http://www.excelforum.com/showthread...hreadid=397943


Cutter


Try this:
=IF(COUNTIF(AH:AH,"*schedule AK")0,"not found in contract","")


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=397943


TelecomAuditor


Thank you, Cutter! It worked beautifully.


--
TelecomAuditor


------------------------------------------------------------------------
TelecomAuditor's Profile: http://www.excelforum.com/member.php...o&userid=26525
View this thread: http://www.excelforum.com/showthread...hreadid=397943


Cutter


You're very welcome. Thanks for letting me know.


--
Cutter
------------------------------------------------------------------------
Cutter's Profile: http://www.excelforum.com/member.php...fo&userid=9848
View this thread: http://www.excelforum.com/showthread...hreadid=397943



All times are GMT +1. The time now is 01:47 AM.

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