We help IT Professionals succeed at work.
Get Started

Accounts Receivables aging

91 Views
Last Modified: 2017-12-29
=IF(AND(TODAY()-$C5<=60,TODAY()-$C5>30),$D5,0)
The above formula is an example of multiple IF statements in excel or multiple criteria where each criteria is joined using AND function. AND function does literally the same thing as the and does in language. So the above formula will be read like this in plain English:
If difference between today’s date and the date in cell C5 is less than or equal to 60 days AND the difference between today’s date and the date in cell C5 is greater than 30 days than fetch the value from cell D5 otherwise put 0.

$C5 represents the filed date
$D5 represents the invoice amount

Now in excel it works very I have tested it , I want to use it in MS Access as well , I have tried like below but it does not work:

=IF(AND(Date()-[MMDate]<=60,Date()-[MMDate]>30),[LineTotal],0)

The above code is supposed to age those amounts in above 30 days and below 60 days

How do I fix it

Sorry to disturb your holiday

Regards

Chris
Comment
Watch Question
Infotrakker Software
CERTIFIED EXPERT
Most Valuable Expert 2012
Top Expert 2014
Commented:
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE