View Single Post
  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default using AND/BETWEEN in a countif formula

"creed" wrote:
thanks for that!
i guess i said the wrong thing in my first post...i did mean that
column b is the actual date, and column a uses a formula to turn it
into the weekday.


ah, glad that one got cleared up !

is there a way to include the entire column in the formula instead of
using a2:a50000?


well, we can't use entire col references (eg: A:A, B:B) with SUMPRODUCT but
you could go up to A2:A65536 which is the entire col bar the 1st row. But
unless you really have / expect to have data going right down there, it's
best to use the smallest possible range sufficient to cover the max expected
extent of data for optimal calc performance (speed of calcs). Even the
original A2:A50000 is already quite large, imo <g
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---