Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8411

Re: Convert Month name to month number

$
0
0

Hi Ankit,

 

You can try something like this;

=If  (([Yr] = FormatNumber(Year(ToDate(CurrentDate();"mm/dd/yyyy"));"####") And (MonthNumberOfYear(ToDate([Month Name];"Mmm")) <  MonthNumberOfYear(CurrentDate()))) Then [Sale Value] Else 0

 

Regards,

Yuvraj


Viewing all articles
Browse latest Browse all 8411

Trending Articles