Это видео недоступно.
Сожалеем об этом.

Write an IF Statement for Dates Between Two Dates (Date Range)

Поделиться
HTML-код
  • Опубликовано: 1 мар 2020
  • Download the featured file here (including completed formula) excels-if-function.com/2020/0...
    This video demonstrates how to write an IF statement where you want to test for dates that occur between two dates. The video features three functions: IF, AND and DATEVALUE.
    The video looks at three ways you can achieve the IF statement result for date ranges.
    This video will be useful to you if you are asking the following questions:
    How do you write an IF statement between two dates?
    How do you use IF in a date range?
    How do I return a value if date within range?
    If date is between two dates then how do I return a value?
    How do I use an IF function in Excel for dates?
    How do you find the value if the date falls between two dates?
    ------------------------

Комментарии • 77

  • @omprakashojha9698
    @omprakashojha9698 3 года назад +4

    Awesome. This lesson resolved my query. Thank you!

  • @brandenbailey6384
    @brandenbailey6384 Год назад +1

    This was super helpful! Thank you for putting this together.

  • @zulqurnainahmad1130
    @zulqurnainahmad1130 3 года назад +1

    Excellent, I always had a hard time remembering AND with IF condition, u saved my day. thanks

  • @TG1181
    @TG1181 4 года назад +2

    Thank you so much for the explanation that has just helped me to crack the task.

  • @imagist.
    @imagist. 2 года назад

    THANK YOU.
    Exactly what I was looking for

  • @rachelmorris706
    @rachelmorris706 Год назад +1

    Thank you , 3 mins in and i ave my answer. I can go have a cup of tea now with the time I saved.

  • @kimriley9058
    @kimriley9058 4 года назад

    Thank you. Very easy to follow.

  • @Tigtigify
    @Tigtigify 4 года назад

    This video just helped me finish a worksheet with multiple references

  • @willemvantongeren7292
    @willemvantongeren7292 2 года назад

    Thank you very, very much!! In 5 min. Its all clear.

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 года назад

    Great job!! "Value" is also a useful formula.

  • @andreausa123
    @andreausa123 3 года назад

    This is what exactly i need . All the best wishes to you !

  • @BaseStation
    @BaseStation 3 года назад

    Took me 2 hours to find what I was looking for, but it was here. Found my answer by marker 1:25. THANKS!

  • @Serenalambre
    @Serenalambre 4 года назад +1

    Thank you, thank you, thank you!! Finally an answer to the dreaded date problem within formulas! I have just finished a very lengthy and quite expensive Excel course and I never got the answer to this question. Now can you expand even further and say, 'If the dates are between these ranges then add them up'?

  • @mdivyakanth
    @mdivyakanth 3 года назад

    thank you so much your logic helped me a lot

  • @collidowscope5054
    @collidowscope5054 3 года назад

    Thanks Bro! More informative content!

  • @yenyen5379
    @yenyen5379 3 года назад

    Thanks for this!

  • @ibrahimisrafilov1248
    @ibrahimisrafilov1248 3 года назад

    Solved my problem! Thanks

  • @rkvt
    @rkvt 3 года назад

    Easy peasy -- thanks!

  • @BernardoSeguraSilva
    @BernardoSeguraSilva 2 года назад

    it helps me a lot!! thanks!

  • @dhunpagla3871
    @dhunpagla3871 4 года назад

    Awesome Mr T.....Thanks

  • @andreausa123
    @andreausa123 Год назад

    Thank you Sir, nice teaching.

  • @Bec_love
    @Bec_love 3 года назад

    Thank you!

  • @jellylion2521
    @jellylion2521 4 года назад

    Thanks a lot!

  • @JacksonStith-uw5fu
    @JacksonStith-uw5fu 10 месяцев назад

    Thanks so much!

  • @VoteLaborOut
    @VoteLaborOut 4 года назад

    thanks for sharing

  • @RohitKumar-cc7zi
    @RohitKumar-cc7zi 3 года назад

    Thats a good think, just keep it up

  • @nikmazel5750
    @nikmazel5750 2 года назад

    thank you

  • @TeriBzw
    @TeriBzw 3 года назад

    Thanks, Chester. I am Your number 1 fan, nothing I was trying was working, I was getting sooooo frustrated.

  • @mohamedwahdan4698
    @mohamedwahdan4698 4 года назад

    Excellent, thank you, thank you so much,

  • @nattroy891
    @nattroy891 4 года назад

    Wow, your video totally solved my problem. I'd been racking my brain and doing GOOGLE searches, but I wasn't even aware of the datevalue function. Thank you!

    • @ChesterTugwell
      @ChesterTugwell  4 года назад

      Glad I could help!

    • @Stephon723
      @Stephon723 3 года назад

      This date value function is looking like it's the most promising thing so far for what I'm trying to do as well. However I'm trying to figure out why the first function it not automatically applying itself when I hit enter. I'm having to reenter the first date

    • @pkrenvironmentaldivision2839
      @pkrenvironmentaldivision2839 3 года назад

      @@ChesterTugwell I'm working on a spreadsheet for expiry dates for inspections to be conducted. I currently have it conditionally formatted to display colors when the due dates are within 2 date ranges. My question is once I have completed the inspection, is it possible to format it to have the previous inspection date go blank (delete) so that I can continue to use the same spreadsheet for future inspections? Thank you in advance, and great videos!

  • @juancruzstrubbia3428
    @juancruzstrubbia3428 Год назад

    THANK YOU!

  • @magicdrummer411
    @magicdrummer411 3 года назад +1

    I am looking for a formula that allows me to change data based on time of day.
    For example, I want a cell to change to a different link every 15 seconds.
    When I type in =IF(now()=time,reference data) it doesn't work.
    is there a way to get the NOW() to work in an if statement?

  • @quasardementor8434
    @quasardementor8434 2 месяца назад

    For ME was help-ul ths for info

  • @BrucutuPlayer1
    @BrucutuPlayer1 4 года назад

    Is there a way to find if a date is between a matrix and how many times does it appears ?
    for example, if in this sheet that you use is this video there was dates on cells F3...F18 and G3...G18 (matrix), how many times does the cell A8 (08/03/2020) appears on the matrix?
    sorry for my bad english, I hope you understood my doubt

  • @alexc5369
    @alexc5369 2 года назад

    what if you have a bunch of date ranges listed under columns A and B and a bunch of separate dates listed under column C, and you wanted the date range cells to highlight if any of the dates listed in C were within them?

  • @olgapascaru6952
    @olgapascaru6952 4 года назад

    What format does the data need to have in order for the function to work?

  • @berkmutlu31
    @berkmutlu31 2 года назад

    Can I use this for multiplite dates?
    For example: F and G 09.03.20 and 13.03.20 also 25.03.20 - 30.03.20. I want that it will highlight only dates between this two dates. Other ones will be not. Is there a solution to this?

  • @shakhawathossain3420
    @shakhawathossain3420 3 года назад

    Helpful. ..Deserve more video.

  • @SamFickelHomeLending
    @SamFickelHomeLending 2 года назад +2

    What if you wanted to do this with multiple date ranges?
    In this video, you used dates between the 9th and 13th to return a value (true/false).
    How would you do it if you wanted to see if the date fell between the dates and if so, return a value?
    For example, 9th-13th (James), or the 14th-20th (Jenna), or the 21st-30th (Robert)
    Would you have to stack all of the different functions within the same cell?

  • @alexlizano3853
    @alexlizano3853 Год назад

    How can I find a date range, between another date range? Lets say Colum A1: 11/02/2022 Column B2 11/30/2022, and then I have a list of initial and ending dates in separate columns, where I need to know an specific value for the dates in A and B Columns?

  • @8ksmiff502
    @8ksmiff502 Месяц назад

    Hi! can you help. I want a formula which trigger if a certain number is between a range of certain numbers....

  • @arpit840x
    @arpit840x 4 года назад

    Sir, I am facing a problem with retirement dates. If someone took birth before 15th day of a month, I have to choose the last day of previous month as his retirement day and if he took birth after 15th day, I have to choose the last day of the same month as his retirement day. Is there any solution to this problem?
    Is there any way to blend =EOMONTH(serial number, -1) and =EOMONTH(serial number, 0) with IF formulas?

  • @jimt7786
    @jimt7786 28 дней назад

    Your video is very helpful but I need help finding a Date between a range of dates
    I try to find out if a date in my list occurs during DST (Daylight saving time) or Standard time
    I need to calculate a time for an event in my spreadsheet and if the date will be during DST (Daylight saving time) they have to add 7 Hours if it falls during winter time that use standard time it should only add 6 hours
    So I have a list with 50 events during 10 year periods so I need to find out on every date if its durned DST or Standard time for that year
    I do have a table with the dates for DST start/end from 2014 to 2033

  • @redhaakhund1271
    @redhaakhund1271 3 года назад

    Thank you for the video, I have tow dates, From Date and To Date and I want to fill in the cell if he is on vacation or on Duty. How to do this. I use function TODAY() and still not working properly. Plz advise.

  • @johnabram4159
    @johnabram4159 4 года назад

    The "+0" trick was cool.

  • @UnknownChannel88889
    @UnknownChannel88889 2 года назад

    What if you have 3 columns all have dates, then you want the 3rd column to highlight if it is between column 1 and 2. YOu have 100's of dates. How do you get the between to go all the way down?

  • @ckelly6556
    @ckelly6556 4 года назад

    This looked so promising for what I need, but I just can't figure it out. Maybe someone can help me in the comments.
    I'm trying to use conditional formatting based on two different columns of dates.
    Basically, if DATE2 is greater than two years of DATE1, DATE1 is highlighted.
    Any help is greatly appreciated!

  • @FREAK12111
    @FREAK12111 Год назад

    🙋‍♂️ question. How can I create a date series that covers just certain days of the week. I need a date series that covers mondays tuesdays and Thursdays.

  • @robertlindlner720
    @robertlindlner720 3 года назад

    Can we do the same in time values?

  • @TheSardOz
    @TheSardOz 2 года назад

    ❤️

  • @alanwebb1885
    @alanwebb1885 Год назад

    Hi There how would I return a Expired in a cell, I have got a Manufactured date and a Expired date ?

  • @Stephon723
    @Stephon723 3 года назад

    I setup my page exactly the same with the one exception. Column A is a list of names. Column B lists the dates. Otherwise everything is the same including the headers and the formula. They issue that I'm having is that when I enter the first Formula explained, under "refer to cell", the formula applied but it does not recognize the date in column B. It is not until I re-enter the date that it actually applies. He does not have to do that in this video. I want to apply the formula to a spreadsheet that is already full of dates.
    Column A John Doe
    Column B 2020/09/13
    Column C =AND(B2>=$G$2,B2

  • @stevenjohnstone5833
    @stevenjohnstone5833 10 месяцев назад

    Great video. BUt I can't find a way to get a calculation to run at a given time of day. For example I have live data which is ever changing via web connected table. I want to sum the vales of one column at say 10:PM. How would I be able to do this. This would be a web table without any correspondingtime values. I just want to calculate values as a snap shot in time. I would have a new table with a set of time vales and would want to create a snapshot sum against each time value. e.g I would have time values 10pm 10:05 pm, 10:10pm ... etc and create a sum value for each. So the corresponding cell would be blank until calculated. For exaple I a monitoring the Dax via a web connection and want to do a straight sum of % change in price of all the companies in the table as a sequence of snapshots in time every five minutes of the trading day and store them in a table. can you think of a way to do this?

  • @Stephon723
    @Stephon723 3 года назад +1

    So let me try just asking someone to help me with exactly what I need. I want everything on a row to be red if the date in column B is prior to September 1st. I wanted to be green if it is September 1st or later.
    And I should clarify I'm only using column A and B. A is the name B is date. I want column A and B to have the highlighted color. Not C & Beyond
    What is the formula I need to use for this?

    • @omprakashojha9698
      @omprakashojha9698 3 года назад

      I think applying the conditional formula twice i.e with both conditions, would help.

  • @casino110
    @casino110 Год назад

    Please list 2-3 dates and time ranges that you could do an interview.

  • @gopalashetty3592
    @gopalashetty3592 3 года назад

    I subscribed your channel. Please show what are the possible ways that a PDF file can be transfered to EXCEL.

  • @khemangeegavhade2655
    @khemangeegavhade2655 Год назад

    How can we do the same thing in vba?

  • @alexa2294
    @alexa2294 3 года назад

    Now, I am sure this can be done, just don't know where I am getting wrong here if any kind soul could assist, will make me a happy person. Thank you
    Essentially trying to create a conditional format to cell A2 that allows someone to be able to input only weekdays between the dates below. Thank you
    =IF(AND(A2=WEEKDAY(A2,2)=DATE(2021,1,1),A2

  • @ericscalise2992
    @ericscalise2992 3 года назад

    what if you have multiple start and end dates?

  • @coldavenue2325
    @coldavenue2325 2 года назад

    How to find the exact dates which overlap?

  • @graysongrzybowski943
    @graysongrzybowski943 2 года назад

    Is there a way of displaying a cell with a color IF the date is within a few days to a given date? Lets say I have a due date of some day. If todays date is within a few days before its date I want it to display a color denoting its coming time to get the job done.

  • @lifelessonfromramayana3979
    @lifelessonfromramayana3979 2 года назад

    How to find the date from the specifics list that falls between two given dates

  • @manishlal795
    @manishlal795 4 года назад

    Nice job, sir I want to compare month formula not date only month. Say in my row there r different dates and I want to change serial no when date starts another months or year hoe could be possible.

  • @user-mn9et4pv2o
    @user-mn9et4pv2o Год назад

    What if you have multiple dates.

  • @crazytandons
    @crazytandons 3 года назад

    This is not working in excel please help??????????

  • @anta_9z
    @anta_9z 2 месяца назад

    Why its not working in mine🥺

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 года назад

    Another option similar to add 0 ist multiply by 1!

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 года назад

    Another option is to apply the double "--"

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 года назад +1

    Give you the extra-formulas:
    =IF(AND(A2>=VALUE("09/03/2020");A2="09/03/2020"*1;A2=--"09/03/2020";A2