Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Mike Lowe
 
Posts: n/a
Default problems with formulas

I am trying to create a formula to count the number of people in a table
between a set of age values (3 to 14) i have data in 3 columns for forename,
suname, age, but over 2500 entries to extract the data from..

Please can you help

Mike
  #3   Report Post  
Posted to microsoft.public.excel.newusers
daddylonglegs
 
Posts: n/a
Default problems with formulas


Try this

=COUNTIF(C:C,"2")-COUNTIF(C:C,"14")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=514946

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Gary''s Student
 
Posts: n/a
Default problems with formulas

Let's say the ages are column G. Try:

=COUNTIF(G:G,"<15")-COUNTIF(G:G,"<3")

This will exclude 2 and under.
This will exclude 15 and over.
--
Gary's Student


"Mike Lowe" wrote:

I am trying to create a formula to count the number of people in a table
between a set of age values (3 to 14) i have data in 3 columns for forename,
suname, age, but over 2500 entries to extract the data from..

Please can you help

Mike

  #5   Report Post  
Posted to microsoft.public.excel.newusers
Mike Lowe
 
Posts: n/a
Default problems with formulas

Thanks for that
Mike

"Gary''s Student" wrote:

Let's say the ages are column G. Try:

=COUNTIF(G:G,"<15")-COUNTIF(G:G,"<3")

This will exclude 2 and under.
This will exclude 15 and over.
--
Gary's Student


"Mike Lowe" wrote:

I am trying to create a formula to count the number of people in a table
between a set of age values (3 to 14) i have data in 3 columns for forename,
suname, age, but over 2500 entries to extract the data from..

Please can you help

Mike



  #6   Report Post  
Posted to microsoft.public.excel.newusers
Mike Lowe
 
Posts: n/a
Default problems with formulas

Thanks
Mike

"Don Guillett" wrote:

try something like
=sumproduct((agerange=3)*(agerange<=14))

--
Don Guillett
SalesAid Software

"Mike Lowe" <Mike
wrote in message
...
I am trying to create a formula to count the number of people in a table
between a set of age values (3 to 14) i have data in 3 columns for
forename,
suname, age, but over 2500 entries to extract the data from..

Please can you help

Mike




  #7   Report Post  
Posted to microsoft.public.excel.newusers
Mike Lowe
 
Posts: n/a
Default problems with formulas

Cheers for that, its perfect

"daddylonglegs" wrote:


Try this

=COUNTIF(C:C,"2")-COUNTIF(C:C,"14")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=514946


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
Problems with Sumproduct formulas Zemmm Excel Worksheet Functions 1 December 12th 05 11:09 AM
Need Formulas for counting multiple conditions OrdOff Excel Worksheet Functions 4 July 3rd 05 06:12 PM
Formulas not working John Lovin Excel Worksheet Functions 4 January 24th 05 02:27 AM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
Dynamic Formulas with Dynamic Ranges Ralph Howarth Excel Worksheet Functions 5 January 21st 05 08:44 AM


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