Extraxt highlisst Month

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,585
Office Version
  1. 2021
Platform
  1. Windows
I have dates in Col L in format dd/mm/yyy


I am trying to extraxt the highest month in Col L, by using the formula below buy get #value !


Code:
=MAX(L:L,MID(L:L,4,2))

It would be appreciated if someone could kindly assist my amending my formula



Excel 2012
S
3530/01/2018
3630/01/2018
3702/03/2018
3802/03/2018
Imported Data
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
If the dates are numbers:


Excel 2010
ABC
1Date
21/12/2018
311/18/2018
43/22/201811
57/6/2018
69/4/2018
75/7/2018
81/24/2018
910/21/2018
102/28/2018
113/20/2018
128/4/2018
132/1/2018
148/16/2018
151/9/2018
162/27/2018
173/19/2018
1810/1/2018
194/18/2018
2010/27/2018
213/8/2018
Sheet5
Cell Formulas
RangeFormula
C4{=MAX(MONTH($A$2:$A$21))}
Press CTRL+SHIFT+ENTER to enter array formulas.


if text, use the mid function instead of month
 
Last edited:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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