Array Formula Help

krisso

Active Member
Joined
Sep 16, 2005
Messages
291
Hi

I am trying to help my son with his assignment and he has been told to get his sheet to show blank in this array formula returns a value of #N/A
{=VLOOKUP("N4",CHOOSE({1,2},Table1[[#All],[Seat Number]],Table1[[#All],[Ticket Number]]),2,FALSE)}

I have tried using If(ISNA) in the array and I am still getting the error. Can anyone advise please

Thanks
Chris

P.S I would have used Index Match personally but they was told to use Vlookup and choose, who am I to argue :)
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
your cell reference should not have quotes around it. Should be
Code:
=VLOOKUP(N4,...
 
Upvote 0
Worked for me

Table1

[TABLE="class: grid"]
<tbody>[TR]
[TD]
Ticket Number​
[/TD]
[TD]
Seat Number​
[/TD]
[/TR]
[TR]
[TD]
111​
[/TD]
[TD]
N1​
[/TD]
[/TR]
[TR]
[TD]
222​
[/TD]
[TD]
N4​
[/TD]
[/TR]
[TR]
[TD]
333​
[/TD]
[TD]
N7​
[/TD]
[/TR]
</tbody>[/TABLE]


=VLOOKUP("N4",CHOOSE({1,2},Table1[[#All],[Seat Number]],Table1[[#All],[Ticket Number]]),2,FALSE)
confirmed with just Enter

Result = 222

M.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,896
Messages
6,175,263
Members
452,627
Latest member
KitkatToby

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