Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default COUNTIF with extension

=SumProduct((A1:A5="White")*(B1:B5<DateValue("01/06/03")))

--
Regards,
Tom Ogilvy


"Simon" wrote in message
...
I think some programming is needed for what I require,
because I counld not find any functions to achieve it.

White 10/02/03
Blue 11/02/03
Red 12/02/03
Red 12/07/03
White 12/07/03

I need a function to tell me for each colour who many
have dates before 01/06/03.

So producing a function that I pass the String of the
colour and a set date (01/06/03) and it returns the
number of occurances of that colour before the specified
date.

Hopefully I have made it clear what required of the
function.

I hope some will have some idea.

Many Thanks



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default COUNTIF with extension

HI!

I was looking earlier for something very similiar.

What you are probable going to use is a Array Formula.

This is a sample of what I think will do it:

=SUM(IF($D$12:$D$15="blue",IF($E$12:$E$15<DATEVALU E("1/5/2003"),1,0),0))

If you have the add-in, Conditional Sum would suffice.
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
.xls Extension Felix Excel Discussion (Misc queries) 2 July 9th 08 09:34 PM
Transformation d'images avec une extension .jpg ou .jpeg en images avec extension .bmp ou .ico imej-clavier Excel Discussion (Misc queries) 1 May 28th 05 05:52 PM
.xlb extension Tanya T. Excel Discussion (Misc queries) 5 April 28th 05 12:12 AM
xls extension winjon Excel Discussion (Misc queries) 1 March 3rd 05 11:20 AM
COUNTIF with extension [email protected] Excel Programming 1 August 27th 03 10:18 PM


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