I am trying to get the latest date from column B if the text in column A =Hamburger. I would like to return the result in cell C1. For the below example, it should return the date of 6/25/2022, im just not sure how to make that happen. Thanks.
Example:
Example:
FOOD (Column A) | DATE (Column B) |
Hamburger | 4/5/2022 |
Pizza | 5/23/2022 |
Sandwich | 7/5/2022 |
Hamburger | 6/25/2022 |
Fries | 3/28/2022 |
Hamburger | 5/1/2022 |