Hi all,
I would like to find a way using vlookup for the newest price as below.
But Vlookup always return the first value on the table.
Kindly help me to solve it
Thanks
imagec404d.png
Hi all,
I would like to find a way using vlookup for the newest price as below.
But Vlookup always return the first value on the table.
Kindly help me to solve it
Thanks
imagec404d.png
In B11 copied down:
=LOOKUP(2,1/(($A$2:$A$7=A11)*($C$2:$C$7=MAXIFS($C$2:$C$7,$A$2:$A$7,A11))),$B$2:$B$7)
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. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
In B11
=SUMIFS($B$2:$B$7,$C$2:$C$7,MAX(INDEX(($A$2:$A$7=$A11)*$C$2:$C$7,0),0),$A$2:$A$7,$A11)
Copy down
Life's a spreadsheet, Excel!
Say thanks, Click *
In general, is the last model always the newest?
Try:
=LOOKUP(2,1/($A$2:$A$7=A11),$B$2:$B$7)
Quang PT
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks