HI,
as you can see the image below i have some numbers in "B Column" i want to get most recent date of each number in "H Column" through vlookup. since i am using office 365 i have xlookup also...file attached
thanks
latest date.png
HI,
as you can see the image below i have some numbers in "B Column" i want to get most recent date of each number in "H Column" through vlookup. since i am using office 365 i have xlookup also...file attached
thanks
latest date.png
Neither VLOOKUP nor XLOOKUP are required.
=MAXIFS($A$2:$A$84,$B$2:$B$84,G2)
You'll need to format cells as short date.
Please update your forum profile with MS365.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Thanks allot as it works perfectly, Can u add a condition if it doesn't find the number in columns it will give not found message. thanks
Last edited by AliGW; 07-12-2021 at 10:13 AM. Reason: PLEASE don't quote unnecessarily!
Yes:
=IFERROR(MAXIFS($A$2:$A$84,$B$2:$B$84,G2),"Not Found")
You still need to update your profile, please.
I tried it but it gives following error. i highlight it in red color.
Attachment 739948
Last edited by AliGW; 07-12-2021 at 10:16 AM. Reason: PLEASE stop quoting unnecessarily!
Try this:
=IF(MAXIFS($A$2:$A$84,$B$2:$B$84,G2)=0,"Not Found"MAXIFS($A$2:$A$84,$B$2:$B$84,G2))
Administrative Note:
Please don't quote whole posts, especially when you are responding to the one immediately preceding your own - it's just clutter. It's OK to quote if you are responding to a post out of sequence, but limit quoted content to a few relevant lines that makes clear to whom and what you are responding. Thanks!
For normal conversational replies, try using the QUICK REPLY box below or the REPLY button instead of REPLY WITH QUOTE.
Thanks for the rep.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Alternative solution using AGGREGATE: =IFERROR(AGGREGATE(14,6,$A$2:$A$84/($B$2:$B$84=G2),1),"Not Found")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks