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
 

Some videos you may like

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

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 :)
 

Watch MrExcel Video

Forum statistics

Threads
1,123,125
Messages
5,599,850
Members
414,342
Latest member
K Darrell Smith

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