![]() |
#2
|
||||
|
||||
![]()
Hi struct,
It's not clear from your post what should appear in column A. The first example has a 7 in column C, and there's a 7 in the string in column A. The second example has a 1 in column C, and there's no 1 in the string in column A. Assuming you need to know when: There is a 7 in col A but not col A; There is a 7 in col C but not col A;, and Neither col A nor col C has a 7, try the following formula in, say F1, copied down as far as needed: =IF(AND(C1=7,ISERROR(FIND(7,A1))),"Check Col A",IF(AND(C1<>7,NOT(ISERROR(FIND(7,A1)))),"Chec k Col C",IF(AND(C1<>7,ISERROR(FIND(7,A1))),"Check Cols A & C",""))) If you then sort the data by Col F, you'll have all the questionable records sorted together at either the top or bottom of the list, depending on your sort order.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
EclipticalD | Excel | 1 | 07-08-2010 09:50 PM |
![]() |
NepalKat#1 | Word | 1 | 01-09-2010 11:18 AM |
Opening .pst with dummy values | ran_sushmi | Outlook | 0 | 08-19-2009 01:56 AM |
macro for comparing data from 3 columns and pasting into another worksheet | ashukla | Excel | 1 | 06-24-2009 05:01 PM |
![]() |
leroytrolley | Excel | 1 | 08-09-2008 08:34 PM |