Excel help needed urgently

ELIAXEL

New Member
Joined
Aug 22, 2006
Messages
9
I have 2 different sheets

sheet 1:
4 different columns
Col1 - DealerID - this column is filled in and includes duplicates
Col2 - DealerName - this column is blank
Col3 - Province - this column is also blank
Col4 - Sales - this column is filled in

sheet 2:
3 different columns
Col1 - DealerID - filled in and no duplicates
Col2 - DealerName - filled in
Col3 - Province - filled in

What I need to do is use a formula to draw the info from sheet 2 onto the blank columns of sheet 1. Because of duplicates in col1 of sheet1, I cannot simply copy and paste. I am being tested on this and I need to find out ASAP.

Thanks for any help. If you need clarification, please let me know.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
In Sheet1, column 2 (Column B, row2)

=Vlookup(A2,Sheet2!$A$1:$C$100,2,0) copied down

In Column 3 (Column C, row2)

=Vlookup(A2,Sheet2!$A$1:$C$100,3,0) copied down

adjust ranges, references and sheet names to suit.
 
Upvote 0
Thank you. I tried that but it didn't work for some reason. It keeps showing the "#REF" error message and I don't know why.

But I think we're on the right path.
 
Upvote 0
Is the sheet your referencing called Sheet2? If not change the name in the formula to match. Place the name between single quotes (e.g. 'The Sheet') and make sure the exclamation mark stays.

Also, make sure the index number (the 3rd argument) is the column number within the range that you want to extract from. If it is out of range, you'll get the REF error.

If you still have issues, post your formula and the exact locations of the info you want to manipulate in your workbook.
 
Upvote 0

Forum statistics

Threads
1,222,729
Messages
6,167,880
Members
452,152
Latest member
PinHeads

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