#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default Sumif/countif

have a range of of 8000 rows organized by zip codes
have formula to calculate distance from inputed specific zipcode--- named
"distance"
have 12 columns that use vlookup to see if specific stores are within that
zipcode, if yes places an "X" else blank. (could change to "1")

while it seems simple enough to countif [if value is X countif <=distance]
but am getting incorrect results...the formula
countif(ae9:ae8000,"<distance",ag9:ag8000) where distance is entered
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Sumif/countif

I prefer SUMPRODUCT, but I bet some COUNTIF would work.

SUMPRODUCT(--(ae9:ae8000<distance))

Where Distance is numeric.
--
HTH,
Barb Reinhardt



"reno" wrote:

have a range of of 8000 rows organized by zip codes
have formula to calculate distance from inputed specific zipcode--- named
"distance"
have 12 columns that use vlookup to see if specific stores are within that
zipcode, if yes places an "X" else blank. (could change to "1")

while it seems simple enough to countif [if value is X countif <=distance]
but am getting incorrect results...the formula
countif(ae9:ae8000,"<distance",ag9:ag8000) where distance is entered

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 93
Default Sumif/countif

Thank you , I'll give it a try

"Barb Reinhardt" wrote:

I prefer SUMPRODUCT, but I bet some COUNTIF would work.

SUMPRODUCT(--(ae9:ae8000<distance))

Where Distance is numeric.
--
HTH,
Barb Reinhardt



"reno" wrote:

have a range of of 8000 rows organized by zip codes
have formula to calculate distance from inputed specific zipcode--- named
"distance"
have 12 columns that use vlookup to see if specific stores are within that
zipcode, if yes places an "X" else blank. (could change to "1")

while it seems simple enough to countif [if value is X countif <=distance]
but am getting incorrect results...the formula
countif(ae9:ae8000,"<distance",ag9:ag8000) where distance is entered

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
CountIF or SumIF Scott@CW Excel Discussion (Misc queries) 3 December 15th 06 12:54 PM
Countif/Sumif Cain Excel Worksheet Functions 2 February 12th 06 07:59 PM
Countif/Sumif Cain Excel Worksheet Functions 0 February 12th 06 07:35 PM
COUNTIF or SUMIF or ?? croakingtoad Excel Worksheet Functions 2 November 28th 05 03:05 PM
Countif, Sumif tamato43 Excel Discussion (Misc queries) 2 March 22nd 05 08:55 PM


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

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

About Us

"It's about Microsoft Excel"