Return Min/Max of One Column Based on Min/Max of Another Column, Without Helper Column

DerekK

Board Regular
Joined
Jun 18, 2007
Messages
93
Office Version
  1. 2003 or older
Platform
  1. Windows
AB
1TimeDate
210:0028/11/2023
311:0028/11/2023
412:0027/11/2023
507:0029/11/2023
608:0029/11/2023
709:0029/11/2023

How do I return, e.g., "07:00 29/11/2023?" That is, the minimum time from the maximum date, with a formula but without a helper column?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
This may work for you. You will probably need to enter the forumula with the CSE (CNTL-SHFT-ENTR) keystroke.

Mr Excel Questions 73.xlsm
ABC
1TimeDate
210:0028/11/202307:00 29/11/2023
311:0028/11/2023
412:0027/11/2023
507:0029/11/2023
608:0029/11/2023
709:0029/11/2023
Derekk
Cell Formulas
RangeFormula
C2C2=(MAX($B$2:$B$7))+1/MAX(IFERROR(1/(($A$2:$A$7)*(MAX($B$2:$B$7)=($B$2:$B$7))),0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Last edited:
Upvote 0
Solution
Two other options depending on what version you have
Fluff.xlsm
ABC
1TimeDate
210:00:0028/11/202329/11/2023 07:00
311:00:0028/11/202329/11/2023 07:00
412:00:0027/11/2023
507:00:0029/11/2023
608:00:0029/11/2023
709:00:0029/11/2023
Data
Cell Formulas
RangeFormula
C2C2=MAX(B2:B10)+MINIFS(A:A,B:B,MAX(B2:B10))
C3C3=MAX(B2:B10)+MIN(IF(B2:B10=MAX(B2:B10),A2:A10))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Both of these work -- I tried to mark both as solution -- thank you very much!
 
Upvote 0
Glad we could help, but what version of Excel are you using? It helps us to help you.
 
Upvote 0
Glad we could help, but what version of Excel are you using? It helps us to help you.
I appreciate it but I prefer to go with the "oldest" acceptable method, since I don't want to worry so much about whether it will work on a given computer / version.
 
Upvote 0
In that case select that in your profile, it saves members wasting their time providing a formula that will not work in older versions.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,198
Members
453,022
Latest member
RobertV1609

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