• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Get the latest value from a table

if the month is a real date - just formatted to show the month
and this may be a bit overcomplicated but try

=IF(COUNTIF($A$2:A2,A2)=MAX(COUNTIF($A$2:$A$8,A2)),INDEX($C$2:$C$8,MATCH(MAXIFS($B$2:$B$8,$A$2:$A$8,A2),$B$2:$B$8,0)),"")
 

Attachments

  • show latestest price - ETAF.xlsx
    9.7 KB · Views: 9
Strictly this is the last match rather than the latest
Code:
= LET(
    latestPrice, XLOOKUP(Material, Material, Price, "", ,-1),
    IF(latestPrice=Price, latestPrice, "")
  )
 
What does 9^9 do here?
9^9 is a lazy form (short form) of Excel Bignum 9.9999999999999999E+307, please see herein details as below link:


Regards
 
Back
Top