I've attached a dummy sheet to setup what i need. Basically, I need an easier way to do the following:
Find any row with the weeknum in Test2 corresponding to the weeknum in Test1
Count all of the values marked as "complete" in that row
then Divide by the count of any cell containing something
For 1/3/2011 it should be .92 or 92%
I left the calc i'm current using in Test1!C3 to help you understand what i need but i want it to be more intuitive and copy and paste-able.
Last edited by ssword; 03-12-2011 at 10:52 AM.
Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
John Wright
Currently i have it count all of the completes in the week by manually referencing the cells. I want it to do exactly this but I want it so it finds this information by using the dates listed instead of manual entry.
Your referencing AZ10 like the last poster said, why? your data stops well short of that?
Windows 7 using Office 2007 & 2010
Remember your [ code ] [ /code ] tags, makes reading soooo much easier
I'm sure there must be a simpler formula but this works
=COUNTIF(INDIRECT("Test2!B"&MATCH($B3,Test2!$A$6:$A$30,0)+5&":P"&MATCH($B3+6,Test2!$A$6:$A$30,1)+5),C$2)/COUNTA(INDIRECT("Test2!B"&MATCH($B3,Test2!$A$6:$A$30,0)+5&":P"&MATCH($B3+6,Test2!$A$6:$A$30,1)+5))
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks