• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Calculating how many entries are 0-7, 8-29, 30-60,etc days old

rstotty

New Member
My spreadsheet contains:
Column B: 3 types of status entries - (Pending,Active,Scheduled)
Column C: Dates
I need to calculate how many entries by status in column B are 0-7 days old, 8-29 days old, 30-60 days old, 61-90 days old and >90 days old. Any help would be greatly appreciated.
 
Hi

Why not select your data in columns A1:C1852, then go to Insert > Pivot Table
Put "Status" in column labels, "Urgency" in row labels, then drag "File Entry" into values to do a count.
This will then show all in the different urgencies
 
I tried that but it still doesn't give me what I'm looking for. I need to know how many "pendings" are 0-7 days old, 8-29 days old, 30-60 days old, etc. I'm trying to use "COUNTIFS" to count the number of "pendings" but I cant figure out how to break it down by the range of days.
 
Okay. I think I have it. I added additional columns with the date ranges and created a formula to calculate what I need. Rather than try to explain it, I'll attach the file and you can see what I did.
 

Attachments

  • Book1.xlsx
    51.3 KB · Views: 3
Without additional columns see attached
 

Attachments

  • Book1.xlsx
    42.6 KB · Views: 9
Here Another approach..

=INDEX(FREQUENCY(IF(STATUS=$E12,(TODAY()-FILE_ENTRY)),$F$11:$J$11),COLUMN(A$1))

with Ctrl + Shift + Enter..
 

Attachments

  • CalculateEntry.xlsx
    40.7 KB · Views: 7
Back
Top