=If(VLOOKUP - cross reference cells

Bravo2003

Active Member
Joined
Apr 1, 2010
Messages
278
Office Version
  1. 365
Platform
  1. Windows
Need to improve (solve problem) with the following formula...

=IF(VLOOKUP($A9,'[STD PRICE L_2014Q4.xls]Products'!$A:$P,COLUMN(J9),0)=J9,J9,'[STD PRICE L_2014Q4.xls]Products'!$J8)

So basicly I need to a find/cross ref the code in Cell A9 in another file (STD PRICE L_2014Q4.xls)
and if it finds it matches, show text in Cell J9 otherwise show the text that appears in matching cell in column J of 'STD PRICE L_2014Q4.xls'

If that makes sense?

Can't use cell references from STD PRICE L_2014Q4.xls as they do not always run in the same order..

Can anyone help?
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Hi,

Just so i understand, you want the Vlookup to look at a second sheet, but the columns may not be in the same order?
Will they always have the same headings?

Thanks
Dan
 
Upvote 0
Hi,

Just so i understand, you want the Vlookup to look at a second sheet, but the columns may not be in the same order?
Will they always have the same headings?

Thanks
Dan

The columns are in same order but the rows are not in any ordered format.
 
Upvote 0

Forum statistics

Threads
1,214,617
Messages
6,120,541
Members
448,970
Latest member
kennimack

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