Return Value to the Left of Minimum Value

Justinian

Well-known Member
Joined
Aug 9, 2009
Messages
1,557
Office Version
  1. 365
Platform
  1. Windows
I am tracking work order production so I have dates in column A and values in column B. I am trying to search for the minimum value in column B and return the date directly to the left of that minimum value. I searched and tried INDEX MATCH and OFFSET but they are not working.

Any ideas?
 

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).
There are duplicate in the provided sample.
Book1
ABC
41/4/202411062
101/12/202413352
151/19/202413352
372/20/202411902
392/22/202411902
402/23/202411062
553/15/20247432
573/19/20247432
Sheet2
Cell Formulas
RangeFormula
C4,C10,C15,C37,C39:C40,C55,C57C4=COUNTIF($B$2:$B$78,B4)


Anyhow, try
Excel Formula:
=XLOOKUP(MIN(B1:B77),B1:B77,A1:A77,,,-1)
 
Upvote 0
There are duplicate in the provided sample.
Book1
ABC
41/4/202411062
101/12/202413352
151/19/202413352
372/20/202411902
392/22/202411902
402/23/202411062
553/15/20247432
573/19/20247432
Sheet2
Cell Formulas
RangeFormula
C4,C10,C15,C37,C39:C40,C55,C57C4=COUNTIF($B$2:$B$78,B4)


Anyhow, try
Excel Formula:
=XLOOKUP(MIN(B1:B77),B1:B77,A1:A77,,,-1)
Awesome, thank you!

There are duplicate in the provided sample.
Book1
ABC
41/4/202411062
101/12/202413352
151/19/202413352
372/20/202411902
392/22/202411902
402/23/202411062
553/15/20247432
573/19/20247432
Sheet2
Cell Formulas
RangeFormula
C4,C10,C15,C37,C39:C40,C55,C57C4=COUNTIF($B$2:$B$78,B4)


Anyhow, try
Excel Formula:
=XLOOKUP(MIN(B1:B77),B1:B77,A1:A77,,,-1)
Awesome, thank you!
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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