![]() |
counting days in a range
Hi,
I need to count days that an item is open e.g. 0-15 days, 16-30, 31-60,61+. I can get the 0-15 and 61+ using this formula =SUMPRODUCT(--(COUNTIF(A2:A10,"<15")) How can I count the items that are open 16-30 and 31-60 days. |
counting days in a range
I would use
=sumproduct(--(A1:A10<=15)) =sumproduct(--(A1:A1015),--(A1:A10<=30)) =sumproduct(--(A1:A1030),--(A1:A10<=60)) =sumproduct(--(A1:A1060)) "Roy" wrote: Hi, I need to count days that an item is open e.g. 0-15 days, 16-30, 31-60,61+. I can get the 0-15 and 61+ using this formula =SUMPRODUCT(--(COUNTIF(A2:A10,"<15")) How can I count the items that are open 16-30 and 31-60 days. |
All times are GMT +1. The time now is 04:08 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com