+ Reply to Thread
Results 1 to 9 of 9

cell referenceing

  1. #1
    Registered User
    Join Date
    08-27-2007
    Posts
    22

    cell referenceing

    ok so in a nut shell I want to pull data out of worksheet 1 which may be located in another workbook. I want the data displayed in worksheet 2. The problem is that I want the user to enter data on worksheet 2 and then have worksheet 2 populate from worksheet 1 based on what the user entered. I'm currently having the spreadsheet look at value in a cell and then concatenate it with another cell value, it won't recognize the data in the new cell as a cell reference though. below is an example. if anyone can hep me out I'd appreciate it.

    example

    value in cell A1 is (4)
    value in cell A2 is (C)

    value in cell C4 is (apple)

    value in cell A3 is (=A2&A1)
    cell A3 shows (C4)

    value in cell A4 is (=A3)
    expected view result of cell A4 is (apple)
    However
    cell A4 shows (C4)

    Does what I'm trying to do make sense?
    can anyone help me out
    Thanks again

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think you need:

    =Indirect(A2&A1)
    Last edited by NBVC; 09-22-2008 at 04:49 PM. Reason: had references reversed
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re:cell referenceing

    Use A4=INDIRECT(A3) instead
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  4. #4
    Registered User
    Join Date
    08-27-2007
    Posts
    22
    I'll try it thanks so much


    edit:


    Worked perfectly. Thanks so much. did exactly what I wanted it to do.

    can you guys recommend a good tutorial for programming in excel? I'm pretty good when it comes to to excel but I'd always love to be able to do more
    Last edited by demuro1; 09-22-2008 at 05:07 PM. Reason: didn't want to double post

  5. #5
    Registered User
    Join Date
    08-27-2007
    Posts
    22
    ok now the next problem, I don't think this works if I try and pull the data from another workbook. So if the information is in workbook1 and I'm trying to draw the info into workbook2 are there potentially any issues there? I can't seem to get this to work.

    Thanks

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Indirect() function does not work, unfortunately, with closed workbooks...

    Your alternative might be to download and install the free Morefunc.xll addin http://xcell05.free.fr/morefunc/english/ and use the Indirect.Ext() function instead.

  7. #7
    Registered User
    Join Date
    08-27-2007
    Posts
    22
    is there another solution. I'm trying to create this worksheet and distribute it to several people.

    we all have 4 massive excel workbooks with our individual data mixed in on each of the 4. What I'm trying to do is allow each user to open a fifth, much smaller workbook. When they open the fifth workbook they will enter their name in a given cell. in the 4 massive workbook our data is spread across several worksheets but identified with our names, the fifth workbook would filter our personal data out of each workbook and consolidate it on the fifth workbook.

    is this something that's possible to do without having to open each workbook, and if so how would I do it. Do I need VB to accomplish this?


    thanks again

  8. #8
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Quote Originally Posted by demuro1 View Post
    is there another solution. I'm trying to create this worksheet and distribute it to several people.

    we all have 4 massive excel workbooks with our individual data mixed in on each of the 4. What I'm trying to do is allow each user to open a fifth, much smaller workbook. When they open the fifth workbook they will enter their name in a given cell. in the 4 massive workbook our data is spread across several worksheets but identified with our names, the fifth workbook would filter our personal data out of each workbook and consolidate it on the fifth workbook.

    is this something that's possible to do without having to open each workbook, and if so how would I do it. Do I need VB to accomplish this?


    thanks again
    It depends on your data structure
    I think both formula and VBA can help you.
    But the size of the file may be smaller with VBA
    I need your support to add reputations if my solution works.


  9. #9
    Registered User
    Join Date
    08-27-2007
    Posts
    22
    Well what's the formula method, I don't know VB but will learn as much as I need to if required. I'd hate to have to go that route though if I didn't have to.

+ 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. Protected Formulas
    By georgeeasten in forum Excel General
    Replies: 13
    Last Post: 12-10-2018, 12:47 AM
  2. Conditional Formatting a cell which is showing a %
    By dandavis1 in forum Excel General
    Replies: 2
    Last Post: 09-08-2008, 08:03 AM
  3. Cell linked to a "wandering" cell
    By BigKahuna in forum Excel General
    Replies: 1
    Last Post: 02-29-2008, 12:27 PM
  4. Loss of cell reference
    By roloto in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 05-20-2007, 06:35 PM
  5. Trouble with Excel Formula?
    By Beev in forum Excel General
    Replies: 4
    Last Post: 05-10-2007, 04:26 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