Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / August 2006

Tip: Looking for answers? Try searching our database.

IF with date criteria

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DTTODGG - 30 Aug 2006 21:12 GMT
Hello,
This is my problem:

Column C has text values (Phone, Meeting)
Column F has dates (01/01/2006 - 08/31/2006)
but, Column F also has misc text ("*", ".", "?" or can be blank)
Column H has text values ("AA", "AA-1", "AA-2", ""BB")

I'm trying to find out how many "Phone" calls between 06/01/2006 and
07/31/2006

I'm trying to find out how many "Phone" calls where in the "AA" family
(includes "AA-1" and "AA-2")

When I was just looking for "Phone" and a number > 39000 this worked:
{=SUM((C2:C200="Phone")*(F2:F200>39000))}
The problem was I couldn't specify a date range, and it counted the other
characters.

Thank-you,
P.S. I learned a lot from the Pearson website
Bob Phillips - 30 Aug 2006 21:21 GMT
=SUMPRODUCT(--(F2:F200>=--"2006-06-01"),--(F2:F200<=--"2006-07-32"))

=SUMPRODUCT--(LEFT(H2:H200,2)="AA"))

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Hello,
> This is my problem:
[quoted text clipped - 17 lines]
> Thank-you,
> P.S. I learned a lot from the Pearson website
DTTODGG - 31 Aug 2006 13:04 GMT
Thank you for your quick reply.
I get an error using the second formula. Am I missing something?

> =SUMPRODUCT(--(F2:F200>=--"2006-06-01"),--(F2:F200<=--"2006-07-32"))
>
[quoted text clipped - 21 lines]
> > Thank-you,
> > P.S. I learned a lot from the Pearson website
Bob Phillips - 31 Aug 2006 13:16 GMT
Yes a bracket, because I didn't give it to you <g>

=SUMPRODUCT(--(LEFT(H2:H200,2)="AA"))

Signature

HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

> Thank you for your quick reply.
> I get an error using the second formula. Am I missing something?
[quoted text clipped - 24 lines]
> > > Thank-you,
> > > P.S. I learned a lot from the Pearson website
Bob Umlas - 30 Aug 2006 21:26 GMT
=SUMPRODUCT(--(C2:C200="Phone"),--(F2:F200>=DATEVALUE("01/01/2006")),--(F2:F
200<=DATEVALUE("08/31/2006")))

> Hello,
> This is my problem:
[quoted text clipped - 17 lines]
> Thank-you,
> P.S. I learned a lot from the Pearson website
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.