+ Reply to Thread
Results 1 to 7 of 7

cycle through data from another sheet

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    greenville, sc, usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    cycle through data from another sheet

    i have what i hope is a simple one:

    i have a spreadsheet with row1 headers for all of the data columns, A:AX
    all rows under are individual data. the spreadsheet is great, but is horrible to print from
    i am hoping to create another sheet that will pull in data into a formatted version of the form
    what i need is to dynamically call the data from individual rows at a time
    for instance, in the new sheet formatted for printing, i need something like this: NAME: =Sheet1!A2
    and the like for all the columns of data for that row.
    is there some way to just type a number in the 2nd sheet that would dynamically change all of the formulas?
    for instance, changing a cell in the 2nd sheet to "245" would return the value for: NAME: =Sheet1!A245

    so basically i just need some way of being able to call up the row of data that i want.

    thanks for any help!

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: cycle through data from another sheet

    Do you have a sample file that you can attach so we can clearly understand your question?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    02-10-2012
    Location
    greenville, sc, usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: cycle through data from another sheet

    the file contains sensitive data, so i have created a mock file with writeup on Sheet2 of the workbook, attached.
    thanks!mock.xls

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: cycle through data from another sheet

    This may help:
    =INDIRECT("Sheet1!A"&G4)
    =INDIRECT("Sheet1!B"&G4)
    =INDIRECT("Sheet1!C"&G4)
    etc...
    Quang PT

  5. #5
    Registered User
    Join Date
    02-10-2012
    Location
    greenville, sc, usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: cycle through data from another sheet

    Quote Originally Posted by bebo021999 View Post
    This may help:
    =INDIRECT("Sheet1!A"&G4)
    =INDIRECT("Sheet1!B"&G4)
    =INDIRECT("Sheet1!C"&G4)
    etc...
    BEAUTIFULLY SIMPLE! thanks!
    do you know if there is a way to create buttons that could incrementally change the value of G4?

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,650

    Re: cycle through data from another sheet

    Try with Spin button!
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-10-2012
    Location
    greenville, sc, usa
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: cycle through data from another sheet

    Quote Originally Posted by bebo021999 View Post
    Try with Spin button!
    sweet! thanks!

+ 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