Hello - I am looking to modify a SUMIFS formula I have in my worksheet to calculate the MODE of the range rather than sum the range. I have the set up as below and have a SUMIFS formula that sums all the values between two dates in a selected column. However, I would like to be able to identify the most common value in a range of dates in a chosen column. I would like to be able to have a column, start and end date inputs as per the SUMIFS formula. Is this possible? Please let me know if you require any further clarification?
A B C D E
1
2 Names
3 Data $B$7:$E$17
4 Dates $B$7:$B$17
5 Customers $B$7:$E$7
6
7 # A B
8 01/04/2017 3 1 2
9 02/04/2017 3 2 1
10 03/04/2017 7 4 3
11 04/04/2017 6 2 4
12 05/04/2017 6 2 4
13 06/04/2017 3 1 2
14 07/04/2017 3 2 1
15 08/04/2017 4 1 3
16 09/04/2017 4 2 2
17 10/04/2017 4 3 1
18
19 # 22 =SUMIFS(INDEX(Data,0,MATCH($B$19,Customers,0)),Dates,">="&$C$20,Dates,"<="&$C$21)
20 Start 03/04/2017
21 End 06/04/2017
A B C D E
1
2 Names
3 Data $B$7:$E$17
4 Dates $B$7:$B$17
5 Customers $B$7:$E$7
6
7 # A B
8 01/04/2017 3 1 2
9 02/04/2017 3 2 1
10 03/04/2017 7 4 3
11 04/04/2017 6 2 4
12 05/04/2017 6 2 4
13 06/04/2017 3 1 2
14 07/04/2017 3 2 1
15 08/04/2017 4 1 3
16 09/04/2017 4 2 2
17 10/04/2017 4 3 1
18
19 # 22 =SUMIFS(INDEX(Data,0,MATCH($B$19,Customers,0)),Dates,">="&$C$20,Dates,"<="&$C$21)
20 Start 03/04/2017
21 End 06/04/2017