SOLVED

Conditional formating using a lookup formula.

%3CLINGO-SUB%20id%3D%22lingo-sub-2168853%22%20slang%3D%22en-US%22%3EConditional%20formating%20using%20a%20lookup%20formula.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2168853%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20use%20condiotional%20formating%20to%20colour%20an%20array%20ie%20the%20number%20ie%20below%20the%20value%20in%20a%20table.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETried%20several%2C%20but%20conditional%20formating%20using%20formula%20does%20not%20accept%20it.%20Like%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3DXLOOKUP(H5%3BT_faste%5BDin%20kodeliste%5D%3BT_faste%5BNumber%5D%3B%22%22)%3CI5%3E%3C%2FI5%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EColours%20here%20is%20manually%20adjusted%2C%20as%20an%20example.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xlookup%20farge.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F258344iF6659583C5997CBE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22xlookup%20farge.PNG%22%20alt%3D%22xlookup%20farge.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBest%20Regards%3C%2FP%3E%3CP%3E-%20Geir%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2168853%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2169068%22%20slang%3D%22en-US%22%3ERe%3A%20Conditional%20formating%20using%20a%20lookup%20formula.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2169068%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9195%22%20target%3D%22_blank%22%3E%40Geir%20Hogstad%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20don't%20us%20names%20(including%20tables%20names)%20In%20conditional%20formatting%2C%20formula%20shall%20be%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DO5%3CXLOOKUP%3E%3C%2FXLOOKUP%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Regular Contributor

Hi,

 

I would like to use condiotional formating to colour an array ie the number ie below the value in a table.

 

Tried several, but conditional formating using formula does not accept it. Like: 

=XLOOKUP(H5;T_faste[Din kodeliste];T_faste[Number];"")<I5

 

Colours here is manually adjusted, as an example.

 

xlookup farge.PNG

 

Best Regards

- Geir

 

3 Replies
best response confirmed by Geir Hogstad (Regular Contributor)
Solution

@Geir Hogstad 

Please don't us names (including tables names) In conditional formatting, formula shall be like

=O5<XLOOKUP($H5,$C$5:$C$15,$E$5:$E$15)

 

Thank you @Sergei Baklan It worked perfect. I made it more dynamic using a named range. That worked as well.

 

Best Regards

- Geir

@Geir Hogstad , glad it helped