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.
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Daesthai

New Member
Joined
Jun 6, 2007
Messages
3
There is not a $ associated with the week number though. I DON'T want the other reference numbers to increment. Just the week number.
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,110
Office Version
  1. 365
Platform
  1. Windows
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,109,001
Messages
5,526,203
Members
409,686
Latest member
Tori83

This Week's Hot Topics

Top