+ Reply to Thread
Results 1 to 6 of 6

Is there some sort of stepsize function in Excel

  1. #1
    Registered User
    Join Date
    11-22-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Is there some sort of stepsize function in Excel

    Dear readers,

    I have a problem in Excel with a large amount of data. I have monthly data from 1980-2020 all in one column below eachother. Now I am trying to get data in seperate columns for each month, so January-February-March etc. What I basically need is a formula that gives me the values in cells 1-12-24 (for example January) in one column below eachother, so with a stepsize of 12. Does anyone have an idea on how I can tackle this problem?

    Kind regards,

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

    Re: Is there some sort of stepsize function in Excel

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,835

    Re: Is there some sort of stepsize function in Excel

    Assuming your first date is in A1 of Sheet1, in A1 of a new sheet:
    =OFFSET(Sheet1!$A$1,MOD(COLUMN()-1,12)+(ROW()-1)*12,INT(ROW()/12))
    Copy across to column L and down 40 rows.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  4. #4
    Registered User
    Join Date
    11-22-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Is there some sort of stepsize function in Excel

    Thank you Paul!

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

    Re: Is there some sort of stepsize function in Excel

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    Registered User
    Join Date
    11-22-2020
    Location
    Rotterdam, The Netherlands
    MS-Off Ver
    Office 365
    Posts
    3

    Re: Is there some sort of stepsize function in Excel

    Yes, I know, I already did

+ 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. Function to sort data in Excel dynamically
    By Herby in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2012, 06:55 AM
  2. Sort function in excel
    By jurrgule in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 10-16-2011, 06:14 PM
  3. Excel 2007 Sort Function
    By jamieleeuk in forum Excel General
    Replies: 1
    Last Post: 12-09-2010, 08:17 AM
  4. How to lock cells from excel sort function
    By Ace of Clubs in forum Excel General
    Replies: 5
    Last Post: 07-19-2009, 09:07 PM
  5. disable sort function in Excel 2002
    By amhamib in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-20-2008, 12:40 PM
  6. how to expand sort function beyond 3 on excel
    By Rewbs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2006, 09:50 AM
  7. [SOLVED] How To enable the Sort function for a protected Excel sheet
    By lkjing in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-30-2005, 10:05 AM
  8. [SOLVED] Excel's 'sort by row function'
    By virfir97@yahoo.com in forum Excel General
    Replies: 1
    Last Post: 06-29-2005, 11:05 AM

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