chaddres

Board Regular
Joined
Jun 14, 2014
Messages
143
Office Version
  1. 365
Platform
  1. Windows
I have a list of supplies in Column A and prices in Column B. I am constantly adding rows of data to the worksheet. I want to get the highest Value for "Sugar" and also the highest value for "Lemons". Is there a way to combine an IF Supply = "Sugar" with a Max function?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
If you have OFFICE 365 then you could use MAXIFS function.

If not try the array formula in cell D2 below.
This is an array formula that must be entered with CTRL-SHIFT-ENTER.
Excel Workbook
ABCD
1SuppliesPrice
2Sugar$ 4.00$ 5.00
3Sugar$ 5.00
4Lemons$ 4.00$ 5.00
5Sugar$ 1.00
6Lemons$ 4.00
7Lemons$ 3.00
Sheet
 
Upvote 0

Forum statistics

Threads
1,215,410
Messages
6,124,752
Members
449,186
Latest member
HBryant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top