Excel Magic Trick 848: Create List of Dates For Month With Formula

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Download Excel Start File: people.highlin...
    Download file: people.highlin...
    Learn how to:
    1. Given the month as text and the year as a number, see how to get the first of the month and the last of the month and a list of dates for the month.
    2. Learn about the YEAR, MONTH, EOMONTH, IF, ROWS and DAY functions.
    3. See how to extract the month as a number from the month given as text using the MONTH function and ampersand one &1

ความคิดเห็น • 97

  • @itsrichyvee
    @itsrichyvee 10 วันที่ผ่านมา

    This trick was posted 12 years ago, and it JUST helped me TODAY in 2024.
    THANK YOU!

  • @jegramat
    @jegramat 2 ปีที่แล้ว +1

    I have been coming back to this video several times. It is so GOOD!!!

  • @ServiceManagerMumbai
    @ServiceManagerMumbai 9 หลายเดือนก่อน +1

    for those of you looking for Columns this is the formula =IF($D$1+COLUMNS($F3:F3)-1>$D$2,"",$D$1+COLUMNS($F3:F3)-1), where d1 is start date, d2 end date and f3 is from where is start

  • @stuatbendigo
    @stuatbendigo 2 ปีที่แล้ว +2

    Yes, I know! 10 years ago and still VERY relevant!!! Many thanks - this helped me solve a very similar problem. GREAT job Excelsfun!!

  • @KatLeFevre
    @KatLeFevre 8 ปีที่แล้ว +2

    This was exactly what I needed, and I really appreciate you putting the files out so that I could use them. You've saved me hours and hours of work and frustration.

  • @alexpda2501
    @alexpda2501 6 ปีที่แล้ว

    Thanks a lot for this! Exactly what I needed! And thanks for keeping your files online for so long ;) 7 years and counting!

    • @excelisfun
      @excelisfun  6 ปีที่แล้ว

      You are welcome for keeping all the videos posted : ) Thanks for the support with your comment, Thumbs Up and Sub : )

  • @swee8181
    @swee8181 3 ปีที่แล้ว +1

    Can I become as great as you in excel Mike? Wow.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @gk039 , it is just in the programming of the MONTH Function. "Dec1" is just considered a date.

  • @Victork32
    @Victork32 5 ปีที่แล้ว

    Great Video, Exactly what I needed. The only thing that I need to figure out now is to display only the 1st threw the 15th as one option (First Half Month), then select the second half of the month and it would display from the 16th to the end of the month. I only have about 15 cells to work with under "Dates".

  • @jorgegarcia4983
    @jorgegarcia4983 3 ปีที่แล้ว

    Thank you, specially for the tricks working with each formula...

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      You are welcome, Jorge!!!

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @jradovich , I am glad that it is useful for you!

  • @tealpacyna4440
    @tealpacyna4440 7 ปีที่แล้ว

    Haha Date function! Excellent video, I have been looking for this formula forever!

  • @krn14242
    @krn14242 12 ปีที่แล้ว

    Mike, thanks and you displayed great patience by continuing the video with the screaming in the background.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว +2

    @krn14242 , yes, Isaac, the five year-old, was fighting with his older brother, Big D, 15 years old. Even after I ask them to stop, they did not... I should have used the Excel function, KIDSSTOPSCREAMINGRIGHTNOW().

    • @788vinayak
      @788vinayak 6 ปีที่แล้ว

      ExcelIsFun is there something i can add to formula to have it not show weekends (sat and sun)

  • @jradovich
    @jradovich 12 ปีที่แล้ว

    Thank you very much for the videos! I find them highly instructional and useful.

  • @javiermercado5221
    @javiermercado5221 4 ปีที่แล้ว +1

    Awesome Ive spent about an hour looking fr just this. Thank you! is there any way to just have it return just weekdays? or exclude holidays?

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    You are welcome!!

  • @emt6388
    @emt6388 6 ปีที่แล้ว +1

    This formula is exactly what I have been looking for!. The only difference is that I need the dates in a range of columns across the top of the sheet, not vertically down the side of the page I've switched the row functions with columns and tried to adjust the formula but I just can't get it to work. Any help would be greatly appreciated!

    • @uttarasahastrabuddhe729
      @uttarasahastrabuddhe729 ปีที่แล้ว

      Did you get the solution. you are describing exactly what I need. I would appreciate it highly if somehow you come back to this comment after 4 years and send me the solution.

  • @billliew7752
    @billliew7752 ปีที่แล้ว

    Watching this on Nov 1 2022, thank you!

  • @waynehellyer2249
    @waynehellyer2249 11 ปีที่แล้ว +3

    hello great video
    just one question on the last bit when you double click on the dates section it copy's down wards, but i need to go across the page it copy's but the numbering isn't showing, only showing on the first cell. thanks

    • @uttarasahastrabuddhe729
      @uttarasahastrabuddhe729 ปีที่แล้ว

      Did you get the solution. you are describing exactly what I need. I would appreciate it highly if somehow you come back to this comment after 9 years and send me the solution.

  • @milochan8889
    @milochan8889 8 ปีที่แล้ว +2

    is there a way to autofill dates in a row but always have it exclude Tuesdays? Like 1/1/2016 to 1/7/2016 but it'll omit the 5th because it's a Tuesday. I guess it'll save me a little time having to go back and delete that particular row or column Tuesdays are on.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @devilslowman , when you try the MONTH function, how does it not work? What error are you getting? What is the result that you are getting? What formula did you type?

  • @JFaithfull
    @JFaithfull 10 ปีที่แล้ว

    fantastic. I wish you well and thanks for all your help.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @MrKareem79 , I am not sure. How is it not working? What error do you see?

  • @subhamsaha2235
    @subhamsaha2235 2 ปีที่แล้ว

    Fallen in love with excel

  • @tofanpolaki8473
    @tofanpolaki8473 6 หลายเดือนก่อน +1

    Thanks!

    • @excelisfun
      @excelisfun  4 หลายเดือนก่อน

      Thank you so much for your kind donation. It really helps : )

  • @longbill5429
    @longbill5429 3 ปีที่แล้ว

    Thank you so much for great info. You're the best!

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      Glad to help, Long Bill!!!!

  • @fernando5166
    @fernando5166 11 หลายเดือนก่อน +1

    thanks you

  • @jezjoseph9461
    @jezjoseph9461 7 ปีที่แล้ว

    blew my mind , thanks very much just what I needed

  • @chowman007
    @chowman007 8 ปีที่แล้ว +1

    Hi Excel is fun. awesome lesson. I was looking for this year's ago n I finally found it. I understand you are a busy man, however, if possible, I would like to present to you a challenge. Being that am working with pay periods 1st-15th, n 16th- 31st (leap year---by brain is burning) how can you incorporate this modification to your work page? I would truly welcome your input when ever you get the opportunity thanks n God bless.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @arnoldwilso , Yes, in the next two months.

  • @cake222222
    @cake222222 5 ปีที่แล้ว

    You are genius! Can you also teach me how to create same function with fiscal calendar? Thanks!

  • @HarleyEsguerra
    @HarleyEsguerra 8 ปีที่แล้ว

    Hello all - Absolutely amazing BUT I have a small question? I would like to ADD the days to different rows. I am building a resource plan for my project and the deployment schedule spreads across 3.5 months. I want to show the first MONTH then ADD the 2nd MONTH then 3rd MONTH and last MONTH on different columns. Column A would be Jan then click a button to add then add Feb to column B to all the way to COLUMN D. The video shows how to add 1 month to one column BUT can you show me how I can add new months to the next columns?

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @professional80 , I do not know. What error did you get?

  • @abhishekmahendru1583
    @abhishekmahendru1583 3 ปีที่แล้ว

    Oh this helps, thank you. How do I add team members to these dates so I can select the day, and get their data? Also, am I able to apply same for number of sheets on that excel file?

  • @kaymater4592
    @kaymater4592 8 ปีที่แล้ว

    Hi ExcelIsFun, Thanks for the video! I have created it but wanted to find out if there is something I can add to the formulas to have it not show the weekends. I am making a payroll calendar and we don't work on weekends. Please let me know. Thanks for any help you can offer!

  • @Ismailkhan-gw8ee
    @Ismailkhan-gw8ee 5 ปีที่แล้ว

    amazing and very nice function formula,actually i want to know how we can link it our data sheets ,scrolling up down automatically.for example i have a yearly financial report in which every vehicle have its own different types of expense and its revenue etc...please advise I am a but new user...Thank you

  • @clementjoe3807
    @clementjoe3807 5 ปีที่แล้ว +1

    cellB3=DATE(B2;MONTH(B1&1);26)
    cellB4=DATE(B2;MONTH(B1&1)+1;25)
    cellA7=IF(ROWS($A$7:A7)>DAY($B$4-$B$3+1);"";$B$3+ROWS($A$7:A7)-1)
    Hi, I'm using the formats as above because the payroll is from 26th current month till 25th of the following month. I modified the formulas for my own preference. I'm getting #value when i choose the month Dec. help me out.

  • @IV216RA
    @IV216RA ปีที่แล้ว

    My calendar starts in 2012-2022, here what I am looking for having to start dates in January. So further down in Jan I need to place 1st again keeping the top half the same. There's a new first day in January fill out all the way to December 2022 with leap years intact for each year.

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @Carrier628 , ya, my 5 year old was fighting with my 15 year old!

  • @normanvillodres385
    @normanvillodres385 ปีที่แล้ว

    Thank u so much sir

  • @khalidjuma5530
    @khalidjuma5530 3 หลายเดือนก่อน

    Why the formula is not working in my excel? I am using excel 2013, might that be the problem of not recognizing the formula?

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @MrKareem79 , what is the formula you typed?

  • @arumohajcet
    @arumohajcet 6 ปีที่แล้ว

    i have one questions like, i have predefined table(every month) which is we manually enter Calender Week as per the month, ( for ex:- this july 2018 -> cw 27, cw 28, cw 29, cw 30, cw 31..) , for this i want to do some automation in userform as well in Excel sheet also,, is there any method is there ? please help me if you come across or done before ?

  • @MrKareem79
    @MrKareem79 12 ปีที่แล้ว

    firstly, i want to thank you for your useful videos. i tried try use the month function on excel 2007, but it doesn't work. is it really, or am doing something wrong?

  • @rayrios3811
    @rayrios3811 2 ปีที่แล้ว +1

    Is it possible to do this for columns vs rows? I want the dates to calculate horizontally instead of vertically. But when I swap out "ROWS" for "COLUMNS", I get a bunch of blank cells after the first day of the month.

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน

      did u get the solution, i also want the same

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน

      for those of you looking for Columns this is the formula =IF($D$1+COLUMNS($F3:F3)-1>$D$2,"",$D$1+COLUMNS($F3:F3)-1), where d1 is start date, d2 end date and f3 is from where is start

  • @srikhas
    @srikhas 2 ปีที่แล้ว

    thanks this really helped...

  • @oobeidi
    @oobeidi 7 ปีที่แล้ว

    Thxxx. Needed this one!!

  • @mohamedhasanbasari
    @mohamedhasanbasari 6 ปีที่แล้ว

    Hi, Thank you for your tuts, I want to know in between two month Formula Ex: Jan-Mar, & 2018 & 2019

  • @redhaakhund1271
    @redhaakhund1271 3 ปีที่แล้ว

    Super👍👍👍👍👍🙏

  • @chowman007
    @chowman007 8 ปีที่แล้ว

    I tried your formula n it works. it just continues listing past the end date of the pay period. I adjusted your formula to read as follows:
    =if (rows (c $31:c31)>=day (L$10)," ",K $10+rows (c $15:c15)-1)

  • @saud_irfan
    @saud_irfan 2 ปีที่แล้ว

    best video for that

  • @Francoltd
    @Francoltd 11 ปีที่แล้ว

    Hello, is there a way to exclude weekends and holidays from the list?

  • @kingstech7
    @kingstech7 2 หลายเดือนก่อน

    What if I want to create for only December

  • @jeffkabs2394
    @jeffkabs2394 ปีที่แล้ว

    Hello,
    I would like to create a workbook for a savings and credit cooperative. This workbook would need to auto-update with years, past, present, and future months. The months would need to range from 2023 to infinite, and the years would need to range from 2023 to infinite as well. The workbook would need to track member id or account names and payments made of deposits, savings, personal accounts, loans received, loan payments, etc. Is this something you can help me with?

  • @suvamagarwal8132
    @suvamagarwal8132 3 ปีที่แล้ว

    When using the EOMONTH function instead of getting a date I'm getting a serial number. How can I turn it into the date?

  • @sherynesanto7863
    @sherynesanto7863 3 ปีที่แล้ว

    How about for columns?

  • @meetlathiya211
    @meetlathiya211 3 ปีที่แล้ว

    what if we want this in column manner ?

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @hoggrobinson , Yes, it totally stopped working on my computer too! Especially today Chritmas Eve. The kids kept screaming and the Excel function just did not work!?!?!

  • @niveditaroy754
    @niveditaroy754 7 ปีที่แล้ว

    I have created it. but I put some data respective date and month year , when I have changed the month year dates are changed but data is not changed. how I can change the data with month and year.

  • @AroundTheAtlas1673
    @AroundTheAtlas1673 7 ปีที่แล้ว

    Is it possible Create a List of Dates For a particular year With Formula

  • @gk039
    @gk039 12 ปีที่แล้ว

    Hi Mike,
    Just a quick question. How does Excel interpretes month(A1&1) as a number? Do we have to take it as is or is there a logic behind it?
    Thanks
    George

  • @jimaevich
    @jimaevich 11 ปีที่แล้ว

    it's perfect but why is not this template working on my excell 2007??? i do not get

  • @loraineoregan4432
    @loraineoregan4432 7 หลายเดือนก่อน

    Does anyone know how to omit weekends???? Thanks

  • @devilslowman
    @devilslowman 12 ปีที่แล้ว

    I type =month(B1&1) in cell b4, the result show #value!, when I highlight "B1&1" in the formula and press F9 it show Jan1, but after I press enter the result is #value!. Have I done anything wrong about this formula?
    Thanks~~~

  • @jaisiva2
    @jaisiva2 5 ปีที่แล้ว

    How to add day into the same sheet

  • @vincentvalerian
    @vincentvalerian 4 ปีที่แล้ว

    @ExcellsFun how can I have this copied horizontally instead of vertically? Please assist

    • @tonnikan
      @tonnikan 4 ปีที่แล้ว

      Hi, I do not know if you already got it but I was working on the same and the solution is to use Columns instead of rows COLUMNS($B15:B15) and put the $ symbol like I did in front of the Letter

  • @acma1124
    @acma1124 6 ปีที่แล้ว

    hey man i am very please if you help me on my matter related to excel:
    i have a question related to excel. plz help. i have created a list of different products by data validation. now in the need sheet i want to select a product in the list. now i want this. when i write a letter or 2 letter related to any product of the list, is it possible that rest of the name of product shows.

  • @CamerieriZeppoleMix
    @CamerieriZeppoleMix 6 ปีที่แล้ว

    you busy to answer QQ?? in column A i need to add one day for every three rows for all a month. how do that???

  • @ServiceManagerMumbai
    @ServiceManagerMumbai 9 หลายเดือนก่อน +1

    how to do this formula for coloumns

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน +1

      i am also searching for coloumns, if u get the formula please let me know alos. iam working on something big and stuck at dates only haha

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน +1

      for those of you looking for Columns this is the formula =IF($D$1+COLUMNS($F3:F3)-1>$D$2,"",$D$1+COLUMNS($F3:F3)-1), where d1 is start date, d2 end date and f3 is from where is start

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน +1

      for those of you looking for Columns this is the formula =IF($D$1+COLUMNS($F3:F3)-1>$D$2,"",$D$1+COLUMNS($F3:F3)-1), where d1 is start date, d2 end date and f3 is from where is start

    • @ServiceManagerMumbai
      @ServiceManagerMumbai 9 หลายเดือนก่อน +1

      for those of you looking for Columns this is the formula =IF($D$1+COLUMNS($F3:F3)-1>$D$2,"",$D$1+COLUMNS($F3:F3)-1), where d1 is start date, d2 end date and f3 is from where is start

    • @tofanpolaki8473
      @tofanpolaki8473 6 หลายเดือนก่อน

      Thank you buddy. This comment helped me a lot. Thank you @excelisfun

  • @islamic31399
    @islamic31399 2 ปีที่แล้ว

    Great

  • @excelisfun
    @excelisfun  12 ปีที่แล้ว

    @devilslowman , I do not know what the problem is. Sorry.

  • @madhavneupane7947
    @madhavneupane7947 6 ปีที่แล้ว

    Hello everyone !!!!!!
    I am from nepal. In nepali date month of February consists above 28 days so if i want to write the date above 28 its date format will be yyyy-mm-dd instead of mm/dd/yyyy . how to make this format as mm/dd/yyyy.
    Thanks !!!!

  • @devilslowman
    @devilslowman 12 ปีที่แล้ว

    I have try the month formula but it doesn't work, I am using excel 2007 :(

  • @jennifermioni5189
    @jennifermioni5189 7 หลายเดือนก่อน

    I am getting a #REF error?

  • @blogstag
    @blogstag 6 ปีที่แล้ว

    excel me date ko replace kaise krte hai

  • @aldinvarenikic2253
    @aldinvarenikic2253 11 ปีที่แล้ว

    I think i had the same problem when i typed January instead of Jan. So try to correct the names of the months and check what will happen.

  • @haseebmughal8837
    @haseebmughal8837 9 หลายเดือนก่อน

    Not for month DEC