Re: formulas
- From: "Roger Govier" <roger@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Jun 2006 23:40:43 +0100
Hi Terri
One way
=SUMPRODUCT(--($D$2:$D$100=11),--($N$2:$N$100<DATE(2004,5,25))
This assumes the data in column D is numeric. If it is text, then wrap
the 11 in quotes "11".
Change the operator to <= if you want to also include 5/25/04.
Repeat the procedure with operator changed to > to find answer for after
5/25/04.
Change size of ranges to suit, but keep them of equal length.
--
Regards
Roger Govier
"Terri" <Terri@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8141D4A2-90FD-4FF7-B898-0AD7F3C0467F@xxxxxxxxxxxxxxxx
I am attempting to get results from the following spread***:
Column D Column N
Product No. Date Sold
11 4/15/04
11 5/15/04
11 9/30/04
18 2/22/04
18 7/4/04
18 8/28/04
I have the total number of product no. 11 sold. From the above data I
need
to find out how many of Product No. 11 was sold prior to 5/25/04 and
how many
were sold after 5/25/04. I've tried COUNTIF, SUM(IF), COUNT(IF),
SUMPRODUCT
as array formulas and not. Any assistance would be appreciated.
.
- Prev by Date: Re: how can I fix a missing formula bar in Excel?
- Next by Date: Re: Vlookup on multiple cells
- Previous by thread: Re: formulas
- Next by thread: Re: Spell Numbers
- Index(es):