LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22
Default Countif to pur a persons age into selected caragories.

Fantastic and thank you for sparing the time to help.

Ron Coderre wrote:
Try something like this:

For 18 through 21
=SUM(COUNTIF(A:A,{"<18","<=21"})*{-1,1})

For 22 through 31
=SUM(COUNTIF(A:A,{"<22","<=31"})*{-1,1})

For 32 through 41
=SUM(COUNTIF(A:A,{"<32","<=41"})*{-1,1})
etc.

Does that help?
***********
Regards,
Ron

XL2002, WinXP

Hi

[quoted text clipped - 17 lines]

Your help would be most appreciated.


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200706/1

 
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
I am trying to lookup a persons name in a table. David A. Excel Worksheet Functions 1 June 15th 07 10:01 PM
caculate a persons age Dave Excel Worksheet Functions 2 February 20th 07 06:39 AM
what formula do i need to calculate a persons age brenner Excel Discussion (Misc queries) 12 September 20th 06 10:28 AM
Excel for Blind persons use DeDe Excel Discussion (Misc queries) 1 February 8th 06 05:22 PM
How can I create a field indicating a persons age by using bd inf Tim Excel Worksheet Functions 2 December 17th 05 11:43 PM


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