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.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
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
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,541
Members
449,089
Latest member
davidcom

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