chaddres

Board Regular
Joined
Jun 14, 2014
Messages
144
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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,216,075
Messages
6,128,665
Members
449,462
Latest member
Chislobog

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