Why is autofill not working in this instance

Daesthai

New Member
Joined
Jun 6, 2007
Messages
3
I have a formula I am using that is helping set cell values, which then get color coded via conditional formatting.

=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 week1 reference does not increment. What is preventing it from incrementing automatically during the drag-fill?

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

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
There is not a $ associated with the week number though. I DON'T want the other reference numbers to increment. Just the week number.
 
Upvote 0
It wont. Its a named range. Only way I can think of is to place all the named range names in 52 cells and then using the indirect function. Such as if Week1 was entered into A1 then INDIRECT(A1) would change to INDIRECT(B1) etc.
 
Upvote 0

Forum statistics

Threads
1,215,353
Messages
6,124,464
Members
449,163
Latest member
kshealy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top