hi all need help with a formula that can count between 2 numbers and match date you can see my current formulas are done manually just seeing if there is an easier way.
Excel 2016 (Windows) 32 bit | ||||||||
---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | |||
1 | Date | Change | ||||||
2 | Friday, 1 January 2016 | 2.00 | ||||||
3 | Saturday, 2 January 2016 | 4.00 | Date | Over 2 but Under 5 | ||||
4 | Sunday, 3 January 2016 | 1.00 | Janurary | 3 | ||||
5 | Monday, 4 January 2016 | 3.00 | March | 2 | ||||
6 | Tuesday, 5 January 2016 | 5.00 | July | 4 | ||||
7 | Wednesday, 6 January 2016 | 4.00 | ||||||
8 | Tuesday, 1 March 2016 | 7.00 | ||||||
9 | Wednesday, 2 March 2016 | 3.00 | ||||||
10 | Thursday, 3 March 2016 | 6.00 | ||||||
11 | Friday, 4 March 2016 | 9.00 | ||||||
12 | Saturday, 5 March 2016 | 4.00 | ||||||
13 | Sunday, 6 March 2016 | 2.00 | ||||||
14 | Wednesday, 13 July 2016 | 8.00 | ||||||
15 | Thursday, 14 July 2016 | 3.00 | ||||||
16 | Friday, 15 July 2016 | 7.00 | ||||||
17 | Saturday, 16 July 2016 | 3.00 | ||||||
18 | Sunday, 17 July 2016 | 5.00 | ||||||
19 | Monday, 18 July 2016 | 2.00 | ||||||
20 | Tuesday, 19 July 2016 | 3.00 | ||||||
21 | Wednesday, 20 July 2016 | 4.00 | ||||||
22 | Thursday, 21 July 2016 | 7.00 | ||||||
test |
Cell Formulas | ||
---|---|---|
Range | Formula | |
F4 | =COUNTIFS($B$2:$B$7,">2",$B$2:$B$7,"<5") | |
F5 | =COUNTIFS($B$8:$B$13,">2",$B$8:$B$13,"<5") | |
F6 | =COUNTIFS($B$14:$B$22,">2",$B$14:$B$22,"<5") |