Räkna antalet i en kolumn beroende på värdet i en anna kolumn

Loranga

New Member
Joined
Jan 30, 2007
Messages
36
Jag har ett dokument med två kolumner "Mål lag 1" och "Mål lag 2".
Raderna består av resulatet för de matcher som spelats
Ex
2 | 3
1 | 3
4 | 1

Nu skulle jag behöva hjälp med en formel i en annan celll som räknar antalet matcher som ex Lag 1 har vunnit. Dvs antalet celler där värdet i kolumnen med lag 1 mål överstiger värdet i lag 2 mål
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Och som alltid har Fairwinds en lösning på problemet! Tusen tack!

En kort följdfråga: vad innebär egentligen de två -- tecknen efter första parentesen i formeln?
 
Upvote 0
Vilkoret inom parentesen ger svaret SANT eller FALSKT (prova vilkoret ensamt i en cell får du se)

Om du utsätter SANT eller FALSKT för en matematisk operation så omvandlas det till 1 eller 0 som sedan kan räknas ihop av PRODUKTSUMMA formeln.

-- är helt enkelt 2 st minus.

+0 eller *1 hade funkat lika bra.
 
Upvote 0

Forum statistics

Threads
1,226,735
Messages
6,192,733
Members
453,752
Latest member
Austin2222

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top