Previous Thread
Next Thread
Print Thread
Joined: Feb 2002
Posts: 839
M
Adagio Virtuoso
Adagio Virtuoso
M Offline
Joined: Feb 2002
Posts: 839
I'm working on a client report that needs statistics on number of days in inventory, number of days in Accts Pay, Number of days Accts Rec. etc.

To do the calculations each reporting period I need to calculate the number of days from the start of the fiscal year to the end of the reporting period.

For example a year end of Sep 30. Reporting period for the period Oct to Dec 2007 would calculate Oct 1 to Dec 31 = 91 days.

Joined: Feb 2002
Posts: 839
M
Adagio Virtuoso
Adagio Virtuoso
M Offline
Joined: Feb 2002
Posts: 839
For End of the Current Fiscal Period
Use = ADGETF("gldates.END",FPRIOR(0)) (In Cell C6)

For Start of the Fiscal Year
Use =GLFPS("[1]M") (In Cell D6)

Then = C6-D6 will give you the number of days

Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
or, you can just enter:
Code:
=GLFPED("M")-GLFPSD("Y")+1

into the cell.



Andrew Bates

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 70 guests, and 2 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0