Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default COUNTIFS AND CRITERIA

I have a spreadsheet that is counting information based on a certain date..
however many loads to deliver for x date. the part i'm stuck on is telling
excel that i want to know how many loads for a specific date pick up in
within a zip code range and deliver to another zip code range. i'm working
with 1 week's worth of data at a time. i have the formula to count the loads
for each day ...=COUNTIFS(J5:J500,"<12/12/2009")... i have the formula down
for one day's worth of info, but when there are more than 1 days worth, the
formula doesn't hold water.
=IF(R150,(COUNTIF(F5:F1010,"59999")-COUNTIF(F5:F1010,"61900")),0) R
equals the number of loads for that day... so it's saying if there is a load
that day, run the formula to count the zips. problem comes the following day
because it doesn't differentiate between the dates too. so i need it to say,
of the number of loads in field "r", how many are from within this zip code
range?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default COUNTIFS AND CRITERIA

Wouldn't
=sumproduct(($R$5:$R$1010=$R$1012)*($R$5:$R$1010< =$R$1012)*(...
be the same as
=sumproduct(($R$5:$R$1010=$R$1012)*(... ?
--
David Biddulph

"Ashish Mathur" wrote in message
...
Hi,

Try this

=sumproduct(($R$5:$R$1010=$R$1012)*($R$5:$R$1010< =$R$1012)*(1*(F5:F1010)59999)*((1*(F5:F1010)<6190 0))

R1012 has the date for which you want to count.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Eagle amongst turkeys" <Eagle amongst
wrote in message
...
I have a spreadsheet that is counting information based on a certain
date..
however many loads to deliver for x date. the part i'm stuck on is
telling
excel that i want to know how many loads for a specific date pick up in
within a zip code range and deliver to another zip code range. i'm
working
with 1 week's worth of data at a time. i have the formula to count the
loads
for each day ...=COUNTIFS(J5:J500,"<12/12/2009")... i have the formula
down
for one day's worth of info, but when there are more than 1 days worth,
the
formula doesn't hold water.
=IF(R150,(COUNTIF(F5:F1010,"59999")-COUNTIF(F5:F1010,"61900")),0) R
equals the number of loads for that day... so it's saying if there is a
load
that day, run the formula to count the zips. problem comes the following
day
because it doesn't differentiate between the dates too. so i need it to
say,
of the number of loads in field "r", how many are from within this zip
code
range?




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
countifs Trev[_2_] Excel Worksheet Functions 23 October 12th 09 05:50 AM
CountIfs vreeckes Excel Worksheet Functions 4 February 19th 09 02:57 AM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
countifs month criteria brian.mccreery Excel Discussion (Misc queries) 4 October 12th 07 02:05 PM
COUNTIFs with multiple criteria Cene K Excel Discussion (Misc queries) 5 October 28th 05 10:43 PM


All times are GMT +1. The time now is 09:33 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"