Hello and thank you for your help. I've been racking my brain out on counting the number of instances in both a date range and inventory price range. For example, in column A, there are the days in inventory (e.g., 88, 1, 45, etc.). Then Column B contains the price for the corresponding row cell in A (e.g, $1.50. $28.22, $41.22, etc).
So what I'm attempting to do is number number of items within both a price range and date range (note: our inventory SKUs are unique and each SKU is 1). Example, count the number of items that have been in inventory >=31 Days and <=60 Days that have a Price Range of between >=$1.00 and <=$5.00.
I've tried using COUNTIFS(A:A, ">=31",A:A,"<=60",B:B. ">=1", B:B,"<=5") and out of 214,000 rows, I'm off by ~1300.
I've tried SUM(COUNTIFS(A:A, {>=31","<=60"},B:B,{">=1","<=5"})) and really got a crazy number.
I've tried SUMPRODUCT((A:A>=31)*(A:A<=60),(B:B>=1)*(B:B<=5)) and again, off by ~1300.
I'm wondering if I'm using the ">=" correct or I'm just making a blockhead error. Any insights on this would be most appreciated.
Thank you.
So what I'm attempting to do is number number of items within both a price range and date range (note: our inventory SKUs are unique and each SKU is 1). Example, count the number of items that have been in inventory >=31 Days and <=60 Days that have a Price Range of between >=$1.00 and <=$5.00.
I've tried using COUNTIFS(A:A, ">=31",A:A,"<=60",B:B. ">=1", B:B,"<=5") and out of 214,000 rows, I'm off by ~1300.
I've tried SUM(COUNTIFS(A:A, {>=31","<=60"},B:B,{">=1","<=5"})) and really got a crazy number.
I've tried SUMPRODUCT((A:A>=31)*(A:A<=60),(B:B>=1)*(B:B<=5)) and again, off by ~1300.
I'm wondering if I'm using the ">=" correct or I'm just making a blockhead error. Any insights on this would be most appreciated.
Thank you.