Ian,
Care to provide the data (if confidential, anonymize)? Activate an empty cell, type =, select the data range, and give it the combination the control+shift+enter. Go to the formula bar, select the formula, hit F9, copy the array that you see, and post it in the follow-up.
Aladin
=======
Confused??
The values for my e.g. are {=(B6:F26)} Equal ={6,6,7,0,7}
to clarify A6 would be the persons name, say "Ian"
B6:F6 is the hours Ian was in training Mon through Friday
The values {=(B27:F27)} Equal ={0.5,0.5,0.5,0.5,0.5}
This row is the amount of time scheduled for breaks for the whole group (ROWS 6 - 26).
I've put 0.5 for each day but they could all be different.
You'll notice that Ian was NOT in for Thursdays training (the lazy bugger) so I need the formula to exclude Thursdays break, thus telling me how much time was spent on a break for Ian for the whole week.
Any clearer
Thanks
Ian
Ian,
> Confused??
I admit I was.
> The values for my e.g. are {=(B6:F26)} Equal ={6,6,7,0,7}
> to clarify A6 would be the persons name, say "Ian"
> B6:F6 is the hours Ian was in training Mon through Friday
> The values {=(B27:F27)} Equal ={0.5,0.5,0.5,0.5,0.5}
> This row is the amount of time scheduled for breaks for the whole group (ROWS 6 - 26).
> I've put 0.5 for each day but they could all be different.
> You'll notice that Ian was NOT in for Thursdays training (the lazy bugger) so I need the formula to exclude Thursdays break, thus telling me how much time was spent on a break for Ian for the whole week.
> Any clearer
Yes. It's a "uniconditional" sum, it seems to me:
=SUMIF(B6:F6,">0",$B$27:$F$27)
Am I missing something?
Aladin
How stupid do I feel, it looks right, I'll check tomorrow, and to think I just answered the above SUMIF() question. or did I get that wrong (these long days!!)