Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How do I match the cell number in Excel spreadsheet

Posted on 2011-03-16
7
Medium Priority
?
234 Views
Last Modified: 2012-05-11
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
Comment
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
  • Learn & ask questions
7 Comments
 
LVL 50

Expert Comment

by:barry houdini
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

by:
zorvek (Kevin Jones) earned 2000 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

by:ssisworo
ID: 35153143
like this ?

 Excel-formula.xls
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:ssisworo
ID: 35153153
here the preview...

 preview
0
 

Author Comment

by:jpeterjeyaraj
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

by:zorvek (Kevin Jones)
ID: 35153295
Got it.

Kevin
Excel-formula-3-.xls
0
 
LVL 81

Assisted Solution

by:zorvek (Kevin Jones)
zorvek (Kevin Jones) earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question