Exclude cell value from array when using textjoin

ivanribic

New Member
Joined
Jun 22, 2011
Messages
8
Okay, after working at this for several hours I'm still stumped. I'm using textjoin to display combined values from Col BF that match numbers in BH but I want to exclude the value in the current row. i.e. for row 2, I want to exclude "CP60" from the results in Col BI and display all other matches. I can't figure out how to filter that current row result out. Any help is greatly appreciated.

=ArrayFormula(TEXTJOIN(", ", TRUE, IF(BH2=$BH$2:$BH$346,$BF$2:$BF$346,"")))


Array1.png
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Put another IF test in eg:

=TEXTJOIN(", ",TRUE,IF(BH2:BH10=BH2,IF(BF2:BF10<>BF2,BF2:BF10,""),""))
 
Upvote 0
Steve, you saved my bacon. I had tried to do just that about a dozen times but wasn't laying it out correctly. That worked brilliantly. Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,274
Members
452,628
Latest member
dd2

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