ich muss von bis Uhrzeiten auf Stundenzeiträume aufteilen.
von 13:00
bis 14:30
Ergebnis
11:00-12:00 = 0
12:00-13:00 = 0
13:00-14:00 = 1
14:00-15:00 = 0,5
15:00-16:00 = 0
Kann mir jemand eine Formel für mein Problem nennen?
Danke & Gruß
Britta
A | B | C | |
1 | 13:00 | 14:12 | |
2 | |||
3 | |||
4 | 11:00 | 12:00 | 00:00 |
5 | 12:00 | 13:00 | 00:00 |
6 | 13:00 | 14:00 | 01:00 |
7 | 14:00 | 15:00 | 00:12 |
8 | 15:00 | 16:00 | 00:00 |
9 | 16:00 | 17:00 | 00:00 |
10 | 17:00 | 18:00 | 00:00 |
11 | 18:00 | 19:00 | 00:00 |
verwendete Formeln | |||
Zelle | Formel | Bereich | R1C1 für Add In |
C4:C11 | =MAX(0;MIN(B4-$B$1;$C$1-$B$1-SUMME($C$3:C3))) | =MAX(0,MIN(RC[-1]-R1C2,R1C3-R1C2-SUM(R3C3:R[-1]C))) |