View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Percentage of the occurance of a word in a date range

I'm still having trouble

The formula looks OK, what result do you get?

--
Biff
Microsoft Excel MVP


"Art-SNL" wrote in message
...
Valko,

Thanks for the reply. I'm still having trouble (probably because I don't
have a good grasp of arrays). I tweaked it a little because I am
referencing
a different worksheet named "Life Cycle". My data starts at row 10 and I
need to caluclate all future entries, so I adjusted the range. However my
data currently only has 150 rows. Any additional tips? Jeez, I'm dumb!

=SUMPRODUCT(--(MONTH('Life Cycle'!A10:A900)=1),--('Life
Cycle'!M10:M900="Res"))/SUMPRODUCT(--(MONTH('Life
Cycle'!A10:A900)=1),--('Life Cycle'!M10:M900<""))

"T. Valko" wrote:

Assuming there are no empty cells in the date range (empty cells will
evaluate as month January).

=SUMPRODUCT(--(MONTH(A1:A20)=1),--(M1:M20="res"))/SUMPRODUCT(--(MONTH(A1:A20)=1),--(M1:M20<""))

Format as PERCENTAGE

--
Biff
Microsoft Excel MVP


"Art-SNL" wrote in message
...
I have a spreadsheet with dates in Column A, and either the word "Res"
or
"Comm" in Column M. How can I find out the percentage of "Res" for all
the
records in January?

PS - there is an abundance of extreme talent in this community! Thanks
for
all your postings!