+ Reply to Thread
Results 1 to 7 of 7

Macro to Centralize Weeks & Sales Data in 1 Column

  1. #1
    Registered User
    Join Date
    11-02-2018
    Location
    Dublin, Ireland
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Macro to Centralize Weeks & Sales Data in 1 Column

    Hi,

    I have a sales report that currently lists projects and related product coding in columns C-G and then each weeks sales are located in columns H and onwards. Please see attached. The actual data set is quite large with 3000+ products and over 180 weeks of sales data


    I am looking to essentially pivot all of the weeks that are currently across multiple columns into one central columns, columns H in the attached example with the respective sales information contained in column I.

    Any help to automate this would be greatly appreciated.

    Thanks,
    SeamusData Example.PNG
    Attached Files Attached Files
    Last edited by Slowe89; 11-19-2018 at 04:13 AM. Reason: Solved

  2. #2
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    Good case,to night will be test
    "ThankyouFor Attention * And Your Help!!"

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    Try
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    Hi and welcome to the forum,

    Here's a macro that will work. It assumes your data starts in A1 on sheet1. Run the Transpose macro.

    See attached.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    slowe89 try this
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by daboho; 11-06-2018 at 09:15 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    11-28-2015
    Location
    indo
    MS-Off Ver
    2016 64 bitt
    Posts
    1,282

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    another Option
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    11-02-2018
    Location
    Dublin, Ireland
    MS-Off Ver
    MS Office 2013
    Posts
    2

    Re: Macro to Centralize Weeks & Sales Data in 1 Column

    Hi this is brilliant , thanks a million for the help. Works perfectly

+ 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. [SOLVED] Add 12 weeks to date to return week number turn over at 52 weeks
    By nigelog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2017, 05:58 AM
  2. [SOLVED] Macro that displays all the weeks between Start Week and End Week (ends in next year)
    By Tona in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2014, 05:38 AM
  3. [SOLVED] Making Daily Sales Planner recognize which month and which week to pull sales data from
    By Topher53180 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2014, 10:33 AM
  4. [SOLVED] Find Day of week in Data table and chart 4 weeks
    By Grimace in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2013, 02:13 AM
  5. [SOLVED] Excel 2007 : Macro to record all sales over the week.
    By dazzbilan in forum Excel General
    Replies: 3
    Last Post: 04-22-2012, 06:56 PM
  6. average last x weeks of data, based on current week
    By shifei in forum Excel General
    Replies: 7
    Last Post: 09-16-2010, 08:00 AM
  7. copy week total in weekly sales worksheet to appropriate week in monthly sales
    By Sandy2976 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-15-2009, 01: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