Hi Don
I'm still lost.
What I see are 7 columns, not 4
There is a Date column - is this column A?
Then taking the first row of data only I see
A2 01/01/2007
B2 D1
C2 1
D2 R3
E2 R1
F2 N1
G2 1
Which column is supposed to be represented by Red, and Green and Blue and
White?
I am certain we can resolve your problem with Sumproduct (or even with a
Pivot Table) but as Yet I am not understanding what it is your are trying to
achieve.
If you would prefer, you could send me a copy of your file with explanation,
direct.
To send direct
roger at technology4u dot co dot uk
Do the obvious with at and dot.
--
Regards
Roger Govier
"donh" <(E-Mail Removed)> wrote in message
news:b1e367a3-e2b2-41b6-8824-(E-Mail Removed)...
> PS, I've got this to work for a single date criteria
>
> IF(P1="Red",SUMIF(B4:B34,">="&M1,D4
34),"etc")
>
> and just need to add <= but don't know how
>
>
> Regards
>
> Don