Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Combining SUMPRODUCT with IF - help!

Help, please! I am summing alternate rows in a spreadsheet, e.g.

=SUMPRODUCT(--(MOD(ROW(F5:F306),2)=1),F5:F306)

but I only want to include the rows where is a particular bit of text in Column C (in this case "GARD"):

=SUMIF($C7:$C302,"GARD",G7:G302)

Is there a formula which will add these selected rows only?

Many thanks.
  #2   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by John Elford View Post
Help, please! I am summing alternate rows in a spreadsheet, e.g.

=SUMPRODUCT(--(MOD(ROW(F5:F306),2)=1),F5:F306)
I've got a reply to this elsewhere, thanks. Problem solved.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining Functions (Sumproduct and Countif) Richard Horn[_2_] Excel Worksheet Functions 5 October 16th 09 04:09 PM
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Combining 2 INDEX/MATCH eq'ns; also 2 Sumproduct eq'ns RS Excel Worksheet Functions 0 August 20th 07 10:02 PM
Combining SUMPRODUCT and RANK functions MikeM Excel Worksheet Functions 0 November 14th 05 02:09 PM


All times are GMT +1. The time now is 06:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"