Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / December 2005

Tip: Looking for answers? Try searching our database.

How to reference cell in other worksheet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JimDandy - 12 Dec 2005 17:19 GMT
I am trying to populate a cell in one worksheet with data from another
worksheet within the same workbook. The source worksheet (sheet 1) has
a numbered column (Column A) but the numbers do not necessarily match
the cell’s row numbers. The data I want to capture from the source is
in column Q. The destination worksheet will have a column (column A
also) with the number of the row from the source worksheet from which I
want to capture column Q data and place it into column B (on sheet 2).

Code:
--------------------
   
 Sheet 1 (source data)
 Row        A        Q
 1        1        Data point 1
 2        2        Data point 2
 3        3a        Data point 3
 4        3b        Data point 4
 5        4        Data point 5
 
 Sheet 2 (need to populate row B with data from sheet 1 based on the information in Row A)
 Row        A        B
 1        3a   
 2        4   
 3        2   
 4        1   
 5        3b   
 
--------------------

Signature

JimDandy

Ian - 12 Dec 2005 17:38 GMT
In sheet2 B1
=VLOOKUP(A1,Sheet1!$A$1:$B$5,2,FALSE)

Signature

Ian
--

>
> I am trying to populate a cell in one worksheet with data from another
[quoted text clipped - 26 lines]
>
> --------------------
JimDandy - 12 Dec 2005 23:38 GMT
This is exactly what I need if the reference column and the data are in
adjacent columns. Is it possible to do this if the reference data is in
Column A and the data I’m trying to capture are not adjacent to each
other such as column Q?

Signature

JimDandy

JimDandy - 12 Dec 2005 23:55 GMT
Okay, after pulling my head out I realised that I need only study the
function better and I was able to answer the question myself.

I thank you Ian for the head start.

Signature

JimDandy

Ian - 17 Dec 2005 18:41 GMT
Sorry for the delay. I've been offline for a few days. Glad you managed to
sort it out.

Signature

Ian
--

>
> Okay, after pulling my head out I realised that I need only study the
> function better and I was able to answer the question myself.
>
> I thank you Ian for the head start.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.