Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
UB UB is offline
external usenet poster
 
Posts: 120
Default Counting cells with multiple selection

Hi,
How Can I have multiple condition using countif function
Can we use the Countif function or any other function if we are
working with dates or strings.
Ex: to count cells between 2 set of dates or to count cells that match
string('sale' or 'quote')



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Counting cells with multiple selection

Look at SUMPRODUCT

See

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"ub" wrote:

Hi,
How Can I have multiple condition using countif function
Can we use the Countif function or any other function if we are
working with dates or strings.
Ex: to count cells between 2 set of dates or to count cells that match
string('sale' or 'quote')



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Counting cells with multiple selection

Count how many days between Jan 1 to Jan 10

=COUNTIF(B1:B100,"="&--"1/1/2007")-COUNTIF(B1:B100,""&--"1/10/2007")

Count sale or quote

=SUM(COUNTIF(A1:A100,{"sale","quote"}))

Adjust to suit


"ub" wrote:

Hi,
How Can I have multiple condition using countif function
Can we use the Countif function or any other function if we are
working with dates or strings.
Ex: to count cells between 2 set of dates or to count cells that match
string('sale' or 'quote')



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
Counting cells with multiple data Bob Smith Excel Worksheet Functions 3 November 1st 06 06:43 PM
Counting cells using multiple parameters tuph Excel Discussion (Misc queries) 3 June 19th 06 06:53 AM
Counting cells using multiple criteria andrew.curley Excel Worksheet Functions 4 June 12th 06 04:41 PM
Counting text in multiple cells. Phil Jenkins Excel Worksheet Functions 8 March 31st 06 04:18 PM
Counting multiple cells using a criteria John Excel Discussion (Misc queries) 1 June 14th 05 04:51 PM


All times are GMT +1. The time now is 11:50 PM.

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"