VLOOKUP - I THINK I NEED SOMETHING MORE

HAWK

New Member
Joined
Mar 24, 2002
Messages
19
CURRENT FORMULA:
=IF(ISNA(LOOKUP(B19,$N$16:$S$34)),"",LOOKUP(B19,$N$16:$S$34))

I NEED TO EXPAND ARRAY TO 60 ROWS. IT WOULD
BETTER IF I DID NOT HAVE TO SORT FIRST ROW IN NUMBERICAL ORDER. THIS IS FOR A SHIPPING DOCUMENT - WE ENTER INVENTORY ITEM # INTO B19
I WOULD LIKE TO SORT ARRAY BY PRODUCT DESCRIPTION (COLUMN S)

I AM LOOKING FOR AN ALTERNATE FORMULA

I APPRECIATE ANY HELP. THANK YOU IN ADVANCE
FOR YOUR TIME.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Try using the false parameter in the vlookup function to avoid sorting your lookup table.

ex: vlookup(value,table,3,false)
 
Upvote 0
PS: Hawk. Also check out how I use named ranges for my lookup areas. No need to change data range when you use named ranges for entire rows or columns.
 
Upvote 0
Hi Dreamboat

Can i suggest posting the answer rather that just pasting a shortcut hyper link to you home page, guys are asking questions and so would be nice if that answer was on this site for us all to see and use.

And so others can search....
 
Upvote 0
Hi Hawk

In addition to the inforamtion already supplied (in particular the False argument for VLOOKUP). Consider using a COUNTIF to test whether the content of B19 is within your data table.

=IF(COUNTIF($N$16:$N$34,B19)=0,"",LOOKUP(B19,$N$16:$S$34,FALSE))
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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