Gopalakrishnan Cassie
Gopalakrishnan Cassie

Reputation: 29

Excel column autofill (autoincrement with formula)

enter image description here

500 employees will have 3 hours of work each day (for sample made weekday image sample). so i tried with auto increment for B2 cell "=sum(A2+3)". problem arise when i try to enter Absent data or the cell is cleared the data starts from 3 like in E4 or like in E5. need to Enter AA for absent data for that day.

Upvotes: 0

Views: 164

Answers (1)

Solar Mike
Solar Mike

Reputation: 8415

So base the calculation on col A only and multiply the 3 by the column number less 1:

=$A2+(3*(col()-1))

as the column position will multiply by 1, 2 or 3 etc similar to the progression you expected from your method.

Upvotes: 1

Related Questions