#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default Countif?

i think i have seen the answer here before...
have ss 1500rx29c of zipcode data, i do a calculation and place an "X" r28
for each row that meets the criteria (say 25 mi. radius)
the problem...
there are are 1 column that list one store in the zip code, i want to count
all instances of in R3C3...n where the corresponding row in col28 = "X"

thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Countif?

Hi
If I understand the problem correctly, you have store names in column C
and your "X" in column AB
Try
=SUMPRODUCT(--($C$3:$C$1500="Store"),--($AB3:AB1500="X"))
Where Store is the store name you are looking for.
--
Regards

Roger Govier


"reno" wrote in message
...
i think i have seen the answer here before...
have ss 1500rx29c of zipcode data, i do a calculation and place an "X"
r28
for each row that meets the criteria (say 25 mi. radius)
the problem...
there are are 1 column that list one store in the zip code, i want to
count
all instances of in R3C3...n where the corresponding row in col28 =
"X"

thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default Countif?

i'll give it a try, but suspect i will have to use helper columns here to get
the results ii'm looking for.

for a fuller explanation...i have 1500 zipcodes in indiana, i have a listing
of 5 different stores (wal-marts etc) by zipcode, then i input an indiana zip
code and XL calculates the distances between the input and all the rest of
the 1499 zipcodes, it then and places an "X" in columns for 5,10,15,20,25
mile radius. there are 5 columns of store headings, W-mart, etc., so each
zip has 6 possibliities, from none, to 1 of each of the five stores.

i am looking for a total columns(s) that counts the number of say W-marts
within 25 miles of zipcode XXXXX, any zip w/in 25 mi radius would have an "X"
in the column, so my count or sum would be:
count/sum each of the 5 stores that has an "X" as being w/in 25 miles

"Roger Govier" wrote:

Hi
If I understand the problem correctly, you have store names in column C
and your "X" in column AB
Try
=SUMPRODUCT(--($C$3:$C$1500="Store"),--($AB3:AB1500="X"))
Where Store is the store name you are looking for.
--
Regards

Roger Govier


"reno" wrote in message
...
i think i have seen the answer here before...
have ss 1500rx29c of zipcode data, i do a calculation and place an "X"
r28
for each row that meets the criteria (say 25 mi. radius)
the problem...
there are are 1 column that list one store in the zip code, i want to
count
all instances of in R3C3...n where the corresponding row in col28 =
"X"

thanks




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumproduct vs. countif Coal Miner Excel Discussion (Misc queries) 1 June 15th 06 09:34 PM
Countif Formula /Sort Bug??? orcfodder Excel Discussion (Misc queries) 2 January 12th 06 10:04 AM
COUNTIF or not to COUNTIF on a range in another sheet Ellie Excel Worksheet Functions 4 September 15th 05 10:06 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


All times are GMT +1. The time now is 10:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"