Formula to calculate days past due using IF function

BuckNut614

New Member
Joined
Dec 10, 2017
Messages
1
Current Date7/1/2017
Invoice NumberInvoice DateCompanySales RepSales CommissionInvoice AmountDays Past DueCurrent1-30 days 31-60 days 61-90 daysOver 90 days
102735/28/2017Consortium for Ocean LeadershipJohnson $ 128.54 $ 2,142.40
102826/9/2017MRSI Group, IncBoehmer $ 11.66 $ 155.40
102836/12/2017Natural Environment Research CoLesure $ 56.59 $ 1,414.80
103215/5/2017Alpharma,IncLesure $ 5.76 $ 144.00
103235/8/2017Cardio Tech International Inc.Boehmer $ 12.33 $ 164.40
103296/27/2017Image Acoustics, Inc.Lesure $ 192.78 $ 4,819.40
103586/2/2017Ocean Dynamics Inc.Boehmer $ 33.90 $ 452.00
103705/5/2017Materials Sciences CorporationJohnson $ 70.44 $ 1,174.00

<colgroup><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

In column G, enter a formula with an IF function to calculate the days past due. If the number of days since the invoice was sent (CurrentDate-Invoice Date) is greater than 30); otherwise, enter 0.

Create the following formulas to assign the value in the Invoice Amount column to one of five columns. Current, 1-30 days, 31-60 days, 61-90 days, and Over 90 days:
a.) In Current (column H), if the Days Past Due equals 0, display the invoice amount (column F); otherwise, display a blank cell.
b.) In 1-30 days (column I), if the days past due is greater than or equal to 1 and less than or equal to 30, display the invoice amount
(column F) ohterwise, display a blank cell.
c.) In 31-60 days (column I), if the number of days past due is greater than or equal to 31 and less than of equal to 60, display the
invoice amount (column F) otherwise, display a blank cell.
d.) In 61-90 days (column K), if the number of days past due is greater than or equal to 61 and less than or equal to 90, dieplay the
the invoice amount in (column F), otherwise display a blank cell.
e.) In Over 90 days (column L), if the number of days past due is greater than or equal to 91 days, display the invoice amount
(column F), otherwise display a blank cell.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,606
Messages
6,120,485
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top