ibmy
Board Regular
- Joined
- Mar 4, 2020
- Messages
- 106
- Office Version
- 2016
- Platform
- Windows
Hi expert Excellers,
Currently I use these 2 formula to calculate sum of set data at certain range of times. Both produce same result.
Now, I interested in sum of absolute value. The data consist of postive and negative values.
1)
2)
G column : Set of data
D column : 24 hour time
K cell : Time Range from D column
I searched on web, and found out that I need to use ABS function, but do not know how to put the function in current formula as criteria2?/criteria 3?
Currently I use these 2 formula to calculate sum of set data at certain range of times. Both produce same result.
Now, I interested in sum of absolute value. The data consist of postive and negative values.
1)
Excel Formula:
=SUMIFS($G$2:$G$200000,$D$2:$D$200000,">="&K5,$D$2:$D$200000,"<"&TIME(HOUR(K5)+4,MINUTE(K5),0))
2)
Excel Formula:
=SUMIFS($G$2:$F$200000,$D$2:$D$200000,”>=”&K11,$D$2:$D$200000,”< “&K12)
G column : Set of data
D column : 24 hour time
K cell : Time Range from D column
I searched on web, and found out that I need to use ABS function, but do not know how to put the function in current formula as criteria2?/criteria 3?