If condition formula using dates/no. of days in the moth

Closed
Raghuram - Jun 11, 2015 at 12:38 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Jun 12, 2015 at 08:11 AM
Hello,
I work for a financial institution and looking for a formula with IF condition.If i collect that month installment, It should reduce the no of days in a month. Ex. if it is Jan 31 days , Feb 28 days etc., like for past 8 months. Kindly help


Related:

1 response

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Jun 12, 2015 at 08:11 AM
use end of month formula
Suppose you enter 1st June 2015 as
6/1/15
in my computer I have to enter date as month/date/year
in some computers it is date/month/year.
for you check control panel-region and language, format and see for short date.

then in A2 type the formla
=DAY(EOMONTH(A1,0))

format A2 as number with no decimals.
0