MAx Date and Time

vmjan02

Well-known Member
Joined
Aug 15, 2012
Messages
1,132
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
I have this column and nee dto find the max date and time in one function is there a way there may will be woth date and time,
any other function

TASK LAST UPDATE DATE
9/1/2023 21:11
9/1/2023 18:40
9/1/2023 15:01
9/1/2023 21:11
9/2/2023 14:46
9/4/2023 21:43
9/1/2023 19:47
9/2/2023 15:30
9/1/2023 21:57
9/3/2023 15:51
9/1/2023 18:53
9/1/2023 14:56
9/3/2023 15:33
9/2/2023 18:00
9/2/2023 16:35
9/3/2023 10:25
9/1/2023 21:11
9/4/2023 15:25
9/1/2023 20:24
9/1/2023 13:45
9/1/2023 21:11
9/1/2023 21:11
9/1/2023 2:23
9/1/2023 21:11
9/1/2023 21:11
9/1/2023 13:08
9/1/2023 19:10
9/1/2023 0:57
9/3/2023 11:01
9/1/2023 16:46
9/2/2023 20:17
9/1/2023 21:11
9/1/2023 21:11
9/3/2023 11:13
9/1/2023 21:05
9/1/2023 15:10
9/2/2023 15:23
9/1/2023 20:58
9/5/2023 14:37
9/1/2023 17:57
9/1/2023 20:11
9/1/2023 20:29
9/1/2023 21:11
9/1/2023 21:08
9/1/2023 17:12
9/1/2023 20:02
9/1/2023 21:08
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
The Max function does work with date & time
Fluff.xlsm
AB
1TASK LAST UPDATE DATE
209/01/2023 21:1109/05/2023 14:37
309/01/2023 18:40
409/01/2023 15:01
509/01/2023 21:11
609/02/2023 14:46
709/04/2023 21:43
809/01/2023 19:47
909/02/2023 15:30
1009/01/2023 21:57
1109/03/2023 15:51
1209/01/2023 18:53
1309/01/2023 14:56
1409/03/2023 15:33
1509/02/2023 18:00
1609/02/2023 16:35
1709/03/2023 10:25
1809/01/2023 21:11
1909/04/2023 15:25
2009/01/2023 20:24
2109/01/2023 13:45
2209/01/2023 21:11
2309/01/2023 21:11
2409/01/2023 02:23
2509/01/2023 21:11
2609/01/2023 21:11
2709/01/2023 13:08
2809/01/2023 19:10
2909/01/2023 00:57
3009/03/2023 11:01
3109/01/2023 16:46
3209/02/2023 20:17
3309/01/2023 21:11
3409/01/2023 21:11
3509/03/2023 11:13
3609/01/2023 21:05
3709/01/2023 15:10
3809/02/2023 15:23
3909/01/2023 20:58
4009/05/2023 14:37
4109/01/2023 17:57
4209/01/2023 20:11
4309/01/2023 20:29
4409/01/2023 21:11
4509/01/2023 21:08
4609/01/2023 17:12
4709/01/2023 20:02
4809/01/2023 21:08
Sheet5
Cell Formulas
RangeFormula
B2B2=MAX(A2:A48)
 
Upvote 0
aggred but if i do =max(A2:A48)-1 then it only minus the date and not time
so trying to fix this if date is -1 then it should take the time as well.
 
Upvote 0
If you have this in a cell
9/3/2023 10:25
and subtract 1 you are subtracting 1 day
9/2/2023 10:25

What are you expecting to happen?
 
Upvote 0
If you have this in a cell
9/3/2023 10:25
and subtract 1 you are subtracting 1 day
9/2/2023 9:15

the result is 9/2/2023 10:25 with max function
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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