Count every second row

CreativeRova

New Member
Joined
Dec 12, 2013
Messages
49
Hi,

How can I modify this formula to Count every second row?

=SUMIF(D14:D104,"Combos",(H14:H104))

will also need to complete a second cell with a sum of the in between cells based on the same info in column D.

So below is an example. in C1 I need to sum the Paid amounts when A = Combos. in C2 I need to sum the bonus amount when A = Combos.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Combos Paid[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Combos Bonus[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Tops[/TD]
[TD]Paid[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Bonus[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Combos[/TD]
[TD]Paid[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Bonus[/TD]
[TD]100[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
why not just =countif(B:B,"paid")
change to Bonus if needed. You could use the same method for sumif()
 
Upvote 0
Hi FDibbins,

Wouldn't that count the occurrences of the word in B. I am after the sum of C if the word in A is correct. I should also state the spreadsheet will be repeated for a couple of thousand rows. each with paid and bonus and a few different things in column A. that's why it needs to search A then B to sum C.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,930
Members
452,367
Latest member
TePunaBloke

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