+ Reply to Thread
Results 1 to 8 of 8

create a cell reference to another worksheet

  1. #1
    Registered User
    Join Date
    04-01-2021
    Location
    Latvija
    MS-Off Ver
    MS 2016
    Posts
    27

    create a cell reference to another worksheet

    Hello! I want to create a cell reference to another worksheet, but in sheet1 from I want to get the information two cells have been merged. So when I use formula on sheet2 it shows result but with empty cell between values. I need to get values from sheet1 without spaces between cells as in sheet2 when numbers goes one after one. Example is given in excel file.
    Thank you!
    Attached Files Attached Files
    Last edited by Inese; 05-11-2021 at 07:47 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: create a cell reference to another worksheet

    The best way to deal wth it is to get rid of merged cells. They are nothing but trouble ( as you have noticed..) and one of XL's worst features

    Read How to use merged cells effectively

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: create a cell reference to another worksheet

    In A1 in Sheet2 then copy down

    =IFERROR(1/(1/(INDEX(Sheet1!$A$2:$A$10,2*ROWS($A$1:$A1)-1))),"")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  4. #4
    Registered User
    Join Date
    04-01-2021
    Location
    Latvija
    MS-Off Ver
    MS 2016
    Posts
    27

    Re: create a cell reference to another worksheet

    Thank you for fast response! It works perfectly if I have 1 number! I'm working with different count of numbers in cell. How to change the formula if I want to write in sheet1 value what contains 123A000 (7 signs)?
    Last edited by Inese; 05-11-2021 at 04:43 AM.

  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: create a cell reference to another worksheet

    Pl upload file with example data you like to have.

  6. #6
    Registered User
    Join Date
    04-01-2021
    Location
    Latvija
    MS-Off Ver
    MS 2016
    Posts
    27

    Re: create a cell reference to another worksheet

    Thank you, I attached the excel example.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: create a cell reference to another worksheet

    In A2 then copy down.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-01-2021
    Location
    Latvija
    MS-Off Ver
    MS 2016
    Posts
    27

    Re: create a cell reference to another worksheet

    Thank you a lot! Works perfectly!!!! Have a nice day!

+ 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. Replies: 4
    Last Post: 05-27-2018, 11:58 PM
  2. Replies: 2
    Last Post: 12-29-2016, 11:53 AM
  3. Replies: 5
    Last Post: 05-06-2015, 12:05 AM
  4. Reference cell in worksheet to copy paste cell range from different worksheet
    By gbatz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2014, 04:33 PM
  5. Copy data from a copied worksheet to another worksheet based on cell reference
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2013, 02:18 PM
  6. Replies: 1
    Last Post: 12-29-2011, 06:44 PM
  7. Display data reference from another worksheet based on cell reference
    By Drew123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2011, 03:52 PM

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