Problem with Vlookup on a cell with a vlookup in

RobE

New Member
Joined
Apr 3, 2002
Messages
23
I have a stock profiling spreadsheet where I am pulling together a summary based on several system generated spreadsheets. One called 'Super' which has most of my stock info and the other called 'Sales' which has a sales history in.
Column A has part codes as supplied by my suppliers and column B looks this up in the 'Super' sheet to return our internal part code.
Standard formula is
=IF(ISNA(VLOOKUP($A2,super,6,FALSE)),"",VLOOKUP($A2,super,6,FALSE))
which is in column B

However later in column L I am trying to return the sales figure for this product using the internal part code returned by the above formula in column B
I'm using this formula
=VLOOKUP($B2,sales,10,FALSE)
but I keep getting N/A. When I replace the $b2 ref with an actual part code it works OK

Any ideas?

Thanks
ROb
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

gareth

Board Regular
Joined
Apr 15, 2002
Messages
234
Try converting it from text to columns.Then add the $signs to the cell names

That should work.

:biggrin:
 

RobE

New Member
Joined
Apr 3, 2002
Messages
23
Not with you...
Try converting what and listing what cells with dollar signs?
 

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
4,971
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
Check that the "Lookup_value"
and the information in the Left column of your "table_array"

are both TEXT or real Numbers.

Enhance the formula to allow comparison of TEXT to TEXT or NUmber to Number.
 

Forum statistics

Threads
1,144,330
Messages
5,723,740
Members
422,512
Latest member
MHau5

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