Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Why is autofill not incrementing in this case? I have an embedded IF formula =IF

ID: 3565042 • Letter: W

Question

Why is autofill not incrementing in this case?

I have an embedded IF formula

=IF(AND('3 - Projects'!$C$6="Yes",Week1>=$E$29,Week1<=$F$29),"x",IF(AND('3 - Projects'!$C$6="No",Week1>=$E$29,Week1<=$F$29),"n",""))

I've used the $ symbol to anchor certain references. But when I drag/fill across rows, the week# reference does not increment. What is preventing it from incrementing automatically during the drag-fill? I DON'T want the other references to change, but I DO want the week number to inccrement.

As there are 52 columns (weeks in a year) and 25 rows for the respective prrojects, I'd really likke to not have to manually edit all those cells.

Explanation / Answer

Hi,

Try it this way

=IF(AND('3 - Projects'!$C$6="Yes",INDIRECT("Week" & COLUMN(A1))>=$E$29,INDIRECT("Week" & COLUMN(A1))<=$F$29),"x",IF(AND('3 - Projects'!$C$6="No",INDIRECT("Week" & COLUMN(A1))>=$E$29,INDIRECT("Week" & COLUMN(A1))<=$F$29),"n",""))

The bold bit evaluates as Week1 and w?hen you drag 1 ceell to the right it becomes Weekkk2

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote