![]() |
#1
|
|||
|
|||
![]()
I am trying to look for a set of characters in a cell. If the characters are found, enter "CB" in the cell and return a 0 (zero) if the characters are not found.
In a separate column, I entered the formula: =IF(FIND("CACIWC",G4,1)>0,"CB",0) With the above formula, if the characters are found it works... if they're not found in end up with #VALUE! What am I doing wrong? |
#2
|
|||
|
|||
![]()
Hi
Try the following: =IF(ISNUMBER(SEARCH("CACIWC",G4)),"CB",0) Kevin |
#3
|
|||
|
|||
![]()
Thank you, Kevin... That did the trick.
![]() Last edited by Pecoflyer; 11-06-2015 at 12:14 AM. Reason: Remove unnecessary quote |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
sbktex | Word VBA | 2 | 09-17-2014 04:09 PM |
![]() |
adj | Word VBA | 9 | 08-30-2014 09:21 PM |
![]() |
veedee | Excel | 5 | 06-16-2014 03:41 PM |
![]() |
VBNation | Word VBA | 2 | 02-08-2013 07:14 AM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |