Reading the pre assigned values

avinashraste

Board Regular
Joined
Mar 12, 2008
Messages
167
Dear all,

I have a question about a formula. I have an excel sheet having a list of 180 names. All the names has a specific value. For eg. abc - 500, xyz - 700, jkl - 200 and so on.

This list of names & values are in Sheet 1, and I want a formula to work in Sheet 2. The moment I write the name, the next cell will automatically show the corresponding value which is there in Sheet 1. For eg. if in Sheet 2, I write abc in cell A1, the cell B1 will be filled by the value 500.

PLease guide & help

Thanks & Regards
Avinash Raste
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Dear Sir,

Wow, its working amazingly perfect. Thank you so much sir. You have solved the problem in minutes.

Wherever the names are there, next cell is showing the corresponding values & where the name is not there, it shows #N/A. So can we make it blank instead of this #N/A value ??

If we can, it will be great, otherwise it is a great solution and thank you once again for the guidence & help.

Thanks & Regards
Avinash Raste
 
Upvote 0
Try

=IF(ISNUMBER(MATCH(A1,Sheet1!A:A,0)),INDEX(Sheet1!B:B,MATCH(A1,Sheet1!A:A,0)),"")
 
Upvote 0
Dear Sir,

Amazing is not the word to express. It worked perfectly. Thank you very very much. This was exactly what I wanted and you have solved the problem instantaniously.

Once again lots of thanks for your help.

Thanks & Regards
Avinash Raste
 
Upvote 0

Forum statistics

Threads
1,215,160
Messages
6,123,355
Members
449,097
Latest member
thnirmitha

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