# find the last date in the month

#### Nico Learning

##### New Member
Hi All you Genius

I don't know if this is doable but i have an excel spread sheet where in column a i have the list of date and in row b:J i have some tasks

is there a way where i can find out the date of the last task with in a particular month?

e.g. if the month is October then i would like to see the date of the last task as 20/10/09 if thats the last date that i have to do a task

if this is not clear enough i can send an example to you via email if any of you are want

regards
Nick

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

#### Domski

##### Well-known Member
Something like:

=MAX(IF(MONTH(\$A\$1:\$A\$10)=MONTH(TODAY()),\$A\$1:\$A\$10))

Confirmed with Ctrl+Shift+Enter as it's an array formula.

Dom

#### VoG

##### Legend
Try

=DATE(YEAR(TODAY()),MONTH(TODAY())+1,0)

1,101,802
Messages
5,482,986
Members
407,371
Latest member
Ernest F Mink

### This Week's Hot Topics

• Finding issue in If elseif else with For each Loop
Finding issue in If elseif else with For each Loop I have tried this below code but i'm getting in Y column filled with W005. Colud you please...
• MsgBox Error
Hi Guys, I have the below error show up when i try and run my macro in File1 but works fine if i copy and paste the same code into file2. [ATTACH...
• CELL FORMAT - IF CONDITION
My Cell Format is [B]""0.00" Cr". [/B]But in the cell, it is showing 123.00 for editing. (123 is entry figure). (Data imported from other...
• Show numbers nearly the same
Is this possible. I have a number that can change very time eg 0.00001234 Then I have a lot of numbers 0.0000001, 0.0000002, 0.00000004...