#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Count Functions

I'm trying to develop a counting formula that will need to look at one column
and count the second based on what's in the first and put the results in
another column all together. And it will need to include a range. For
example:

Column A = Employee's Age
Column B = Optional Life Insur (either will have a 0 for none or a 1 for 1x
base salary or a 2 for 2x base salary)

I need it to count how many people elected optional life insurance (from
Column B) by age groups (ie: ages 0-29, 30-39, 40-45, 46-49, etc). Put
results in a summary table in another section of the spreadsheet.

Any thoughts?
--
Robin W
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default Count Functions

You would need to adjust the ranges and the values in this formula to get the
results you want:

=SUMPRODUCT(--(A3:A6<30),--(A3:A625),--(B3:B6=0))

Tom
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Count Functions

FANTASTIC!!!!! Thanks so much! Can't believe that you just solved literally
2 days of searching and searching for the help I needed!!!
--
Robin W


"TomPl" wrote:

You would need to adjust the ranges and the values in this formula to get the
results you want:

=SUMPRODUCT(--(A3:A6<30),--(A3:A625),--(B3:B6=0))

Tom

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default Count Functions

For more details on SUMPRODUCT
Bob Phillips
http://www.xldynamic.com/source/xld.SUMPRODUCT.html
J.E McGimpsey
http://mcgimpsey.com/excel/formulae/doubleneg.html

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Robin W" wrote in message
...
FANTASTIC!!!!! Thanks so much! Can't believe that you just solved
literally
2 days of searching and searching for the help I needed!!!
--
Robin W


"TomPl" wrote:

You would need to adjust the ranges and the values in this formula to get
the
results you want:

=SUMPRODUCT(--(A3:A6<30),--(A3:A625),--(B3:B6=0))

Tom



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
Count and Sum functions with 2 criterias Sue Excel Worksheet Functions 20 October 9th 08 08:25 PM
Count Functions TSNS Excel Worksheet Functions 34 October 20th 07 05:04 PM
Fun with COUNT and AND functions. Johosh Excel Worksheet Functions 8 October 2nd 07 07:25 PM
functions to count Yes & No fofo Excel Worksheet Functions 4 June 13th 06 11:00 PM
Excel IF and COUNT functions Robin Faulkner Excel Worksheet Functions 2 February 18th 05 06:34 PM


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