Hello Everyone, sorry if this was answered already but I could not locate it.
Assuming that a,b,c,d are people, 1-9 are dates, "1" is when I have them present, "h" when they are a home. I need to know how many times each one in a given period has been at home.
I need the formula to count how many times in a table(row) a value is changing from "1" to "h". If "h" is in the next cell it should be considered as one time.
0 1 2 3 4 5 6 7 8 Should look like
a h 1 1 1 h h h 1 2
b h 1 h 1 1 h h 1 3
c 1 1 1 1 h 1 1 1 1
d h 1 1 1 1 h h 1 2
Thanks in advance
Bookmarks