Feb 17 2023 09:08 PM
Hi all,
I would like to use VLookup to abstract the phone number and email based on the name given in cell B3 and subsequent column. However, in between the name, there is a comma, may I know is there any method to achieve this?
Feb 17 2023 11:30 PM - edited Feb 17 2023 11:31 PM
=INDEX(TEXTSPLIT(TBL[Name],","),1,1). You might need =TRIM too.
Feb 18 2023 02:14 AM - edited Feb 18 2023 02:15 AM
Feb 19 2023 03:59 AM - edited Feb 19 2023 04:02 AM
Hi @Riny_van_Eekelen,
I have downloaded your excel file. However, I can't find any formula or method that you have done, it's a plain file basically. Would you mind to show me where can I locate it?
Feb 19 2023 04:05 AM
@renjie0315 I've used Power Query (PQ). If you are not familiar with PQ, it's not so easy to just start using it. You could start learning from the site in the link below.
It clearly explains all the basics and more advanced features of Power Query.
https://exceloffthegrid.com/power-query-introduction/
Feb 19 2023 04:12 AM
Feb 19 2023 04:18 AM
Hi @ecovonrein,
I presume TBL stands for Table. This is the error that I faced when I select the table.
Feb 19 2023 04:38 PM
Feb 20 2023 12:10 AM - edited Feb 20 2023 12:11 AM
I dunno the naming conventions of your spreadsheet. TBL was just a placeholder for whatever name you use. From the screenshot it appears your TBL is called "Table1_2". Except that while it looks like a "Table", the #NAME suggests that it isn't actually an Excel table because the structured reference "[Name]" does not appear to be recognized. So replace that structured reference with your hard coordinates, eg =INDEX(TEXTSPLIT(B3,","),1,1).
Feb 20 2023 12:46 AM
@renjie0315
Perhaps with M365...
=SORT(UNIQUE(WRAPROWS(TOCOL(WRAPCOLS(TOCOL(TEXTSPLIT(TEXTJOIN("♡",1,B3:D4),{"♡",", "})),2),,FALSE),3)))