J
jarahsang
Hello,
I have a rows of data in which I want to get, for each row, th
position (not the value) of the first and last non-blank cell in th
row.
Basically i'm looking at hours worked by employees (employees are i
rows) and columns have the week (week 1 , week 2 , week 3). I want t
get the start and end duration of each employee.
so if employee A works 0 hours in week 1 , 3 hours for week 2, 0 hour
for weeks 3-5, 4 hours for week 6 and zero hours for weeks 7-10: I wan
to get the value of 2 for start duration (first non-zero value occur
in week 2), and I want to get value of 6 for end duration (week 6 i
the last non-zero value).
Is there a way to do this using formulas ...or VBA? I have exce
97...
Thanks for any help/tip... hope the example was clear..
I have a rows of data in which I want to get, for each row, th
position (not the value) of the first and last non-blank cell in th
row.
Basically i'm looking at hours worked by employees (employees are i
rows) and columns have the week (week 1 , week 2 , week 3). I want t
get the start and end duration of each employee.
so if employee A works 0 hours in week 1 , 3 hours for week 2, 0 hour
for weeks 3-5, 4 hours for week 6 and zero hours for weeks 7-10: I wan
to get the value of 2 for start duration (first non-zero value occur
in week 2), and I want to get value of 6 for end duration (week 6 i
the last non-zero value).
Is there a way to do this using formulas ...or VBA? I have exce
97...
Thanks for any help/tip... hope the example was clear..