Solved

How do I match the cell number in Excel spreadsheet

Posted on 2011-03-16
226 Views
I have a spreadsheet 1 column A with some numbers and sheet 2 column B with cell numbers of A in column B. I need a formula to automatically retrieve the corresponding value of cell numbers of B in A of sheet 1 and put it in Column C of sheet 2. I have attached the spreadsheet
Excel-formula.xls
0
Question by:jpeterjeyaraj
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 50

Expert Comment

ID: 35153067
I'm not clear on your requirement - it seems that you want a formula in C2:C5 in sheet2, what results do you expect for your example?

regards, barry
0

LVL 81

Accepted Solution

zorvek (Kevin Jones) earned 500 total points
ID: 35153084
Well, I'm taking a guess since the question is vague and the sample data lacking.

See attached.

Kevin
Excel-formula.xls
0

LVL 3

Expert Comment

ID: 35153143
like this ?

Excel-formula.xls
0

LVL 3

Expert Comment

ID: 35153153
here the preview...

0

Author Comment

ID: 35153288
Sorry for the confusion, this what I need - the column C in the attached spreadsheet, I need the values of A in sheet1 based on B, the value of B is nothing but the cell n umber belongs to A. For eg in the column B3, the value 3 reflects the cell number A 3 in sheet 1, the output in column should be corresponding value of A3 which is 22 and so forth. I have attached the spreadsheet.
Excel-formula.xls
0

LVL 81

Expert Comment

ID: 35153295
Got it.

Kevin
Excel-formula-3-.xls
0

LVL 81

Assisted Solution

zorvek (Kevin Jones) earned 500 total points
ID: 35153298
To show NA for blank cells as well as cells with 0 use:

=IF(OR(A2=0,A2=""),NA(),INDEX(Sheet1!A:A,A2))

Kevin
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

How to fix this UDF to handle blank cells? 8 44
Shading Cells between cells that are populated 4 29
Cannot locate cell 15 41
VBA Lookup Problem 2 9
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Suggested Courses
Course of the Month6 days, 2 hours left to enroll