Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
desi
 
Posts: n/a
Default Allowing for a range using COUNTIF


All -

I need to do an aging report in excel and I want to use the countif
statement to get the number of items less than 30 days old (<30) got
that one.

The one I am stuck on is Count the item if it is 30 and less than 60
days old.

How can I do this?

-stephen


--
desi

Software Engineer
------------------------------------------------------------------------
desi's Profile: http://www.excelforum.com/member.php...fo&userid=7732
View this thread: http://www.excelforum.com/showthread...hreadid=505055

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default Allowing for a range using COUNTIF

Stephen -

Use SUMPRODUCT such as

=SUMPRODUCT((A1:A10030)*(A1:A100<60))

This will be produce two arrays of True and False results, also
represented as 1 and 0. If TRUE to the first and FALSE to the second
the product pair would be 1 * 0 or 0. If it meets both criteria the
pair would be 1 * 1 or 1. Summing the product pairs will be the same
as a count.

- John

www.JohnMichl.com

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default Allowing for a range using COUNTIF

Hi!

Try this:

=COUNTIF(A1:A10,"30")-COUNTIF(A1:A10,"=60")

Biff

"desi" wrote in message
...

All -

I need to do an aging report in excel and I want to use the countif
statement to get the number of items less than 30 days old (<30) got
that one.

The one I am stuck on is Count the item if it is 30 and less than 60
days old.

How can I do this?

-stephen


--
desi

Software Engineer
------------------------------------------------------------------------
desi's Profile:
http://www.excelforum.com/member.php...fo&userid=7732
View this thread: http://www.excelforum.com/showthread...hreadid=505055



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
How do I edit a Named Range using macro's behmer Excel Worksheet Functions 2 July 26th 05 09:02 PM
CountIf first column range = "Word" and second column range <> 0 TinaMo Excel Worksheet Functions 3 June 3rd 05 10:56 PM
Countif for specific cells rather than a range ???? Renee - California Excel Worksheet Functions 5 May 27th 05 07:09 PM
Allowing only one entry in a range McKenna New Users to Excel 7 March 11th 05 04:56 PM
Define a range based on another named range Basil Excel Worksheet Functions 2 February 21st 05 01:47 PM


All times are GMT +1. The time now is 02:15 PM.

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"