+ Reply to Thread
Results 1 to 8 of 8

displaying data in a custom table format, cant seem to autofill???

  1. #1
    Registered User
    Join Date
    01-30-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    displaying data in a custom table format, cant seem to autofill???

    Hi, i`m a novice at excel and i don't know what else to do. on the attached file sheet 2 is the raw data that i collect on site, i want to be able to display it in the format on sheet 1. I`ve tried to link the data by using = then the corresponding cell but when i drag it down it misses every 3 (might be something to do with the merged cell.

    For example i want

    sheet 1 A4 to = sheet2 A2test template.xlsx
    sheet 1 A7 to = sheet2 A3
    sheet 1 A10 to = sheet2 A4

    # and so on. instead when i drag it down i`m getting sheet1 A4 = sheet 2 A2, but the next row (that i`ve dragged down) is sheet 1 A7=sheet 2 A5 - this is missing 2 whole rows of my data.

    I have no idea what sort of formula i would use or if there is a simple way to do this.

    Any help would be massively appreciated.

    Thanks in advance

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: displaying data in a custom table format, cant seem to autofill???

    In A4 (the merged cell in your sheet , put this formula

    =INDIRECT("Sheet2!A"&((ROW(A4)+2)/3))

    then copy down (note you'll need to merge the other cells below the table to make this work
    Happy with my advice? Click on the * reputation button below

  3. #3
    Registered User
    Join Date
    01-30-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Re: displaying data in a custom table format, cant seem to autofill???

    Thanks for the reply but that doesn`t seem to work for me either, when i drag it down it skips 2 data rows in sheet 2, A7 instead of the next one down which would be A5

    Sheet1 A4 =INDIRECT("Sheet2!A"&((ROW(A4)+2)/3))
    Sheet1 A7 =INDIRECT("Sheet2!A"&((ROW(A7)+2)/3))

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: displaying data in a custom table format, cant seem to autofill???

    Ummm. That's what you asked for wasn't it? You've got a bunch of merged cells - 3 into 1. As such your merged cells are now named A4, a7, A10 and so on as you progress down the column. You're trying to match cells that are 3 apart with cells in sheet 2 that are one cell apart so when you drag down you get the same sequence.

    You said in your original post you wanted A7 to match to A3. Now you want it to match A5!

    I'm lost.

  5. #5
    Registered User
    Join Date
    01-30-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    4
    Quote Originally Posted by Crooza View Post
    Ummm. That's what you asked for wasn't it? You've got a bunch of merged cells - 3 into 1. As such your merged cells are now named A4, a7, A10 and so on as you progress down the column. You're trying to match cells that are 3 apart with cells in sheet 2 that are one cell apart so when you drag down you get the same sequence.

    You said in your original post you wanted A7 to match to A3. Now you want it to match A5!

    I'm lost.
    Yes. Sorry if ive cpnonfused the issue, but what your describing is what i want. The formula you suggested skipped 3 rows in sheet2 instead of every row. Maybe im not using the correctly, do i need to activate or something? What i pasted in the last post was from a4 where i inserted the formula and a7 ( the next cell down). The formula jumped 3. Feel like im not describing this very well

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: displaying data in a custom table format, cant seem to autofill???

    The way you want to adjust your data table is highly unusual, to say the least. Unless there is a very specific reason for changing to this, I would advise maintaining a regular 2D table - excel is designed to work this way, and while what you want is not impossible, it could become messy, PLUS, your data in your new table will be pretty much unusable for any further analysis
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: displaying data in a custom table format, cant seem to autofill???

    Enter this formula in Sheet1!A4
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    With the merged cell (A4, A5, A6) selected, hold down the Shift key and hit the down arrow then Ctrl + D to fill.
    result
    Capture.JPG
    If you unmerge the cells and enter the formula in Sheet2!A4 and fill down, this is the result.
    A
    4
    G1
    5
    6
    7
    T1
    8
    9
    Last edited by newdoverman; 01-30-2016 at 05:39 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  8. #8
    Registered User
    Join Date
    01-30-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    4

    Re: displaying data in a custom table format, cant seem to autofill???

    Thanks this is just what i was after. i can use that formula with some modifications for the whole table !!! brilliant thanks

    In response to how the data will be arranged, it is for printout survey for people to use (want it to look a bit more interesting that just a plain box full of numbers, the data will never be manipulated again.

    Thanks for all the help

+ 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: 0
    Last Post: 10-10-2015, 09:51 AM
  2. Replies: 0
    Last Post: 08-13-2015, 06:23 AM
  3. [SOLVED] Problems with displaying pivot table from external sql-source in the right format
    By purzelltherum in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-06-2015, 04:15 AM
  4. Custom Format Code for Pivot Table - Excel 2010
    By Linus100 in forum Excel General
    Replies: 0
    Last Post: 08-28-2014, 01:40 PM
  5. Replies: 1
    Last Post: 05-28-2013, 07:56 PM
  6. Custom Cell Format - Any Reference Table ?
    By jeremymc7 in forum Excel General
    Replies: 1
    Last Post: 07-29-2008, 02:21 PM
  7. Displaying data in a custom built user form
    By thomas.szwed in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2007, 05:28 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