LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Junior Member
 
Posts: 4
Smile

Firstly - THANKS everyone who replied :) I really appreciate the time you took to help me with my issue!

Quote:
Originally Posted by Spencer101 View Post
You can use the SUMPRODUCT formula below in any Excel version.
The COUNTIFS one will only work in Excel 2007 or later.

You just need to change the 5 & 10 in these formulas for appropriate numbers for each distance range.
You could put these in cells and reference them in the formula so you only have to write the formula once and then copy it. But without seeing your workbook I couldn't tell you exactly what the formula would look like then.

=SUMPRODUCT(('RED WET 1'!P4:P1855)*('RED WET 1'!P4:P185<=10))

=COUNTIFS('RED WET 1'!P4:P185,"5",'RED WET 1'!P4:P185,"<=10")
The SUMPRODUCT code here works perfectly and I've managed to cross-check the result in gathering up the sum of all the results and doing a quick few spot checks to see if they are adding up correctly. This is exactly what I was needing. Thank you!

I would have put up my spreadsheet but aside from the mileage aspect, a lot of it was confidential :) but thats perfect thank you.
 
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
COUNTIF Function Provides Text Feedback, Not Values Michael S. Nelson Excel Worksheet Functions 4 May 3rd 09 06:24 AM
Excel graph 3 sets of data. 2 sets as lines 1 as column? AndyN Charts and Charting in Excel 2 July 11th 08 01:18 PM
Excel: Sumif function with two sets of criteria? Can it be done? Steelfan Excel Discussion (Misc queries) 2 May 7th 08 05:28 PM
How do I apply icon sets to percentage values in Excel worksheet? Still Learning? Excel Worksheet Functions 1 April 24th 08 12:14 AM
countif with two sets of non consectutive ranges at the same time Gover Excel Worksheet Functions 8 September 15th 07 06:13 AM


All times are GMT +1. The time now is 01:19 AM.

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

About Us

"It's about Microsoft Excel"