Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
lisaw
 
Posts: n/a
Default count based on multiple date criteria


I am trying to work out a spreadsheet formula for calculating if an age
range is between two values say between 30 and 40.

Using DATEDIF the age column is formated as a number and is based on
another column called Date of birth.

Can the countif take multiple criteria?


--
lisaw
------------------------------------------------------------------------
lisaw's Profile: http://www.excelforum.com/member.php...o&userid=26094
View this thread: http://www.excelforum.com/showthread...hreadid=394254

  #2   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

=COUNTIF(CalculatedAgeRange,"="&X2)-COUNTIF(CalculatedAgeRange,""&Y2)

where X2 houses a value like 30 and Y2 40. This calculates an inclusive
count.

lisaw wrote:
I am trying to work out a spreadsheet formula for calculating if an age
range is between two values say between 30 and 40.

Using DATEDIF the age column is formated as a number and is based on
another column called Date of birth.

Can the countif take multiple criteria?

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
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM
Counting rows based on criteria in multiple cells Margaret Excel Discussion (Misc queries) 11 December 2nd 04 11:04 PM
I have a list of dates that I need to count based on a date range ejb030353 Excel Worksheet Functions 4 November 24th 04 02:27 PM
Using formulas to determine date in one cell based on date in anot Gary Excel Worksheet Functions 2 November 22nd 04 08:11 AM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


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