From: TJ on
How can i combine two formulars together?

=COUNTIF(L9:L453,"Deal*")
=COUNTIF(A9:A452,"15/03/2010")

Im trying to find out how many DEALS on a certain date
From: Mike H on
Hi,

Like this

=SUMPRODUCT((A9:A453=DATE(2010,3,15))*(L9:L453="Deal"))

But in practice I'd keep the lookup date in a cell

=SUMPRODUCT((A9:A453=A1)*(L9:L453="Deal"))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"TJ" wrote:

> How can i combine two formulars together?
>
> =COUNTIF(L9:L453,"Deal*")
> =COUNTIF(A9:A452,"15/03/2010")
>
> Im trying to find out how many DEALS on a certain date
From: TJ on
Thanks for the reply Mike H.

Sorry i forgot to mention that the word DEAL has a number next to it such
as... DEAL1, DEAL2 and DEAL3, how would i specify how many DEAL on a certain
day using the formular below? ... so it just picks up the word DEAL.

Thank you



"Mike H" wrote:

> Hi,
>
> Like this
>
> =SUMPRODUCT((A9:A453=DATE(2010,3,15))*(L9:L453="Deal"))
>
> But in practice I'd keep the lookup date in a cell
>
> =SUMPRODUCT((A9:A453=A1)*(L9:L453="Deal"))
> --
> Mike
>
> When competing hypotheses are otherwise equal, adopt the hypothesis that
> introduces the fewest assumptions while still sufficiently answering the
> question.
>
>
> "TJ" wrote:
>
> > How can i combine two formulars together?
> >
> > =COUNTIF(L9:L453,"Deal*")
> > =COUNTIF(A9:A452,"15/03/2010")
> >
> > Im trying to find out how many DEALS on a certain date
From: Luke M on
SUMPRODUCT((A9:A453=A1)*(LEFT(L9:L453,4)="Deal"))

--
Best Regards,

Luke M
"TJ" <TJ(a)discussions.microsoft.com> wrote in message
news:CCD15D32-7A11-4E72-9008-48D99D01BD02(a)microsoft.com...
> Thanks for the reply Mike H.
>
> Sorry i forgot to mention that the word DEAL has a number next to it such
> as... DEAL1, DEAL2 and DEAL3, how would i specify how many DEAL on a
> certain
> day using the formular below? ... so it just picks up the word DEAL.
>
> Thank you
>
>
>
> "Mike H" wrote:
>
>> Hi,
>>
>> Like this
>>
>> =SUMPRODUCT((A9:A453=DATE(2010,3,15))*(L9:L453="Deal"))
>>
>> But in practice I'd keep the lookup date in a cell
>>
>> =SUMPRODUCT((A9:A453=A1)*(L9:L453="Deal"))
>> --
>> Mike
>>
>> When competing hypotheses are otherwise equal, adopt the hypothesis that
>> introduces the fewest assumptions while still sufficiently answering the
>> question.
>>
>>
>> "TJ" wrote:
>>
>> > How can i combine two formulars together?
>> >
>> > =COUNTIF(L9:L453,"Deal*")
>> > =COUNTIF(A9:A452,"15/03/2010")
>> >
>> > Im trying to find out how many DEALS on a certain date


From: TJ on
Thats done the job

Thanks Luke

"Luke M" wrote:

> SUMPRODUCT((A9:A453=A1)*(LEFT(L9:L453,4)="Deal"))
>
> --
> Best Regards,
>
> Luke M
> "TJ" <TJ(a)discussions.microsoft.com> wrote in message
> news:CCD15D32-7A11-4E72-9008-48D99D01BD02(a)microsoft.com...
> > Thanks for the reply Mike H.
> >
> > Sorry i forgot to mention that the word DEAL has a number next to it such
> > as... DEAL1, DEAL2 and DEAL3, how would i specify how many DEAL on a
> > certain
> > day using the formular below? ... so it just picks up the word DEAL.
> >
> > Thank you
> >
> >
> >
> > "Mike H" wrote:
> >
> >> Hi,
> >>
> >> Like this
> >>
> >> =SUMPRODUCT((A9:A453=DATE(2010,3,15))*(L9:L453="Deal"))
> >>
> >> But in practice I'd keep the lookup date in a cell
> >>
> >> =SUMPRODUCT((A9:A453=A1)*(L9:L453="Deal"))
> >> --
> >> Mike
> >>
> >> When competing hypotheses are otherwise equal, adopt the hypothesis that
> >> introduces the fewest assumptions while still sufficiently answering the
> >> question.
> >>
> >>
> >> "TJ" wrote:
> >>
> >> > How can i combine two formulars together?
> >> >
> >> > =COUNTIF(L9:L453,"Deal*")
> >> > =COUNTIF(A9:A452,"15/03/2010")
> >> >
> >> > Im trying to find out how many DEALS on a certain date
>
>
> .
>