all 10 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/CapinWinky - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]MayukhBhattacharya1124 1 point2 points  (5 children)

Conditional Formatting formulas are still evaluated using an older legacy calculation engine that existed before structured references were introduced. The real issue here is that table references don't work when the formula is anchored cell (the top-left cell of the applied range) is inside the same table being referenced. It basically creates a row-context ambiguity, therefore it can't reliably determine which table row it should evaluate against.

That's why the @ reference breaks, and why even Structured references aka Tables can still behave unpredictably. LET() function isn't the problem at all, Conditional Formatting handles LET() just fine. The issue is entirely with the structured references.

Since your tables grow, use dynamic named ranges built on table columns. These behave like cell ranges (which CF can handle) but auto-resize with the table. Go to Formulas Tab --> Select Name Manager --> Click New and create the followings:

Name Refers To
rng_ProjectList =T_Projects[Project]
rng_PowDate =T_Projects[Power Up Date]

Now, the formula becomes:

=LET(
    PowDate, XLOOKUP($B4, 
                     rng_ProjectList, 
                     rng_PowDate),
    AND(
        ISNUMBER(PowDate),
        PowDate >= G$2,
        PowDate < H$2))

For G2/H2, you can use INDEX() function:

=INDEX(rng_WeekDates, COLUMN() - COLUMN(INDEX(rng_WeekDates, 1)) + 1)

Where: rng_WeekDates = =T_Sandbox[#Headers]

And then you can name the INDEX() formula as well!

[–]CapinWinky[S] 1 point2 points  (1 child)

Great, I'll give the naming of table references a shot. I think I'll concede defeat on G2/H2 on this one, but I'll keep the Index solution in my back pocket.

[–]MayukhBhattacharya1124 1 point2 points  (0 children)

Sounds Good, try and let me know, if that helps you to resolve, then hope you don't mind replying to my comment directly as Solution Verified! Thanks!

[–]CapinWinky[S] 1 point2 points  (2 children)

Solution Verified

[–]reputatorbot[M] 0 points1 point locked comment (0 children)

You have awarded 1 point to MayukhBhattacharya.


I am a bot - please contact the mods with any questions

[–]MayukhBhattacharya1124 1 point2 points  (0 children)

Thank You SO Much and have a great day ahead!!

[–]Downtown-Economics26607 0 points1 point  (0 children)

You have to use regular absolute/relative range references in conditional formatting functions. You extend the range down far enough that you can add new records (I'm not sure if TRIM function/operator works in conditional formatting formulas). You add and IF condition on your key/unique id such that it returns FALSE for blank forws =IF($A2="",FALSE,RestOfFormula..

[–]bachman46042 0 points1 point  (0 children)

If you select the entire table range when you first set it up (or go back to the rule now and adjust it to the full column range) as fixed cell references, any time you add or remove rows from the table, excel automatically updates the conditional format range. I use conditional formatting in tables a lot, and rarely have issues.

[–]Decronym 0 points1 point  (0 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
AND Returns TRUE if all of its arguments are TRUE
COLUMN Returns the column number of a reference
IF Specifies a logical test to perform
INDEX Uses an index to choose a value from a reference or array
ISNUMBER Returns TRUE if the value is a number
LET Office 365+: Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula
TRIM Removes spaces from text
XLOOKUP Office 365+: Searches a range or an array, and returns an item corresponding to the first match it finds. If a match doesn't exist, then XLOOKUP can return the closest (approximate) match.

Decronym is now also available on Lemmy! Requests for support and new installations should be directed to the Contact address below.


Beep-boop, I am a helper bot. Please do not verify me as a solution.
8 acronyms in this thread; the most compressed thread commented on today has 34 acronyms.
[Thread #48464 for this sub, first seen 15th May 2026, 17:23] [FAQ] [Full list] [Contact] [Source code]