Creating number comma (or semi-colon)-delimited values outputfrom separate look-up table and commas/semi-colon text values

DCard

New Member
Joined
Feb 14, 2011
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
Creating number comma (or semi-colon)-delimited values outputfrom separate look-up table and commas/semi-colon text values
1589251245024.png


1589251836853.png


so i want to manually enter or copy comma (or semi-colon - not both :)) text labels in Categories-Manual column, look up text value match in category look-up table and create the relevant comma (or semi-colon codes) in categories-code column

kind regards

don
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,439
Office Version
  1. 365
Platform
  1. Windows
Still don't have data to test with but try

=SUBSTITUTE(TRIM(IFNA(INDEX(Categories!B$2:B$100,MATCH(F5,Categories!A$2:A$100,0),1),"")&" "&IFNA(INDEX(Categories!B$2:B$100,MATCH(G5,Categories!A$2:A$100,0),1),""))," ",",")
 

DCard

New Member
Joined
Feb 14, 2011
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
i sent screen shot before again with data
 

DCard

New Member
Joined
Feb 14, 2011
Messages
12
Office Version
  1. 2016
Platform
  1. Windows
works PERFECTLY. i didn't even have to edit cell references!!

thanks so much
 

Peter_SSs

MrExcel MVP, Moderator
Joined
May 28, 2005
Messages
49,439
Office Version
  1. 365
Platform
  1. Windows
i sent screen shot before again with data
Yes but only the formula sheet, not 'Categories' so there was no way to actually see how 112,111 was obtained or why the other formulas returned #N/A ;)


works PERFECTLY. i didn't even have to edit cell references!!

thanks so much
Good to hear! You're welcome. :)
 

Forum statistics

Threads
1,136,642
Messages
5,676,960
Members
419,665
Latest member
allsmilees2

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
Top