SOLVED

Excel produziert fehlerhafte „Bedingte Formatierungen“

Copper Contributor

Wenn eine Formel als Bedingung benutzt wird, erfolgt die Formatierung nicht in allen Zellen des gewählten Bereichs entsprechend der Bedingung.

 

Zellinhalte: B3 = 10; B4 = 20; B5 = 30
Regel1: =SUMME(B3:B5)=60  ; Formatierung: Hintergrund grün
Regel2: =SUMME(B3:B5)<>60  ; Formatierung: Hintergrund rot
Bereich: =$B$3:$B$5

 

Nun sollten alle Zellen B3:B5 einen grünen Hintergrund haben, aber nur B3 ist grün. B4 und B5 sind rot.

Erstelle ich die gleichen Regeln für jede Zelle einzeln (anstatt eine Regel für den Bereich B3:B5), ist die Formatierung korrekt. Als ich diese Bedingte Formatierung im Mai 2021 verwendet habe, funktionierte es noch korrekt.

Agarkoch_0-1641811595900.png

Agarkoch_1-1641811611302.pngAgarkoch_2-1641811621103.png

 

 

2 Replies
best response confirmed by Agarkoch (Copper Contributor)
Solution

@Agarkoch You need to make the sum ranges absolute. So use these rules:

Regel1: =SUMME($B$3:$B$5)=60 
Regel2: =SUMME($B$3:$B$5)<>60  

 

Thank you very much! The solution is so easy, I just overlooked the $.
1 best response

Accepted Solutions
best response confirmed by Agarkoch (Copper Contributor)
Solution

@Agarkoch You need to make the sum ranges absolute. So use these rules:

Regel1: =SUMME($B$3:$B$5)=60 
Regel2: =SUMME($B$3:$B$5)<>60  

 

View solution in original post