How To: Get last price in an Excel column based on criteria

Get last price in an Excel column based on criteria

Want to retrieve a value in a given Excel column based on criteria from multiple other external columns? You can. And it's not so very hard provided you know what to do (hint: you'll use the LOOKUP function). Get in the know with this, the 541st installment of ExcelIsFun's series of Excel magic tricks.

Want to master Microsoft Excel and take your work-from-home job prospects to the next level? Jump-start your career with our Premium A-to-Z Microsoft Excel Training Bundle from the new Gadget Hacks Shop and get lifetime access to more than 40 hours of Basic to Advanced instruction on functions, formula, tools, and more.

Buy Now (97% off) >

Our Best Phone Hacks

Gadget Hacks' tips — delivered daily.

2 Comments

Thank you very much,but I want know How Data Validation and Conditional Formatting was done in this example.

Thank you very much, My questions was solved:
1 - B1 >Data Validation>List>Sweeter;Jacket;Pants
B2 >Data Validation>List>Small;Med;Large
2 - Conditional Formatting
Range A7:D14 > Formula =IF(AND($B7=$B$1;$C7=$B$2);TRUE)
3 - Last Price
B3 >Formula =LOOKUP(10^10;1/((B7:B14=B1)*(C7:C14=B2));D7:D14)
Is correct ? or nor ?
Thanks to you.

Share Your Thoughts

  • Hot
  • Latest