Question

I need help writing a VBA code for aging accounting receivables for 30, 60, 90 days...

I need help writing a VBA code for aging accounting receivables for 30, 60, 90 days in Excel.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

You can use the following code

=LOOKUP(TODAY()-F2,{0,31,61,91},{"0-30 Days","31-60 Days","61-90 Days","Over 90 Days"})

Step 1:

Label the following cells:
A1: Customer
B1: Order #
C1: Date
D1: Amount Due.
Enter in the corresponding information for your customers and their orders underneath the headlines.

A D G H Order # Date 1 Customer Amount Due 1/1/2017 $1,005.23 2 Myers Supply Takei Corporation 4 Vandelay Enterprises 110023

Step 2:

Add additional headers for each column as:
E1: Days Outstanding
F1: Not Due
G1: 0-30 Days
H1: 31-60 days
I1: 61-90 days
J1: >90 days

A C E H 1 Customer Order # Date Amount Due Days Outstanding Not Due 0-30 Days 31-60 Days 61-90 Days >90 Days $1,005.23 1/1/20

Step 3:

Next, we will input a formula for the “Days Outstanding” column that will let us know how many days that invoice has gone unpaid since the due date.
In cell E2, enter in the following formula: =IF(TODAY()>C2,TODAY()-C2,0)

X f =IF(TODAY()>C2,TODAY()-C2,0) E2 E A P D F Order # Date Amount Due Days Outstanding Not Due 0-30 Days 31-60 Days 61-90 Day

Step 4:

Drag the fill handler from cell E2 all the way to the last customer. This will populate the formula down the whole column so you do not have to enter it in over again.

fx IF(TODAY()>2,TODAY()- C2,0) F2 F A B C C F G H 1 Order # Date Amount Due Days Outstanding Not Due 0-30 Days 31-60 Days 61-

Step 5:

Now we want to give our aging report some color, so that we can easily see who is the most overdue versus who is still in the clear. Highlight all the rows in the E column then click Conditional Formatting on the Home tab and New Rule.

Cut -11 A A Wrap Text Normal Calibri General E Copy Conditional Format as Paste Check Ce Merge & Center 00 A BIU Format Paint

Step 6:

A separate window will open named “New Formatting Rule”.
Click the “Format Style” drop down and select 3-color scale.
Click the “Type” drop down and select Number
Under “Values”, enter 0 for minimum, 60 for midpoint and 90 for maximum.
Finally, select the colors that make the most sense for you, usually three colors that are very far apart on the color scale.

Alignment Font New Formatting Rule ? X foix lF(TODAY()>C2,TODAY()-C2,0) Select a Rule Type Format all cells based on their va

Your aging report Excel sheet should now look like this:

A D H 1 Customer Order # Date Amount Due Days Outstanding Not Due 0-30 Days 31-60 Days 61-90 Days >90 Days $1,005.23 $5,869.2

Step 7:

In cell F2 we will find out who is not yet due on their invoices. The formula will check for anything in the “Days Outstanding” column that is equal to zero.
In cell F2, enter in the following formula: =IF(E2=0,D2,0)
Drag the fill handler down the column to populate.

Aging-Report-Step-8.jpg

Step 8:

The formula for 0-30 days basically says, “Check to see if the difference between today’s date and C2’s date are less than or equal to 30. If it is, input the data from D2. If it isn’t, leave as 0”.
Enter in cell G2 the following formula: =IF(C2<TODAY(),(IF(TODAY()-C2<=30,D2,0)),0)
Drag the fill handler down the column to populate.

Aging-Report-Step-9.jpg

Step 9:

The next formula will use an AND statement, which will basically say that if the difference between today’s date and that date in C2 is less than or equal to 60 days AND greater than 30 days, then input the data from D2. Otherwise, input 0.
In cell H2, enter in the following formula: =IF (AND(TODAY()-$C2<=60,TODAY()-$C2>30),$D2,0)
Drag the fill handler down the column to populate.

Step 10:

Under the 61-90 days column, the formula will be similar in concept to the one input in step 9.
In cell I2, enter in the following formula: =IF(AND(TODAY()-$C2<=90,TODAY()-$C2>60),$D2,0)
Drag the fill handler down the column to populate.

IF(AND(TODAY()-$c2< -90,TODAY()-$c2>60), $D2,0) 12 A E G Order # Date Amount Due Days Outstanding Not Due 0-30 Days 31-60 Day

Step 11:

To find the unpaid invoices greater than 90 days, the formula is quite simple. It is simply stating that if the difference between today’s date and the due date is greater than 90 to input the data from cell D2. Otherwise, input 0.
In cell J2, enter in the following formula: =IF(TODAY()-$C2>90,D2,0)
Drag the fill handler down the column to populate.

Step 12:

To sum up the value of all of the invoices in each column to know how much cash you have floating among each simply click and drag from the first empty cell underneath the “Not Due” column to the “>90” column. Then press ALT+=

Add a comment
Know the answer?
Add Answer to:
I need help writing a VBA code for aging accounting receivables for 30, 60, 90 days...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Aging Method Information Current 0 - 30 Days Past Due 31 - 60 Days Past Due...

    Aging Method Information Current 0 - 30 Days Past Due 31 - 60 Days Past Due 61 - 90 Days Past Due > 90 Days Past Due Total Amount Past experience ratio Past experience ratio for % of sales method Facts: Accounts receivable balance (beg) Sales on account Collections on account Write-offs of accounts receivable     Accounts receivable balance (end) Percentage of Sales Method Allowance for uncollectible accounts (beg) Write-offs of accounts receivable Uncollectible accounts expense Allowance for Uncollectible accounts...

  • I need this problem to be solved in Excel VBA code. Need full code in VBA....

    I need this problem to be solved in Excel VBA code. Need full code in VBA. Please solve 1st Task : '5 or 0'. Please help me urgently with proper answer and coding solutions which I can run in Excel/vba. Thanks Course: Programming languages Second laboratory work File and string processing Create a program that processes text file according to task variant. Requirements: 1. Create text file (use notepad) with some lines of data according to task variant. 2. Ask...

  • Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Schedule November 30 Customer Balance...

    Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Schedule November 30 Customer Balance Not Past Due 1-30 Days Past Due 31-60 Days Past Due 61-90 Days Past Due Over 90 Days Past Due Subtotals 788,100 465,000 173,400 70,900 39,400 39,400 Boyd Industries 12,000 12,000 Hodges Company 21,600 21,600 Kent Creek Inc. 6,300 6,300 Lockwood Company 8,100 8,100 Van Epps Company 25,700 25,700 Totals 861,800 490,700 181,500 77,200 61,000 51,400 Percentage uncollectible 1% 6% 25% 35% 50% Allowance...

  • how can I solve this question? Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Sch...

    how can I solve this question? Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Schedule November 30 Not Past Due 1-30 Days Past Due 31-60 Days Past Due 61-90 Days Past Due Over 90 Days Past Due Customer Balance Subtotals 687,500 405,600 151,300 61,900 34,400 34,300 Boyd Industries 13,700 15,600 6,900 7,900 Hodges Company Kent Creek Inc. Lockwood Company Van Epps Company Totals Percentage uncollectible Allowance for Doubtful Accounts 13,700 15,600 6,900 7,900 28,700 28,700 760,300 434,300...

  • I need the code of a list in VBA excel of this question. 3) Which is...

    I need the code of a list in VBA excel of this question. 3) Which is the best ENG engine model that has the highest MPG, lowest CYL cylinder and least WGT Weight in this table?

  • Adjustment for Uncollectible Accounts Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Schedule...

    Adjustment for Uncollectible Accounts Below is the aging of receivables schedule for Evers Industries. Aging-of-Receivables Schedule November 30 Customer Balance Not Past Due 1-30 Days Past Due 31-60 Days Past Due 61-90 Days Past Due Over 90 Days Past Due Subtotals 702,200 414,300 154,500 63,200 35,100 35,100 Boyd Industries 14,600 14,600 Hodges Company 15,800 15,800 Kent Creek Inc. 7,300 7,300 Lockwood Company 7,500 7,500 Van Epps Company 29,200 29,200 Totals 776,600 443,500 162,000 70,500 50,900 49,700 Percentage uncollectible 2% 6%...

  • need help writing the Fortran code For theta = 0 degree, 30 degree, 90 degree, 135...

    need help writing the Fortran code For theta = 0 degree, 30 degree, 90 degree, 135 degree, 270 degree, and 321 degree show that sin-theta = -sin theta and tan (pi - theta) = -tan theta Print the results of theta, the left-hand side, and the right-hand side of each expression for each value of theta. For example, if theta = 73 degree, the output line might look like

  • 46 Aging of Receivables Schedule The accounts receivable clerk for Kirchhoff Industries prepared the following partially...

    46 Aging of Receivables Schedule The accounts receivable clerk for Kirchhoff Industries prepared the following partially completed aging of receivables schedule as of the end of business on November 30: Not Days Past Due Past Over Customer Balance Due 1-30 31-60 61-90 90 Academy Industries Inc. 3,200 3,200 Ascent Company 4,400 4,400 Zoot Company 11,000 11,000 Subtotals 871,500 526,400 191,700 83,700 43,600 26,100 The following accounts were unintentionally omitted from the aging schedule and not included in the subtotals above:...

  • I need someone to do this for me please. PC/SPREADSHEET PROBLEM #1 --AGING OF RECEIVABLES - 25 POINTS DUE-Monday Tu...

    I need someone to do this for me please. PC/SPREADSHEET PROBLEM #1 --AGING OF RECEIVABLES - 25 POINTS DUE-Monday Tuesday, NOVEMBER 4/5, 2019 American Box Company is negotiating a working capital line of credit with its finance company/bank. The finance company/bank told American Box's CFO (Chief Financial Ollicer) that the line of credit request would require an aging of receivables schedule. Because you will soon become a freshly-minted Accounting Principles I graduate, the CFO has delegated the assignment to you....

  • ASAP. I need VBA code, for Excel please 5. Create text file with notepad. Each line...

    ASAP. I need VBA code, for Excel please 5. Create text file with notepad. Each line contains only one word. Open it and, if the word begins with capital letter, output it to column A, otherwise in column B.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT