May 06 2021 10:00 AM
I am currently working with the below formula and it has worked well so far. However, I am now needing to change the list the data is pulled from to a new tab/sheet and the calendar the formula creates will remain on the existing tab. Moving the list to the new tab worked fine with the first cell but trying to pull the formula into adjacent cells it no longer recognizes the cell from the other tab (List!X#). I've tried to add the $ in front of the tab name to lock the name into the formula but that doesn't work. Is there another way to keep the tab name in a formula?
Previous formula when all data was on one tab
=IF(AND(L$4>=$G6, L$4<=G6),"C",IF(I6=L$4,"E",IF($K6=L$4,"R",0)))
New formula with the data list in separate tab
=IF(AND(L$4>=List!$G6, L$4<=List!G6),"C",IF(List!$I6=L$4,"E",IF(List!$K6=L$4,"R",0)))
Formula pulled into adjacent cell looks correct but doesn't work as it loses 'connection' with List
=IF(AND(M$4>=(List!$G6), M$4<=List!$G6),"C",IF(List!$I6=M$4,"E",IF(List!$K6=M$4,"R",0)))
May 10 2021 12:54 PM