+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : fetch data from a cell address when the address is user supplied

  1. #1
    Registered User
    Join Date
    03-03-2011
    Location
    kolkata, India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Unhappy fetch data from a cell address when the address is user supplied

    Dear All,
    I need to set the contents of a cell on my worksheet (named 'report card') to be same as contents of a cell in another worksheet(named 'log sheet'). This is easily done.

    But the problem is, the address of this cell in 'log sheet' (from where data will be fetched) will be dynamically given by the contents of a cell (based on user supplied data) on the present worksheet. For example, I have typed 61 in cell N11 in worksheet 'report card'. Then I need cell B13, to have the contents of cell F61 of 'log sheet' . Again if the contents of cell N11 changes to say 91, then call B13 should be populated by data from log sheet cell F91. How does one do this ? I am attaching part of the document in question.
    I need urgent help on this. Would be grateful if anyone can help.
    Attached Files Attached Files
    Last edited by joyeetadg; 03-05-2011 at 11:38 AM.

  2. #2
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: help needed urgently

    =Indirect(F61)
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: fetch data from a cell address when the address is user supplied

    Interested to know what you settled on.....after looking at your sample i thought

    =INDIRECT("'log sheet'!F"&N13) or if you need the column ref to be dynamic also, you can house the column letters in cells somewhere and also include them in your Indirect. I've housed the column letter F in cell P10 and you can include that in the indirect like this =INDIRECT("'log sheet'!"&P10&N13)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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