Convert to 2019

Dr. Demento

Well-known Member
Joined
Nov 2, 2010
Messages
618
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I have 365 at the office but 2019 at home. Can someone help me "translate" this function so that it will work in 2019?

It's used to merge multi-select answers that are identified by starting with "# ".
Excel Formula:
TEXTJOIN("\",TRUE,FILTER([[#Headers],[A]:[G]],ISNUMBER(SEARCH("# *",[@[A]:[G]]))*("# *"<>""),"No results"))

Thanks, y'all.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
It works in Excel 2019, too.
 
Upvote 0
It's the FILTER aspect that doesn't work in non-365 products :cautious:
 
Upvote 0
("# *"<>"")
Hi, I don't understand what this is supposed to be doing, but for the rest, you could try:

Excel Formula:
=IF(COUNTIFS(Table1[@[A]:[G]],"# *"),TEXTJOIN("\",TRUE,IF(LEFT(Table1[@[A]:[G]],2)="# ",Table1[[#Headers],[A]:[G]],"")),"No Results")

Which might need to be committed with CTRL+SHIFT+ENTER
 
Upvote 0
Now that I think about it, the reason for the code that was confusing is because I had this monster formula that depending on the question type (multiple choice, true/false, multi-select), there was a different formula for how to extract the answer. Instead, I went a VBA route and thereby avoided the need for the formula to discriminate the question type.
 
Upvote 0

Forum statistics

Threads
1,216,207
Messages
6,129,503
Members
449,512
Latest member
Wabd

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