JoinText formula that strings together a range of cells with a comma but ignores the value in that column that is the same row as the formula.

MDBWebDev

New Member
Joined
Apr 10, 2023
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
I have column A that has product URL handles. Column B, I need a formula that joins all cells in column A, delimiter is a comma, ignoring empties is TRUE, BUT I need it to ignore the row that the formula is currently in so B3's formula would skip A3 and B4 would skip A4.

Somethign like: TextJoin(",",TRUE, A2:A20, Except A column value in current row)
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi & welcome to MrExcel.
How about
Excel Formula:
=SUBSTITUTE(TEXTJOIN(",",, $A$2:$A$20),A2&",","")
 
Upvote 0
Also

=TEXTJOIN(",",TRUE,FILTER($A$2:$A$12,$A$2:$A$12 <> $A2))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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