» Counting the Number of Values Meeting Criteria, but Only for Every 3rd Cell in a Range
CATEGORY - Excel Counting
VERSION - All Microsoft Excel Versions
We want to count the number of values in row 1 that are greater than the criteria specified in cell A4, but only for every 3rd cell in the range.
Solution:
Use the SUMPRODUCT, MOD, and COLUMN functions as shown in the following formula:
=SUMPRODUCT(--(MOD(COLUMN($A$1:$J$1)-COLUMN($A$1)+1,3)=0)*($A$1:$J$1>$A$4))
Book Store:
Recommended Books:
- Business Plans For Dummies®
- Keys to Reading an Annual Report (Barron's Business Keys)
- Who Moved My Cheese? An Amazing Way to Deal with Change in Your Work and in Your Life
- Essentials of Investments with Standard & Poor's Educational Version of Market Insight + PowerWeb + Stock Trak Coupon
- The Financial Numbers Game: Detecting Creative Accounting Practices
- Advanced modelling in finance using Excel and VBA
No comments have been submitted.

