Kleinsten Wert bestimmen

%3CLINGO-SUB%20id%3D%22lingo-sub-2091950%22%20slang%3D%22de-DE%22%3EDetermine%20smallest%20value%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2091950%22%20slang%3D%22de-DE%22%3EHello.%20I've%20created%20a%20table%20where%20I%20want%20to%20use%20conditional%20formatting%20to%20store%20the%20three%20largest%20and%20three%20smallest%20values.%20You%20do%20not%20want%20to%20look%20at%20hidden%20rows.%3CBR%20%2F%3EBut%20for%20me%2C%20this%20only%20works%20for%20the%20greatest%20values.%20There%20I%20determined%20the%20values%20for%20cells%20Q7%3AQ246.%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20this%20purpose%2C%20I%20have%20in%20column%20AA%20%3DPART%20RESULT(9%3B%20Q7)%20and%20this%20function%20is%20then%20specified%20for%20all%20rows.%20In%20cell%20AB7%20I%20entered%20the%20number%203.%20Now%20I%20have%20marked%20the%20cells%20Q7%3AQ246.%20-%26gt%3B%20conditional%20formatting%20-%26gt%3B%20formula%3A%20%3D%24AA.7%3A%24AA.246%3B%22%20%26gt%3B%22%26amp%3BAA7)%26lt%3B%24AB%247%20und%20dann%20halt%20passende%20Farbe%20einstellen.%20This%20is%20also%20the%20work%20of...%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20the%20smallest%20values%2C%20I%20entered%20in%20the%20conditional%20function%3A%20%3DCOUNT(%24AA-7%3A%24AA-246%3B%22%26lt%3B%22%26amp%3BAA7)%26lt%3B%24AB%247%20hier%20werden%20mir%20auch%20die%20drei%20kleinsten%20Werte%20angezeigt%2C%20allerdings%20funktioniert%20das%20hier%20nur%20bei%20allen%20Zellen.%20In%20other%20words%2C%20if%20I%20hide%20lines%2C%20they%20will%20still%20be%20taken%20into%20account.%20However%2C%20I%20would%20like%20to%20take%20this%20into%20account%20only%20the%20figures%20shown.%3CBR%20%2F%3EDo%20you%20have%20an%20idea%20how%20this%20can%20work%3F%20For%20the%20function%20for%20the%20largest%20values%2C%20it%20works%20with%20the%20specified%20function.%3CBR%20%2F%3EThank%20you%20very%20much!%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2091950%22%20slang%3D%22de-DE%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2092027%22%20slang%3D%22en-US%22%3ERe%3A%20Kleinsten%20Wert%20bestimmen%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2092027%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F940842%22%20target%3D%22_blank%22%3E%40Lis981965%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EI%20notice%26nbsp%3B%20that%20the%20automatic%20translation%20bungled%20up%20your%20question%20quite%20a%20bit%2C%20so%20here%20is%20the%20translation%20with%20some%20adjustments%2C%20especially%20the%20formulas.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHello.%20I've%20created%20a%20table%20where%20I%20want%20to%20use%20conditional%20formatting%20to%20highlight%20the%20three%20largest%20and%20three%20smallest%20values.%20Hidden%20rows%20should%20be%20ignored.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EBut%20for%20me%2C%20this%20only%20works%20for%20the%20largest%20values.%20There%20I%20determined%20the%20values%20for%20cells%20Q7%3AQ246.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EFor%20this%20purpose%2C%20I%20have%20in%20column%20AA%20%3DSubtotal(9%3B%20Q7)%20and%20this%20function%20is%20then%20specified%20for%20all%20rows.%20In%20cell%20AB7%20I%20entered%20the%20number%203.%20Now%20I%20have%20marked%20the%20cells%20Q7%3AQ246.%20-%26gt%3B%20conditional%20formatting%20-%26gt%3B%20formula%3A%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3DCountif(%24AA%247%3A%24AA%24246%3B%22%26gt%3B%22%26amp%3BAA7)%26lt%3B%24AB%247%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eand%20then%20apply%20the%20format.%20That%20also%20works%20fine%20...%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EFor%20the%20smallest%20values%2C%20I%20entered%20in%20the%20conditional%20function%3A%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3DCountif(%24AA%247%3A%24AA%24246%3B%22%26lt%3B%22%26amp%3BAA7)%26lt%3B%24AB%247%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20highlights%20the%20smallest%20three%20values%2C%20but%20only%20for%20all%20rows.%20In%20other%20words%2C%20if%20I%20hide%20rows%2C%20they%20will%20still%20be%20taken%20into%20account.%20However%2C%20I%20would%20like%20to%20take%20this%20into%20account%20only%20the%20figures%20shown.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EDo%20you%20have%20an%20idea%20how%20this%20can%20work%3F%20For%20the%20function%20for%20the%20largest%20values%2C%20it%20works%20with%20the%20specified%20function.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EThank%20you%20very%20much!%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Visitor
Hallo. Ich habe eine Tabelle erstellt bei der ich über die bedingte Formatierung die drei größten und die drei kleinsten Wert bunt hinterlegen möchte. Ausgeblendete Zeilen sollen nicht betrachtet werden.
Dies funktioniert bei mir aber nur bei den größten Werten. Dort habe ich die Werte für die zellen Q7:Q246 bestimmt.

Dazu habe ich in Spalte AA =TEILERGEBNIS(9;Q7) und diese Funktion dann für alle Zeilen angegeben. In Zelle AB7 habe ich die Zahl 3 eingetragen. Nun habe ich die Zellen Q7:Q246 markiert. -> bedingte Formatierung -> Formel: =ZÄHLENWENN($AA$7:$AA$246;">"&AA7)<$AB$7 und dann halt passende Farbe einstellen. Hier funktioniert das auch...

Bei den kleinsten Werten habe ich in der bedingten Funktion eingegeben: =ZÄHLENWENN($AA$7:$AA$246;"<"&AA7)<$AB$7 hier werden mir auch die drei kleinsten Werte angezeigt, allerdings funktioniert das hier nur bei allen Zellen. Sprich, wenn ich Zeilen ausblenden werden diese trotzdem mit berücksichtigt. Ich möchte allerdings das nur die eingeblendet Zahlen berücksichtigt werden.
Habt ihr eine Idee wie das funktionieren kann? Bei der Funktion für die größten Werte funktioniert es mit der angegebenen Funktion.
Schonmal vielen Dank!
1 Reply

Hi @Lis981965 ,

I notice  that the automatic translation bungled up your question quite a bit, so here is the translation with some adjustments, especially the formulas.

 

Hello. I've created a table where I want to use conditional formatting to highlight the three largest and three smallest values. Hidden rows should be ignored.
But for me, this only works for the largest values. There I determined the values for cells Q7:Q246.

For this purpose, I have in column AA =Subtotal(9; Q7) and this function is then specified for all rows. In cell AB7 I entered the number 3. Now I have marked the cells Q7:Q246. -> conditional formatting -> formula:

=Countif($AA$7:$AA$246;">"&AA7)<$AB$7

 

and then apply the format. That also works fine ...

For the smallest values, I entered in the conditional function:

=Countif($AA$7:$AA$246;"<"&AA7)<$AB$7

 

This highlights the smallest three values, but only for all rows. In other words, if I hide rows, they will still be taken into account. However, I would like to take this into account only the figures shown.
Do you have an idea how this can work? For the function for the largest values, it works with the specified function.
Thank you very much!