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.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date Assigned[/TD]
[TD]Date Completed[/TD]
[TD]Aging[/TD]
[TD]Info Request[/TD]
[TD]Info Received[/TD]
[/TR]
[TR]
[TD]5/24/18[/TD]
[TD]7/13/18[/TD]
[TD]35[/TD]
[TD]6/20/18[/TD]
[TD]7/5/18[/TD]
[/TR]
[TR]
[TD]5/31/18[/TD]
[TD][/TD]
[TD]?[/TD]
[TD]6/21/18[/TD]
[TD]7/6/18[/TD]
[/TR]
[TR]
[TD]6/28/18[/TD]
[TD][/TD]
[TD]?[/TD]
[TD]7/5/18[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date Assigned[/TD]
[TD]Date Completed[/TD]
[TD]Aging[/TD]
[TD]Info Request[/TD]
[TD]Info Received[/TD]
[/TR]
[TR]
[TD]5/24/18[/TD]
[TD]7/13/18[/TD]
[TD]35[/TD]
[TD]6/20/18[/TD]
[TD]7/5/18[/TD]
[/TR]
[TR]
[TD]5/31/18[/TD]
[TD][/TD]
[TD]?[/TD]
[TD]6/21/18[/TD]
[TD]7/6/18[/TD]
[/TR]
[TR]
[TD]6/28/18[/TD]
[TD][/TD]
[TD]?[/TD]
[TD]7/5/18[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]