+ Reply to Thread
Results 1 to 6 of 6

Formulas to help reformat large spreadsheet

  1. #1
    Registered User
    Join Date
    05-25-2018
    Location
    Halifax, Nova Scotia
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    3

    Question Formulas to help reformat large spreadsheet

    I'm having some issues figuring out how to format a large spreadsheet (~400 rows, ~8000 columns) and was hoping somebody here might have some ideas or advice. I'm fairly new to Excel and can do the basics, and I think I'm tech savvy enough to figure out most of the features - anything involving VBE is over my head, though.

    Currently, my spreadsheet looks like this. Capture.PNG

    All of the numbers in B, D, F, etc. are job codes. Numbers in C, E, G, etc. are position numbers.

    I need it to look like this.
    Capture2.PNG

    Job codes in one column, position numbers in the next, department after that, etc.

    Obviously this could be done by hand, but the size of the spreadsheet makes that difficult and time consuming - plus we are trying to avoid human error, which is bound to happen with a 400x8000 cell worksheet. Does anybody have a suggestion of where to start or what formulas/features might help me do this?

    Edit: I attached samples of the current workbook and the desired outcome.
    Attached Files Attached Files
    Last edited by cj51794; 05-25-2018 at 12:24 PM. Reason: Added spreadsheet samples

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2501 (Windows 11 24H2 64-bit)
    Posts
    88,927

    Re: Formulas to help reformat large spreadsheet

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    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
    53,039

    Re: Formulas to help reformat large spreadsheet

    Hi, welcome to the forum

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formulas to help reformat large spreadsheet

    Probably you can use PowerQuery aka Get&Transform
    Last edited by sandy666; 05-25-2018 at 11:25 AM.

  5. #5
    Registered User
    Join Date
    05-25-2018
    Location
    Halifax, Nova Scotia
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    3

    Re: Formulas to help reformat large spreadsheet

    I added them to my original post - sorry for not including them the first time! It's also worth mentioning that I'm using a workplace computer and no programs or extensions can be downloaded.

    Edit: If it makes the job substantially easier, the department, position title, and working title can be left out and I can just run a vlookup later to get those. Basically I need all of my job codes to go from about 4000 columns into one, and the position numbers to go into another.
    Last edited by cj51794; 05-25-2018 at 12:39 PM. Reason: Adding additional information

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Formulas to help reformat large spreadsheet

    You've 2016 so PowerQuery is built-in

+ 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. reformat large spreadsheet to consolidate information
    By ajsween in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-19-2017, 12:21 PM
  2. Replies: 2
    Last Post: 03-11-2015, 10:08 PM
  3. Reformat Spreadsheet
    By PamK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2014, 10:44 AM
  4. Excel or Access vba for spreadsheet reformat
    By lucky245 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-14-2013, 08:42 AM
  5. Replies: 7
    Last Post: 10-12-2012, 09:53 AM
  6. Reformat Spreadsheet
    By jconnor in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2010, 03:00 AM
  7. Macro to reformat spreadsheet?
    By hjchristman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-15-2010, 06:04 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