+ Reply to Thread
Results 1 to 12 of 12

Alternative to sequence function

  1. #1
    Registered User
    Join Date
    02-14-2013
    Location
    wales
    MS-Off Ver
    Excel 2010
    Posts
    66

    Alternative to sequence function

    I am trying to auto populate rows with the number of days based on a specific date. I enter a date and can get the total number of days in that month but then trying to populate rows with the number of days in that month. The sequence function would work perfectly but I am using excel 2019 which it is not available in. Any help is appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,800

    Re: Alternative to sequence function

    Delete all data from B6 down then try this formula in B6

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

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,039

    Re: Alternative to sequence function

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


    That works as is in 365. You might need to array enter it 2019.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    02-14-2013
    Location
    wales
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: Alternative to sequence function

    Thanks, but this just returned a value of 1 into B6 only and trying to populate down to the number of days. this example would be down to 29

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,234

    Re: Alternative to sequence function

    Populate days 1-28 then use formulas in the next 3 rows to fill as needed.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,234

    Re: Alternative to sequence function

    Quote Originally Posted by markharris2004 View Post
    Thanks, but this just returned a value of 1 into B6 only and trying to populate down to the number of days. this example would be down to 29
    Did you enter it as an array formula? After typing in the formula, do not hit ENTER--hit CTRL+SHIFT+ENTER. You have done it correctly if the formula in the formula box has {braces} around it. You cannot type in the braces; they are just an indicator that it is an array formula.

    I tried something like that but I have found it problematic to test things that like in 365 and make sure they work in older versions.

  7. #7
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,800

    Re: Alternative to sequence function

    Quote Originally Posted by markharris2004 View Post
    Thanks, but this just returned a value of 1 into B6 only and trying to populate down to the number of days. this example would be down to 29
    Are you using Excel 2019 as per your question or Excel 2010 as per your profile?

  8. #8
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2505
    Posts
    27,234

    Re: Alternative to sequence function

    Quote Originally Posted by markharris2004 View Post
    I am using excel 2019
    Please update your member profile to show what version of Excel you are actually using. Thanks.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    49,039

    Re: Alternative to sequence function

    Select cells B6:B36. With all the cells selected, paste this formula into cell B6 and commit with Ctrl-Shift-Enter (rather than just Enter)

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

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    13,000

    Re: Alternative to sequence function

    You must first select cells B6:B37, then paste any (they all work) of the above formulas into the formula box. Array commit via CSE.
    Non-array formula in B6 and dragged down to B37:
    Please Login or Register  to view this content.
    Ben Van Johnson

  11. #11
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2507
    Posts
    13,808

    Re: Alternative to sequence function

    If I remember correctly in 2010 forward you can just enter this in B6 and commit with enter. It will spill down the correct number of rows. Please let me know if this worked or not.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Edit: BTW this is a "trick" I learned from XOR LX a few years back.
    Last edited by FlameRetired; 07-04-2025 at 05:51 PM.
    Dave

  12. #12
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,900

    Re: Alternative to sequence function

    Your forum profile says 2010 - if you are now using 2019, please update it. Thank you.
    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.

+ 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: 11
    Last Post: 09-09-2024, 01:37 AM
  2. Alternative for SEQUENCE function on Excel 2019
    By charitos in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-14-2021, 10:33 AM
  3. Address & Match function together (there may be an alternative function)
    By Sashulik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2014, 05:39 AM
  4. Using IF or alternative function
    By jb2235 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2013, 01:27 PM
  5. Excel 2007 : IF function alternative
    By rmart in forum Excel General
    Replies: 2
    Last Post: 01-02-2012, 08:06 PM
  6. Alternative for IF-Then-Else function
    By telebat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-21-2008, 09:20 PM
  7. Alternative for IF function
    By Dez in forum Excel General
    Replies: 1
    Last Post: 09-21-2005, 06: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