Aging Days for 2 date ranges

Simone2527

New Member
Joined
Jul 20, 2018
Messages
2
I need to be able to have aging days on a report i have for cases. The Aging days need to have an If statement to have the aging days be the # between 2 date ranges summed. So a case is assigned 5/24/18. We send a request for more information on 6/20/18. Days lapse from that is 27. The requested info is sent in on 7/5/18. The case is completed on 7/13/18. Time lapse from that is 8 days. So there is a total of 35 days that should show up on the aging column. So i can do a simple function to get 35 days by subtracting out each date range for the lapse days and then adding the lapse days together. What i'm having trouble with is when we do not have 4 dates and i still need to have the lapse time show in aging. I have a picture of the spreadsheet below. Any help would be appreciated.


Date AssignedDate CompletedAgingInfo RequestInfo Received
5/24/187/13/18356/20/187/5/18
5/31/18?6/21/187/6/18
6/28/18?7/5/18

<tbody>
</tbody>
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Welcome to Mr. Excel :)

I can think of 2 possible ways

1. You can use if statement to show "Zero" in the aging column in case the date completed is blank
Formula like : =If(B2="",0,B2-A2)

2. If you don't need to see the aging at each stage & just the overall aging, then you could do Max date - Min Date
Formula like : =Max(A2,B2,D2,E2)-Min(A2,B2,D2,E2)
 
Last edited:
Upvote 0
Welcome to Mr. Excel :)

I can think of 2 possible ways

1. You can use if statement to show "Zero" in the aging column in case the date completed is blank
Formula like : =If(B2="",0,B2-A2)

2. If you don't need to see the aging at each stage & just the overall aging, then you could do Max date - Min Date
Formula like : =Max(A2,B2,D2,E2)-Min(A2,B2,D2,E2)


Thank you for this but i need both the ability to see the current aging date and the final aging date. Every time i try to right out my If Statement it always errors out. So i don't believe i'm doing it correctly.
 
Upvote 0
Hey Simon,

Check the below example & let me know if that suits your need


Book1
ABCDEFG
1Date AssignedInfo RequestAging 1Info ReceivedDate CompletedAging 2Overall Aging
224-May-1820-Jun-182705-Jul-1813-Jul-18835
331-May-1821-Jun-182106-Jul-18021
428-Jun-1805-Jul-18707
Sheet1
Cell Formulas
RangeFormula
F2=IF(E2="",0,E2-D2)
F3=IF(E3="",0,E3-D3)
F4=IF(E4="",0,E4-D4)
G2=F2+C2
G3=F3+C3
G4=F4+C4
C2=IF(B2="",0,B2-A2)
C3=IF(B3="",0,B3-A3)
C4=IF(B4="",0,B4-A4)
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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