Is this possible?

exp

New Member
Joined
Sep 17, 2002
Messages
4
I have two columns of hard numbers in Sheet 1 (columns A and B).

In sheet 2, i have one column of numbers (column A) and a blank column (column B)

In Column B of sheet 2, is it possible to put in a formula that would look at the number in Column A...then search for that same number in Column A of Sheet 1...and report back with the corresponding number in Column B (of sheet 1) and copy it down to Column B of sheet 2?

Please email me at
pyoo@energy.state.ca.us
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Jim North

MrExcel MVP
Joined
Jun 20, 2002
Messages
791
hello exp,

... and welcome to the board!

This will do it:

=VLOOKUP(A2,Sheet1!$A$1:$B$10,2,0)


_________________
JRN

Excel 2000; Windows 2000
This message was edited by Jim North on 2002-09-18 11:51
 

Jim North

MrExcel MVP
Joined
Jun 20, 2002
Messages
791
But this is better:

=IF(ISNA(VLOOKUP(A1,Sheet1!$A$1:$B$10,2,0)),"",VLOOKUP(A1,Sheet1!$A$1:$B$10,2,0))
 

dk

MrExcel MVP
Joined
Feb 15, 2002
Messages
2,942
Sounds like you need the VLOOKUP function.

For example this searches range A1:B10 of sheet1 for a value found in A1 of sheet2 and returns the corresponding value from sheet 1.

=VLOOKUP(A1,Sheet1!$A$1:$B$10,2,FALSE)

There are loads of examples of VLOOKUP on this site. Just click Search and enter VLOOKUP as a keyword.
 

dk

MrExcel MVP
Joined
Feb 15, 2002
Messages
2,942
Sorry Jim, I'm a bit slow on the keyboard today :)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,037
Messages
5,856,967
Members
431,843
Latest member
Malahhai

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