+ Reply to Thread
Results 1 to 13 of 13

Copy cell from another workbook

  1. #1
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Copy cell from another workbook

    Dear All,

    Please refer attached worksheet having row numbers.

    I wanna copy these row number cells to another workbook.

    which syntax should i use in offset formula to copy these cells.

    Regrads
    Gulam Dastgir
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    From your rather vague instructions:

    =OFFSET(Sheet1!$A$1,Sheet1!B3,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Copy cell from another workbook

    Dear Sir,
    The row number i write down for understanding only. What if these row numbers are not available and we have to directly copy these cells in another workbook.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    As I implied in my first post to this thread, you are being much too vague. I have no idea of what you mean by "What if these row numbers are not available and we have to directly copy these cells in another workbook." We are not mind-readers! Please provide a sample of what you really want.

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.

  5. #5
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Copy cell from another workbook

    Dear Mam,

    Hopefully attached file will clear you my query more lucidly.

    Regards
    Dastgir
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Copy cell from another workbook

    so in results what are we finding

    the ROW corresponding to the VALUE

    OR

    VALUE corresponding to the ROW

    ??

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    Quote Originally Posted by dastgir View Post
    Hopefully attached file will clear you my query more lucidly.
    Unfortunately, it doesn't help to clarify your requirements at all, sorry.

  8. #8
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Copy cell from another workbook

    I need these value from the other sheet and these value are corresponding to row number of the attached sheet. I only noted down the row number for the sake of ready reference only

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    Sorry - still not clear. Can you give us a mock-up of before and after, showing how the row numbers are relevant?

  10. #10
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Copy cell from another workbook

    Oh ho
    Look. there two worksheets in this the attached workbook ws1. One names values and second named results.
    I want to copy values from "value" worksheet to "result" worksheet.
    These values are in cell A106, A198 & A290 and so on in "value" worksheet. Since the row number of these cells are differing by common number "92" , therefore it possible that we may define a offset function for copies these cell. But I am confused how to define the "row" value in offset function where starting cell is A106 and other cells are differing by "92".
    To exemplify the resultant worksheet, i just link these cells in "result" worksheet with row number. But i want to define offset function to return these values.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    Maybe this in A2 drag copied down::

    =OFFSET(value!A$106,(ROWS(A$1:A1)*92)-92,0)

  12. #12
    Registered User
    Join Date
    11-08-2010
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Copy cell from another workbook

    wow-la.
    Bang on target.
    thanks a lot

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,929

    Re: Copy cell from another workbook

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA Macro pull a certain cell in closed workbook and copy/paste into current workbook
    By Hoover5896 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2017, 01:36 AM
  2. Search cell values from range in another workbook and copy found row to a 3rd workbook.
    By SierraKilo78 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-09-2014, 01:09 PM
  3. Copy range from one workbook, paste to next empty cell in another workbook
    By glock9mm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2013, 12:16 AM
  4. Replies: 4
    Last Post: 09-15-2012, 02:18 PM
  5. Macro, copy UNLOCKED cell range of sheet in open workbook to workbook template
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2012, 11:18 AM
  6. [SOLVED] copy active sheet, create new workbook, name new workbook based on cell reference
    By jm0392 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-20-2012, 07:12 PM
  7. Code to open a workbook , copy info and return it to another workbook using a cell v.
    By england79m in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2008, 11:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1