LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Search for Condition, Text based, Date Range, Occurrences


=SUMPRODUCT(--(B2:B10="Bob Greene"),--(C2:C10="Voice
Mail"),--(TEXT(A2:A10,"mmm")="Jan"))

or if you have your criteria in a cell.

E1= Rep Name
F1= Voice Mail
G1= Month (in "mmm" format...ex. Jan, Feb, Mar, etc.)

=SUMPRODUCT(--(B2:B10=$E$1),--(C2:C10=$F$1),--(TEXT(A2:A10,"mmm")=$G$1))


For "Talked to", if those are the only items that there could be, then you
could use,

=SUMPRODUCT(--(B2:B10="Bob Greene"),--(C2:C10<"Voice
Mail"),--(TEXT(A2:A10,"mmm")="Jan"))
or
=SUMPRODUCT(--(B2:B10=$E$1),--(C2:C10<$F$1),--(TEXT(A2:A10,"mmm")=$G$1))


HTH,
Paul


--

"NickNameGoesHere" wrote in message
...
Hello,


I am trying to count the number of occurrences
a text based instance occurs
within a date range
based upon the text found within the Activity.



So for example, I have a Sales Report Sheet with the following
activity per rep.


Date Rep Activity Title
Jan 1 Sally Sue Voice Mail
Jan 3 Bob Greene Voice Mail
Jan 3 Sally Sue Talked to George
Jan 10 Bob Greene Talked to Kim
Feb 1 Sally sue Voice Mail
Feb 10 Sally Sue Talked to Steve


I would like to run a formula that will tell me
all occurrences of "Bob Greene",
Left Voice mail, in January.

all occurrences of "Bob Greene",
Left Voice mail, in February

AND

all occurrences of "Bob Greene",
and "Bob Greene" with "talked to", in January.

all occurrences of "Bob Greene",
Left Voice mail, in February

I think I need to run a "conditional if", however have no idea how to
do text based searches.

Can anyone help.

Thanks!



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
display date based on condition eesh New Users to Excel 1 February 26th 07 07:53 AM
suggestions on creating a text value based on a date range Allen Clark Setting up and Configuration of Excel 0 June 28th 06 02:44 AM
adding occurrences for date range Mike Excel Discussion (Misc queries) 1 April 28th 05 09:14 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 11th 05 05:24 PM
adding occurrences for date range Mike Excel Discussion (Misc queries) 0 April 8th 05 11:33 PM


All times are GMT +1. The time now is 05:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"