• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

Crysta- YTD formula

Can someone please tell me what this means:
if {openeddate} in iif(month(currentdate)=1, minimum(LastYearYTD) to date(year(currentdate)-1,12,31),YearToDate) and {openeddate}<= maximum(LastFullMonth) then
1
else
0
0
moni81011
Asked:
moni81011
1 Solution
 
peter57rCommented:
It is testing whether openeddate is in the current year excluding the current month, unless the current month is January, when it is testing to see if Openeddate is in the last calendar year.

If the date is in the required range the value 1 is output from the formula else a value of 0 is output.
0
 
mlmccCommented:
Agree.  

It is probably being used to count the records in the last year or in the current year through the last month.

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now