+ Reply to Thread
Results 1 to 5 of 5

Table manipulation in excel or any software that can solve this problem.

  1. #1
    Registered User
    Join Date
    10-17-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Office 365
    Posts
    11

    Question Table manipulation in excel or any software that can solve this problem.

    Good day everyone!

    I have a problem and i cant solve it myself, trying my luck here if anybody had ever encountered this. I have a picture attached here and i want to convert table 1 to table 2. Is there anything in excel that can do this automatically since i have a total of 1206 different type of "table 1" and doing it manually will take me a whole lot of time.

    Hope somebody find time to answer this. Thank you!

    Table.jpg

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,418

    Re: Table manipulation in excel or any software that can solve this problem.

    A picture is not much use to work on - attach an Excel file instead.

    Pete

  3. #3
    Registered User
    Join Date
    10-17-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Table manipulation in excel or any software that can solve this problem.

    Attached here is an excel file of sample data. I want to reformat this table so that the top and bottom columns have increments of 1 while maintaining other columns in accordance with it. Basically from table 1 to table 2.

    Please refer to the excel file attached. Thanks!

    Table.xlsx
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,418

    Re: Table manipulation in excel or any software that can solve this problem.

    I assume from your first post that you have far more data than in this example, and to produce over 1000 separate tables would be a bit cumbersome. So, I have given you the ability in the attached workbook to choose the borehole_ID from a drop-down in H1 (coloured yellow), and the appropriate table will be produced immediately for you. The drop-down source is the dynamic named range in column O, which lists the unique borehole_IDs from your raw data - as this is dynamic, you just need to add other IDs at the bottom of the list in any order.

    Cell F1 contains zero (important - not a space or empty), and F2 contains this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    which is copied down BEYOND your data - the hyphens help to show how far it has been copied (I've copied to row 50).

    I've used another helper column (H) with this formula in H2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and I have coloured this grey, although you could make it white if you don't want to see those numbers. Then the table itself is made up of these formulae in the cells stated:

    I2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    J2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    K2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    L2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The formulae in H2:L2 then need to be copied down as far as to encompass your deepest borehole - I've copied to row 25 in the example file.

    Now, all you need to do is to use the drop-down in H1 and choose a borehole of interest - the table will adjust automatically.

    Hope this helps.

    Pete
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-17-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Office 365
    Posts
    11

    Re: Table manipulation in excel or any software that can solve this problem.

    Wow this is so great! It'll help me a lot. Many thanks.

+ 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. Could a pivot table solve this (extensive) problem?
    By Swarles_Barkley in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 05-23-2013, 09:34 AM
  2. Excel 2010 table manipulation
    By ngmp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2013, 03:54 PM
  3. Replies: 2
    Last Post: 07-06-2009, 06:22 AM
  4. Replies: 2
    Last Post: 12-18-2005, 08:20 PM
  5. [SOLVED] Look-Up Table Tutorial -or- Better Idea to Solve Problem
    By Bob in forum Excel General
    Replies: 1
    Last Post: 10-03-2005, 10:05 PM

Tags for this Thread

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