Lookup the Last Value in a Column or Row in Excel | Get the Value in the Last Non-Empty Cell

Поділитися
Вставка
  • Опубліковано 10 лют 2025

КОМЕНТАРІ • 78

  • @martinduke218
    @martinduke218 11 місяців тому +2

    As with others, I am glad I came across your explanation. Much appreciated.

  • @volkaman
    @volkaman 2 роки тому +4

    Thank you very much! I had a persistent problem in which my formulas were correct, but excel was not accepting them. It placed a red border around my cell. For anyone experiencing this, know that it has to do with your regional settings. All you have to do is change " , " to " ; " in your formula. Hope you won't have to look for hours like me :) Good Luck!

    • @DomHC4L
      @DomHC4L 2 роки тому

      This solved my problem. Thank you very much!

  • @DeepakGupta-ng5ni
    @DeepakGupta-ng5ni 3 роки тому +4

    Scrolled through multiple results, finally stumbled upon your video, thanks a lot, this is the solution I was looking for (with blank cells)

  • @jonr6680
    @jonr6680 8 місяців тому +1

    Searching for a solution, found this vid, watched the explanation, CLEVER!!
    Thanks!

  • @BrianPhillipsRC
    @BrianPhillipsRC Рік тому

    Thanks so much! This was killing me, but you saved the day!

  • @thailandsnippets901
    @thailandsnippets901 3 роки тому +1

    Thank you . I tried searching google for the answer to my problem and tried their suggestions but they didnt work. I looked at your video and my problem was solved instantly and very clearly.

  • @dea.andrade
    @dea.andrade 2 роки тому +1

    This video was amazing. You are really good explaining! Thanks.

  • @willpatton
    @willpatton 2 роки тому

    Thank you. This is exactly what I needed explained because I was tired of reading unclear explanations and my self testing failing. This was clear and easy to follow. Well done! Thank you!

  • @narendrabishnoi9784
    @narendrabishnoi9784 2 роки тому

    Hey, your vedio is informative, just want to know how will it work with negative valves

  • @bryan_kutal
    @bryan_kutal 2 роки тому

    Invaluable formula! Thank you so much!

  • @tanyalobakova5098
    @tanyalobakova5098 5 місяців тому

    Thank you so much! It works 🎉

  • @DanielFlores-os9fr
    @DanielFlores-os9fr 2 роки тому

    Thanks for your video! by the way, how can I show the latest 5 records of a specific record or name in the list?

  • @CB-cy4tl
    @CB-cy4tl 2 роки тому

    I found this very useful! How can i amend the same formula to give the first value. not last ??

  • @shagunsharma2979
    @shagunsharma2979 Рік тому

    Great explanation sir, Thank you

  • @shashank_d_a
    @shashank_d_a Рік тому

    Thank you sir, great video. 😊

  • @cornellm2985
    @cornellm2985 2 місяці тому

    Sending you a cold one... Thanks!

  • @sarkarji960
    @sarkarji960 2 роки тому

    Thanks Sir searching many videos, but finally got it👍

  • @mohammadaijaz4901
    @mohammadaijaz4901 3 роки тому +1

    Wao Awesome! very informative tutorial Thanks for sharing this tutorial, Sir.

  • @michaelsvenson2456
    @michaelsvenson2456 2 роки тому

    Perfect, just what I was looking for, Thank´s 🙂

  • @xsightxchange2507
    @xsightxchange2507 2 роки тому

    Thanx alot brother...it very useful for me...

  • @benny9794
    @benny9794 2 роки тому

    THANK YOU! Well explained. To the point. Just what I needed.

  • @justindillon200
    @justindillon200 2 роки тому +2

    I just tried using this formula but it is returning the value in the top most cell, not the bottom. Any thoughts?

  • @sandipandas8565
    @sandipandas8565 5 днів тому

    Amazing ❤❤

  • @shrikantbhave
    @shrikantbhave 3 роки тому

    Thanks a lot, your video with this solution helped.

  • @JITISH1
    @JITISH1 2 роки тому +3

    Thank you for this video, This formula works great, except for when there is an actual 0 in the data, then it takes 0 as the last value in the column instead of the last non-zero value before the zero. How can I account for this? And can this be changed to return the first non-zero value in a column? Thank you again, great video.

    • @voiceofsoul7865
      @voiceofsoul7865 Рік тому +1

      The same query I have i.e. in a row my cells have some value and some cells have zero value but if I use the formula shown in the video, the answer I am getting is zero as the last cell has zero value. Kindly help me.

  • @halifiyn
    @halifiyn 3 роки тому

    is useful for me, thanks for helping and teaching.

  • @voiceofsoul7865
    @voiceofsoul7865 Рік тому +1

    Sir, I have a query i.e. i.e. in a row few cells have some value and few cells have zero value but if I use the formula shown in the video, the answer I am getting is zero as the last cell has the zero value. Kindly help me.

  • @ahmedemad1137
    @ahmedemad1137 3 роки тому

    Thank you so much , worked for me

  • @sarwaralam3977
    @sarwaralam3977 3 роки тому +1

    Thanks. Well explained. 👍

  • @wanglenkhuraijam8289
    @wanglenkhuraijam8289 7 місяців тому

    Thank you much❤❤❤❤❤

  • @Mojo4884
    @Mojo4884 2 роки тому

    Very good and helpful video; I wonder; though I may never use it if using the row can be inclusive as is the column i.e., (C:C) If so, what would be the syntax?

  • @excel_master_habib
    @excel_master_habib 2 роки тому

    Very helpfull for me....

  • @allanpark6046
    @allanpark6046 3 роки тому

    Thank you once again.

  • @Hugalot4
    @Hugalot4 2 роки тому

    The column I am using this formula on has formulas in the cells. Is there something that works if the column cells have formula in it?

  • @matthiasnott
    @matthiasnott 2 роки тому

    Thanks Chester. That's a very useful video. Now how would you, in your example, return the last value for only columns that have "Bob" as a header?

  • @kcl7676
    @kcl7676 2 роки тому

    Can you do this with multiple criteria?

  • @taisertown
    @taisertown 6 місяців тому

    Thank you very much sir

  • @abdullahhabib2867
    @abdullahhabib2867 3 роки тому

    Thanks, It Help Me A Lot.

  • @princejoe290
    @princejoe290 7 місяців тому

    good video, it gives me idea. But what I want to understand is how to get the last sale of the specific person. e.g. Bob.

  • @lakshyavasaniya5617
    @lakshyavasaniya5617 2 роки тому

    thankyou h]it helped a lot

  • @kevrush7823
    @kevrush7823 2 роки тому

    Is there a way of getting the 2nd last and 3rd last and so on?

  • @mdca8455
    @mdca8455 3 роки тому

    Thank you for a clear and concise explanation of the LOOKUP function and its use. It will be useful to have a video to show how you might LOOKUP the last value of a column/row from a different sheet within the same workbook (or even a different workbook). I needed this in my budget workbook so that I can start for example the month of February my February worksheet with the balance from the last entry in the January worksheet. =LOOKUP(2,1/('Jan 22'!E3:'Jan 22'!E25""),'Jan 22'!E25:'Jan 22'!E25). In position E3 in the February worksheet type this formula, and it will LOOKUP the last entry in worksheet Jan 22 in Column E from row 3 to 25. I only have 21 entries and allowed 4 more for later additions. Should you exceed 25 rows in your January worksheet, please remember to modify the number 25 in location E3 in the February worksheet to a number past your last row that includes your January balance. To use a location in a different workbook you will need to include the path to that workbook in the LOOKUP formula.

  • @davisjugroop3782
    @davisjugroop3782 2 роки тому

    I have a similar case where i need to find the value before last one. How to I achieve this?

  • @johnboffin476
    @johnboffin476 10 місяців тому

    You are great.

  • @febriamel9040
    @febriamel9040 7 місяців тому +1

    Mr.. How about 4 last sales?

  • @M_Kenshi
    @M_Kenshi Рік тому

    thanks so much

  • @EangKear
    @EangKear Рік тому

    Could you tell me how to look up the value at previous date in a column in excel please !

  • @robboyd869
    @robboyd869 2 роки тому

    Brilliant

  • @ナナゴネムリ
    @ナナゴネムリ 2 роки тому

    how should i do it if my data is in a different sheet? I'm having trouble doing this

  • @krushnakanth
    @krushnakanth 3 роки тому

    cam we use a lookup function in a non sequential cells
    for example
    find the last price of the product , when your data is in such a way that (quantity, price, value),(quantity, price, value),.... & these values are in a row

    • @mdca8455
      @mdca8455 3 роки тому

      Refer to the column in which price is.

  • @gokhangulsoy2128
    @gokhangulsoy2128 Рік тому

    THANK YOU!

  • @AlexPaula-fk4lz
    @AlexPaula-fk4lz 9 місяців тому

    Is there way to get the first value using this formula?

  • @USMCBEAVE
    @USMCBEAVE 2 роки тому +1

    Thank you for this. I am looking for this option but slightly different. I am looking for the 2nd last occurrence of data in a row. For example in Cell F5, I return the last data entry in that row by using the formula =LOOKUP(2,1/(5:5""),5:5). In Cell E5, I want to return the 2nd to last data entry in that row but can't figure out the best formula to do that or how to modify.

    • @Jump3RPictur3s
      @Jump3RPictur3s 2 роки тому

      hi Robert. if you do it for limited range of the lookup instead of entire row/column it's doable. technically it can be done for the entire row or column but you would need to take into consideration some error handling for when there's only 1 value (i.e. no 2nd last occurrence available at all)... you can simply get what you want like this though:
      =LOOKUP(2,1/(B6:XFD6""),A6:XFC6)
      you just shift the results by offset you want (1 column/row for 2nd to last occurrence, 2 columns/rows for 3rd to last occurrence, etc.)
      basically offset the result by N columns/rows to return N+1 last occurrence

  • @toddly19
    @toddly19 2 роки тому

    I need this forumla to ignore when its poulated as N/A
    Say Jan 1 and Jan 30 are set columnes populated by a vlookup
    its Jan 15, so the 16-30 is just N/A
    I need my lookup to populate the 15th cell and not the N/A cell on the 30th
    any ideas?

  • @khurrumiqbal1137
    @khurrumiqbal1137 3 роки тому +1

    NICE

  • @davidtostenson4083
    @davidtostenson4083 3 роки тому +1

    Do you have a way to index the last sale of each employee?

    • @mdca8455
      @mdca8455 3 роки тому

      It depends on how your data is organized.

  • @vanillavey1584
    @vanillavey1584 3 роки тому +2

    instead of getting the last value, i keep getting the first value. please help

  • @7absinth
    @7absinth 2 роки тому

    Any idea how to get second last value (or previous value from the current value)? I am out of idea. :(((

  • @pipo441
    @pipo441 7 місяців тому

    How to find the row number for the first occurring specific value??

  • @obamacare8679
    @obamacare8679 Рік тому

    What happens if I have an array that is like this [1,1,1,"", "", 1,1,1, "", ""]. How do I find the position of the last cell that is 1?

  • @mohamedfahad9313
    @mohamedfahad9313 2 роки тому

    i want last bob value , can you help me plz??

  • @piks974
    @piks974 2 роки тому

    How to get last cell value date? (As per your example)

  • @Hari-n4f
    @Hari-n4f 2 роки тому

    Using Lookup function, how we can find out the first value?

  • @FS2obscura
    @FS2obscura 3 роки тому +2

    Did not find value 2

  • @ruhulkhan596
    @ruhulkhan596 4 місяці тому

    Thak you

  • @micranes673
    @micranes673 5 місяців тому

    👍👍👍👍👍👍👍👍👍👍👍👍👍

  • @elishatigah1616
    @elishatigah1616 2 роки тому +1

    I tried this on google sheets and it said "Did not find value 2 in lookup valuation". Any help? Thank you!

    • @danielcheatham1537
      @danielcheatham1537 2 роки тому

      Try using the formula isblank and lookup false =lookup(false,isblank(A1:A100),A1:A100)

    • @TheHadMatters
      @TheHadMatters Рік тому

      @@danielcheatham1537 Both your version and the version in the video work in Excel. They provide exactly the same result, including checking for cells filled with non-numerical text.
      But neither of them work in Google Sheets. They return the topmost value of the list instead.
      I'm sure it's because of differences in rounding behaviour or how the program solves divisions by zero.

  • @harshbhurtun5975
    @harshbhurtun5975 2 роки тому +1

    How to get the column header once you get the last value?

    • @allang9313
      @allang9313 2 роки тому +1

      Using Chester's first formula as the example, change the second instance of C4:C20 to A4:A20. So, the formula changes from being:
      =LOOKUP(2,1/(C4:C20""),C4:C20), to
      =LOOKUP(2,1/(C4:C20""),A4:A20)
      Remembering to format the cell that you are entering the formula into as a date.

  • @700007123
    @700007123 Рік тому

    Does not work.