![]() |
How to detect characters in cell?
Does anyone have any suggestions on how to detect whether the cell contains
the character "ND" within string or not? If the cell under B column contains any character "ND" within string, then return "" in C column. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
How to detect characters in cell?
=if(countif(b1,"*ND*")=0,"not there","")
or =if(isnumber(search("nd",b1)),"","not there") or =if(isnumber(Find("ND",b1)),"","not there") =find() is case sensitive. =search() is not case sensitive. The =countif() is not case sensitive, too. Eric wrote: Does anyone have any suggestions on how to detect whether the cell contains the character "ND" within string or not? If the cell under B column contains any character "ND" within string, then return "" in C column. Does anyone have any suggestions? Thanks in advance for any suggestions Eric -- Dave Peterson |
All times are GMT +1. The time now is 06:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com