Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 40
Default Count based on criteria

I have a spreadsheet with 8000 rows.

In column "I" I have text. eg. "Emily", "Greg" and "John"
In Column "D" I have numbers.

I need to count the rows whe

Column I is equal to Emily and Column D is < 30
Column I is equal to Greg and Column D is < 50
Column I is equal to John and Column D is < 70
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Count based on criteria

=SUMPRODUCT((D1:D8000="Emily")*(E1:E8000<30))
=SUMPRODUCT((D1:D8000="Greg")*(E1:E8000<50))
=SUMPRODUCT((D1:D8000="John")*(E1:E8000<70))

--
Gary''s Student - gsnu200904
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Count based on criteria

Correction:

=SUMPRODUCT((I1:I8000="Emily")*(D1:D8000<30))
=SUMPRODUCT((I1:I8000="Greg")*(D1:D8000<50))
=SUMPRODUCT((I1:I8000="John")*(D1:D8000<70))

--
Gary''s Student - gsnu200904


"Max2073" wrote:

I have a spreadsheet with 8000 rows.

In column "I" I have text. eg. "Emily", "Greg" and "John"
In Column "D" I have numbers.

I need to count the rows whe

Column I is equal to Emily and Column D is < 30
Column I is equal to Greg and Column D is < 50
Column I is equal to John and Column D is < 70

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
Count based on two criteria. MJKelly Excel Worksheet Functions 2 May 16th 09 02:41 PM
Count based on two different criteria dabnat Excel Worksheet Functions 3 May 14th 09 09:21 PM
COUNT based on 2 criteria [email protected] Excel Worksheet Functions 14 March 25th 08 12:40 PM
Count based on criteria ba374 Excel Discussion (Misc queries) 1 December 20th 07 11:19 PM
Count or Sum based on more than 1 criteria Andrew C Excel Worksheet Functions 1 December 29th 05 09:46 PM


All times are GMT +1. The time now is 06:05 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"