the sum subtract each cell with a specific cell

Copper Contributor

hi 

I want to get the total of subtracting each cell from 18 Sep till 24 Sep with the daily WH 

ex. =(12.16 -11)+(12.17-11)+(16-11) and so on

 

Daily WH 18-Sep-2019-Sep-2020-Sep-2021-Sep-2022-Sep-2023-Sep-2024-Sep-20
11 12.1612.171615.4516.4917.0116.55
8 Replies

@Fayezsamea 

Like this?

@Fayezsamea 

Something like this

image.png

drag it to the right

can I add an if condition to calculate only if the value is above  Daily WH

and another one for if the value is less than  Daily WH

@Ramiz_Assaf 

 

thank you for your answer it helped me a lot

same formula I want to calculate on if the number is greater than 11, and another formula only if the number is less than 9

 

Daily WH 18-Sep-2019-Sep-2020-Sep-2021-Sep-2022-Sep-2023-Sep-2024-Sep-20
11 12.1612.1710.115.4516.49916.55

 

like the extra Hrs are (12.16-11)+(12.17-11)+(15.45-11) and so on

and for the less Hrs ONLY (11-10.1)+(11-9) and so on

@Fayezsamea 

As variant

image.png

@Sergei Baklan 

 

amazing, what if want the total of all cell in one formula

@Fayezsamea 

 

Here it is done in once cell

similar to the logic I used before

@Fayezsamea 

Just for the collection one more variant

image.png