Using TEXTJOIN in a Conditional Formatting formula.

Herakles

Well-known Member
Joined
Jul 5, 2020
Messages
927
Office Version
  1. 365
Platform
  1. Windows
I am trying to use TEXTJOIN in a Conditional Formatting formula and it doesn't like it.

What am I doing wrong?

See image.

=len(TEXTJOIN("",TRUE,$C3,$D3,$E3,$3,$G3,$H3))>10

Thanks
 

Attachments

  • ExcelError.JPG
    ExcelError.JPG
    121.6 KB · Views: 5

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
=len(TEXTJOIN("",TRUE,$C3,$D3,$E3,$3,$G3,$H3))>10
=len(TEXTJOIN("",TRUE,$C3,$D3,$E3,$3,$G3,$H3))>10

Probably the red highlighted above - It does not refer to any cell...

Try and revert -

Excel Formula:
=len(TEXTJOIN("",TRUE,$C3:$H3))>10
 
Upvote 0
Since you are using TEXTJOIN with "" as the joiner, it would make more sense just to use CONCAT instead.

23 07 24.xlsm
CDEFGH
1
2
346372232486
410298354
5111213141516
CF > 10
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:H5Expression=LEN(CONCAT($C3:$H3))>10textNO
 
Upvote 0
Since you are using TEXTJOIN with "" as the joiner, it would make more sense just to use CONCAT instead.

23 07 24.xlsm
CDEFGH
1
2
346372232486
410298354
5111213141516
CF > 10
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C3:H5Expression=LEN(CONCAT($C3:$H3))>10textNO
(y)
 
Upvote 0

Forum statistics

Threads
1,215,200
Messages
6,123,612
Members
449,109
Latest member
Sebas8956

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