I have a worksheet that has two columns. Both columns have city and state name in them. What I need to do is compare column a to column b and come up with the number of city/states that are in column a but not in column b. Can you help?
I have a worksheet that has two columns. Both columns have city and state name in them. What I need to do is compare column a to column b and come up with the number of city/states that are in column a but not in column b. Can you help?
One way.
I n C1 put this and copy down. Thia will be a helper and hidden column.
=IF(A1<>"",COUNTIF(B:B,A1),"")
Then use this to get your result.
=COUNTIF(C:C,0)
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
That works but I am supposed to do it using a single formula. Any other suggestions?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks