+ Reply to Thread
Results 1 to 4 of 4

Need to fill date series (monthly) in a large document

  1. #1
    Registered User
    Join Date
    10-13-2019
    Location
    Khulna, Bangladesh
    MS-Off Ver
    Office 10
    Posts
    2

    Need to fill date series (monthly) in a large document

    I have a large number of data in an excel sheet and I want to put monthly date like 1 to 6 January 2017 and after that 6 to 6 February 2017 then 1 to 6 March 2017 etc. and it will be continue automatically till the end.
    Example:
    1 A 01-Jan-17
    2 b 01-Jan-17
    3 c 01-Jan-17
    4 d 01-Jan-17
    5 A 01-Jan-17
    6 b 01-Jan-17
    7 c 02-Jan-17
    8 d 02-Jan-17
    9 A 02-Jan-17
    10 b 02-Jan-17
    11 c 02-Jan-17
    12 d 02-Jan-17
    13 A 03-Jan-17
    14 b 03-Jan-17
    15 c 03-Jan-17
    16 d 03-Jan-17
    17 A 03-Jan-17
    18 b 03-Jan-17
    19 c 04-Jan-17
    20 d 04-Jan-17
    21 A 04-Jan-17
    22 b 04-Jan-17
    23 c 04-Jan-17
    24 d 04-Jan-17
    Last edited by raselkhl; 10-15-2019 at 10:23 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Need to fill date series (monthly) in a large document

    Please Login or Register  to view this content.
    How to install your new code
    • Copy the Excel VBA code
    • Select the workbook in which you want to store the Excel VBA code
    • Press Alt+F11 to open the Visual Basic Editor
    • Choose Insert > Module
    • Edit > Paste the macro into the module that appeared
    • Close the VBEditor
    • Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)


    To run the Excel VBA code:
    • Press Alt-F8 to open the macro list
    • Select a macro in the list
    • Click the Run button
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    10-12-2019
    Location
    INDIA
    MS-Off Ver
    LATEST VERSION 1808
    Posts
    21

    Re: Need to fill date series (monthly) in a large document

    Hi,

    First you enter All Dates in Excel used By Dropdown (For Instance 01/01/2019 to 31/12/2022). Then

    01/01/2019 =Day() =IF(AND(B1>=1,B1<=6),"Okay","")
    02/01/2019 =Day() =IF(AND(B2>=1,B2<=6),"Okay","")

    After Copy pasting these formulas in all rows and then you can filter by Word "Okay". Now You get the Dates 01-06 From all years and All months.
    Last edited by madhumadhan; 10-14-2019 at 12:16 AM.
    -
    Madhan Krishnan
    Coimbatore.
    India.

  4. #4
    Registered User
    Join Date
    10-13-2019
    Location
    Khulna, Bangladesh
    MS-Off Ver
    Office 10
    Posts
    2

    Re: Need to fill date series (monthly) in a large document

    Thank you very much.

+ 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: 2
    Last Post: 06-21-2017, 02:30 AM
  2. Fill the date series through gaps
    By Rajendra_kodavaty in forum Excel General
    Replies: 2
    Last Post: 11-12-2016, 07:25 AM
  3. [SOLVED] Match nearest weekly date to monthly series, leaving other weeks blank
    By rw2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-23-2016, 05:57 AM
  4. Replies: 1
    Last Post: 08-02-2012, 03:58 AM
  5. automatically fill cell with end of date monthly
    By herukuncahyono in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-27-2010, 08:38 PM
  6. [SOLVED] Create a formula to fill in a date series without using
    By John in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2005, 01:05 PM
  7. [SOLVED] Filling in a Date Series using the Fill | Series menu command
    By Bob C in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-01-2005, 08:06 PM

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