Hello, (first post!)
In Column A, I have zip codes of visitors to our local museum. In Column B, I have a list of every zip code in the country.
How do I find matches?
Hello, (first post!)
In Column A, I have zip codes of visitors to our local museum. In Column B, I have a list of every zip code in the country.
How do I find matches?
To what end?
Do you want the location for the ZIPS in the A column?
Do you just want to see if particular ZIPs in the B column have had a visitor?
If the former (assuming city is in the C column)
If the latter,![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
In column C
=Isnumber(Match(B1,A:A,0))
This will look for zipcode from B1 in column A and return TRUE if it exists (meaning zipcode has visitied).
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
It was the latter & the formula worked. Thank you! I guess if I put some context around what I'm doing, it might make more sense.
I'm assisting on an economic impact study to see how many people & where they come from, visit our local children's museum. I have list of about 16K zip codes in Column A, some zips are listed multiple times because we had multiple visitors from that city.
In Column B, I have the zip code for every city in the country.
What I'm trying to figure out, is how many people are coming from each zip code in Column A.
In that case I would use a COUNTIF() formula.
=COUNTIF(rangeofvisitorzipcodes, onezipcodeinlist)
So in C2:
=COUNTIF(A:A, B2)
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
How about this one then - it will give you a count by zip code
![]()
Please Login or Register to view this content.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks