Trying to return results within a vLookup

Gatsby

New Member
Joined
Dec 13, 2016
Messages
1
Hello MrExcel,

First time poster here.

I am trying to have my vLookup return specific information rather the whole vLookup which is close to 400 characters.

Using this function, =(MID(B2,FIND("displayName",B2)+12,FIND("name",B2)-find("displayName",B2)-14)), I am able to narrow down the scope of the information I am looking for, but I cannot figure out how to add that to my vLookup.

My vLookup is pretty standard, something like this
=iferror(vlookup(A2,TestLookup!A2:L1000,10,0),"") and it returns something like

{emailAddress=xxxxxxxxxxxxxxxx, avatarUrls=xxxxxxxxxxxxxxxxxxxxxxxxxxxx, 24x24=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, 16x16=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, 32x32=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx}, displayName=xxxxxxxxxxxxxxxxx, name=xxxxxxxxxxxxxxxxxxx, self=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx username=xxxxxxxxxxxxxxxxxxxxx, active=true, timeZone=America/Los_Angeles, key=xxxxxxxxxxxxxxxxxxxxxxxxx}

I'm not even sure if this is possible or if mid is even the best way to go about this? Any ideas?

Thanks in advance.
 

Some videos you may like

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

AlanY

Well-known Member
Joined
Oct 30, 2014
Messages
4,239
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
how about use your =(MID(B2,FIND("displayName",B2)+12,FIND("name",B2)-find("displayName",B2)-14)) function to produce a helper column and point the vlookup() to it instead
 

Watch MrExcel Video

Forum statistics

Threads
1,123,480
Messages
5,601,911
Members
414,482
Latest member
morkar

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