How to get lowest last date of lowest price if you have 2 or more equal lowest prices?

Mathman

Board Regular
Joined
Jan 28, 2017
Messages
152
Office Version
  1. 2016
Platform
  1. Windows
If you can help that would be great.


Here's the example




Dates in years 2018 2017 2016 2015 2014
Prices 5 5 5 7 10


First the lowest price is 5 but then based on that I want the most recent or closest date to current which in this case would be year 2018.


Any suggestions?


Thank you!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Try:

ABCDEF
1
2Dates20182017201620152014
3Prices555710
4
5Most recent date for low value
62018

<tbody>
</tbody>
Sheet8

Array Formulas
CellFormula
A6{=MAX(IF(B3:F3=MIN(B3:F3),B2:F2))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>


You can also try:

=INDEX(B2:F2,MATCH(MIN(B3:F3),B3:F3,0))

if you don't want an array formula, and the dates are in descending order.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,452
Messages
6,124,914
Members
449,195
Latest member
Stevenciu

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