Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a list of NY State zip codes I provide service in. I combined that
with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you put all your zip codes that you service in column A (starting at
row 2) and all the zip codes in NY in column B, then you can put the following in cell C2 and fill down: =IF(COUNTIF(A$2:A$100,B2)=0,"X","") This will put an X in column C next to all the zips you don't service. Then you can either sort based on column C or autofilter to only choose those in column C. --David -- David M. Marcovitz Microsoft PowerPoint MVP Director of Graduate Programs in Educational Technology Loyola College in Maryland Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ ?B?Sm9obm55?= wrote in : I have a list of NY State zip codes I provide service in. I combined that with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
One more quick note is that in my last response I only had it check from
rows 2 to 100 for your list of zip codes you service. If you have more than 99, just change the 100 to something larger. --David -- David M. Marcovitz Microsoft PowerPoint MVP Director of Graduate Programs in Educational Technology Loyola College in Maryland Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ ?B?Sm9obm55?= wrote in : I have a list of NY State zip codes I provide service in. I combined that with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here is an example. Say your codes are in column A from A1 thru A20. Say
the NY codes are in column B from B1 thru B100. In C1 enter: =COUNTIF($A$1:$A$20,B1) and copy down to match all the B's. A zero in C means its not in your list. A one in C means its in your list. Just sort B&C by C. All the zeros will be at the top. -- Gary''s Student - gsnu200753 "Johnny" wrote: I have a list of NY State zip codes I provide service in. I combined that with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Worked like a charm. Thanks so much. I was able to figure out substituting
2205 zips in NY for your 100 value. "David M. Marcovitz" wrote: One more quick note is that in my last response I only had it check from rows 2 to 100 for your list of zip codes you service. If you have more than 99, just change the 100 to something larger. --David -- David M. Marcovitz Microsoft PowerPoint MVP Director of Graduate Programs in Educational Technology Loyola College in Maryland Author of _Powerful PowerPoint for Educators_ http://www.PowerfulPowerPoint.com/ ?B?Sm9obm55?= wrote in : I have a list of NY State zip codes I provide service in. I combined that with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks Gary. Yours worked too.
"Gary''s Student" wrote: Here is an example. Say your codes are in column A from A1 thru A20. Say the NY codes are in column B from B1 thru B100. In C1 enter: =COUNTIF($A$1:$A$20,B1) and copy down to match all the B's. A zero in C means its not in your list. A one in C means its in your list. Just sort B&C by C. All the zeros will be at the top. -- Gary''s Student - gsnu200753 "Johnny" wrote: I have a list of NY State zip codes I provide service in. I combined that with a list of all zip codes in NY State. I need to show just the zips I don't provide service in. How do I do that quickly. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deleting Cells or Rows of Cells | Excel Discussion (Misc queries) | |||
deleting cells | New Users to Excel | |||
deleting unused cells / getting rid of inactive cells | Excel Discussion (Misc queries) | |||
Deleting cells within a row | Excel Discussion (Misc queries) | |||
Deleting #N/A from cells... | Excel Discussion (Misc queries) |