How to lookup a value if the date fall between two dates | Excel Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ต.ค. 2017
  • In this tutorial video, I am going to demonstrate how to use Match/Index functions to perform a lookup based on a date value to look up a date range (between two dates) and return the corresponding column.
    ► Buy Me a Coffee? Your support is much appreciated!
    ------------------------------------------------------------------------------------------
    ☕ Paypal: www.paypal.me/jiejenn/5
    ☕ Venmo: @Jie-Jenn
    💸 Join Robinhood with my link and we'll both get a free stock: join.robinhood.com/jiej6
    ► Support my channel so I can continue making free contents
    ---------------------------------------------------------------------------------------------------------------
    🌳 Becoming a Patreon supporter: / jiejenn
    🛒 By shopping on Amazon → amzn.to/2JkGeMD
    🗓 Get updated on new Python videos → / madeinpython
    📘 More tutorial videos on my website → LearnDataAnalysis.org
    📺 Also check out my 2nd channel Excel channel focus on sharing Excel tips: bit.ly/3B1DjSA
    ✉ Business Inquiring: TH-cam@LearnDataAnalysis.org
    #Excel #ExcelLookup #ExcelTip

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

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

    Not just saved my day, you saved my weeks. Much appreciated.

  • @TriciaBinGSO
    @TriciaBinGSO 8 หลายเดือนก่อน

    Thank you so much! This helps me determine which quarter a date falls into. SO helpful.

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

    and all this time I was stacking if formulas inside each other, one for every row in the reference. THIS IS SO MUCH BETTER!! THANK YOU!

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

    Thank you! I hadn't needed to do this in a while and really appreciate this helpful explanation! I needed to add another column to the array, but once I had the dates figured out, the additional criteria was simple.

  • @ErcanYagci
    @ErcanYagci 10 หลายเดือนก่อน

    Thanks. This was the one and only answer to my question on the web.

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

    This formula is exactly what I was hoping to find!, You are the best!

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

    This was extremely helpful. Thank you!

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

    This formula is epic, thank you!!

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

    Dude. I've literally been trying to figure out this problem all day! THANK YOU!!

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

      My processors are going to be crying over my 240,000 lines for the next two hour lol 😆

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

    Thank you for your clear and thorough demonstration - this is exactly what I needed to do with my data!

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

      Glad my video helped.

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

    Great video!! Just what i was looking for

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

    Can't thank you enough, this is exactly what I was looking for, thank you!

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

    Very useful, step by step. Thank you.

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

    This is exactly what I wanted and you have helped me BIG TIME!! BIG THANKS :)

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

    THANK YOU!! You just saved me so much time on my report!

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

    Thanks a lot. I never knew this formula. This is actually very helpful in my reporting at work. Keep posting such useful videos.

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

      Glad the video helped.

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

    This is excellent! Thank you! I've looked at videos for two hours trying to figure this out. You explained it quickly and easily. I didn't understand why you put curly brackets on the formula at the end because it didn't work, but when I took off the curly brackets then it worked. Is there a purpose for the curly brackets?

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

      I think because newer version of office doesn't require curly bracket anymore.

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

    great job

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

    Thanks man!!

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

    You're my saviour!

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

    you are a genius thank you so much

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

    Big help!!! Thank you!

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

    You absolute legend, thank you :)

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

    thank you for the amazing help !

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

    Perfect!!!!!!

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

    You are a life saver!

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

    Hi Jie,
    Thank-you
    This was very helpful!

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

      Glad my video helped.

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

    Perfect, thank you

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

    Great video helped me solve by issue

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

    very helpful, great job!

  • @linhtut2075
    @linhtut2075 4 ปีที่แล้ว +3

    I don't understand lookup value 1 in match function. Could you please help me explain?

  • @joshuaeichler-summers2173
    @joshuaeichler-summers2173 3 ปีที่แล้ว

    Thanks this was just what I wanted!

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

      Glad my video helped.

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

    Thank you sooooooo much, really helped me.
    I used range names and did not have to use C+S+enter , did not realize until I asked my self, Wait, where did I have to use C+S+ enter ? . 1000 thanks.👍🏻👍🏻👍🏻

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

    Thanks for your help. I want to do a calculation once I find a Match. do you have any video about that? So, once I locate the date fall into the date range, I would like to know the number of days between the 2 days

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

    Thank you.

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

    Unreal - huge help

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

    Thank you so much!!!

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

    Thank you for the amazing video! But I have one question! What if i have to include a criteria in this formula? Like: i need to search an ID in the range between two dates? What i have to do?

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

    Genius

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

    I have a calendar and need to find one/range of date/s, please advise, thanks

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

    I miss why it is “1” in the formula..? Would you please explain?

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

    I need one help..this is superb formula..what if I have different ranges for different number/I’d..example..1234 have range jan to feb and 3456 have range from mar to apr..the formula should first match with the number and then its range and throw the value..can u guide me

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

    What format in the date are you using?

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

      Hi Elizabeth, the date format in my example is "m/dd/yyyy". However, any date format should work. In column C, they are just regular texts

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

    Hey with this formula it gives only one data, if I have multiple data to match than how to find?

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

    Thanks for this Formula, I have a question about this
    Can we do this formula with multiple criteria, because I have tried it but always show ""NA"
    could you please help me out with this

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

      Not at the moment, time is tight.

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

    please how to add another criteria ?

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

    Is there a way to use this formula to pull the same information but if the date format in the lookup table is set to for example instead of 04/15/2017, it is April 15, 2017. I tried it and it is not working. thanks for your help

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

      Send me your Excel file to TH-cam@LearnDataAnalysis.org for me to take a look at it.

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

    Is there a way to use this in excel 365?

    • @jiejenn
      @jiejenn  4 หลายเดือนก่อน +1

      The formula should also works on Excel 365.

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

      @@jiejenn thank you!!

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

    I've tried your formula but it doesn't work. I've even created your spreadsheet hoping it will work but still doesn't. Any suggestions?

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

      If you send me your Excel file to jiejenn@businessanddata.org I can probably take a look.

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

      I also tried. But still not working. Pls assist.

    • @JJ-qq7oz
      @JJ-qq7oz 5 ปีที่แล้ว

      You have to use the 'Control + Shift + Enter' to get the array formula to return the correct figure. I missed that step and it didn't work by typing it in.

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

    Great! y u used 1 in match formula

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

      1 represent True value, meaning a non empty valhe.

  • @jinghuitham3074
    @jinghuitham3074 11 หลายเดือนก่อน

    why do you put 1 under the MATCH?

  • @David-tg8ku
    @David-tg8ku 4 ปีที่แล้ว

    Shouldn't the MATCH function read =MATCH(1,IF($E3>=$A$3:$A$7,IF($E3

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

      If your end date overlaps with a start date, then greater sign is correct. Otherwise, you want to use

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

    If i put a 1 in my match function, excel tryes to look for 1.

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

      Not following. What is the exact error message you got?

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

      Jie Jenn Thanks for reply. I figured it out. I have a danish version of excel. Here the match formula wont accept 1 or 0 as loopup input. I have to type either true or false. In this case i must type “True” where you put a 1.

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

    How do I message you?

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

      Hi there. My email is in the video description.

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

      Oops. My bad. Thanks

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

    I followed this precisely and it didn't work... ugh

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

    Cant see your formula

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

      Other people can see the formula just fine. Maybe your monitor is too small.

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

      @@jiejenn can I get that formula sir in msg or mail pls

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

      @@jiejenn thanks for ur valueable reply sir