#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default counting

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default counting

hi
provided that the dates are dates with no times attached, you could use the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default counting

Thanx FSt1 for the prompt response.

I tried that but that is not what I want as you see this is a table with
outstanding survey points checked some workdays in a construction project.
I want the number of surveys done to date. in one CELL.

I have 10 survey points for August 30, 5 points for sept 1, 6points for
sep3, 4 points on sep 4 so on...

Now I want to count the number of surveys done. and use the dates column for
doing it.
from the above data you can say ( aug30( 1), sept1(2), sep3(3), sep 4(4)) so
4 surveys done.

can this be achieved by any formula??

Afd


"FSt1" wrote in message
...
hi
provided that the dates are dates with no times attached, you could use
the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default counting

hi
now i am a tad confused.
do you mean that you have 10 seperate entries for Aug-30 or the number 10
beside aug-30. if the first then that should be just a count formula
=count(A2:A100)
if the last, that sounds like a simple sum formula.
how is your data layed out?

Regards
FSt1

"afdmello" wrote:

Thanx FSt1 for the prompt response.

I tried that but that is not what I want as you see this is a table with
outstanding survey points checked some workdays in a construction project.
I want the number of surveys done to date. in one CELL.

I have 10 survey points for August 30, 5 points for sept 1, 6points for
sep3, 4 points on sep 4 so on...

Now I want to count the number of surveys done. and use the dates column for
doing it.
from the above data you can say ( aug30( 1), sept1(2), sep3(3), sep 4(4)) so
4 surveys done.

can this be achieved by any formula??

Afd


"FSt1" wrote in message
...
hi
provided that the dates are dates with no times attached, you could use
the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default counting

have a column C with 10 aug 30 2009 entries For eg(C8:C17), 5 entries of
Sep 12009 (C18:C22), 6 entries for september 3 2009(C23:C28).

I want excel to calculate(count) in cell D1

Any date entry with august 30 2009 as 1
any date entry with september 1 2009 as 1
any date entry with september 3 2009 as 1
and thus make a total count
as this will give me a count of the number of survey days

hope I am able to make it clear

afd

"FSt1" wrote in message
...
hi
now i am a tad confused.
do you mean that you have 10 seperate entries for Aug-30 or the number 10
beside aug-30. if the first then that should be just a count formula
=count(A2:A100)
if the last, that sounds like a simple sum formula.
how is your data layed out?

Regards
FSt1

"afdmello" wrote:

Thanx FSt1 for the prompt response.

I tried that but that is not what I want as you see this is a table with
outstanding survey points checked some workdays in a construction
project.
I want the number of surveys done to date. in one CELL.

I have 10 survey points for August 30, 5 points for sept 1, 6points for
sep3, 4 points on sep 4 so on...

Now I want to count the number of surveys done. and use the dates column
for
doing it.
from the above data you can say ( aug30( 1), sept1(2), sep3(3), sep 4(4))
so
4 surveys done.

can this be achieved by any formula??

Afd


"FSt1" wrote in message
...
hi
provided that the dates are dates with no times attached, you could
use
the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change
the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd










  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default counting

It sounds like what you want is a count of the unique dates.

Assuming your dates are true Excel dates...

=SUM(--(FREQUENCY(C8:C100,C8:C100)0))

--
Biff
Microsoft Excel MVP


"afdmello" wrote in message
...
have a column C with 10 aug 30 2009 entries For eg(C8:C17), 5 entries of
Sep 12009 (C18:C22), 6 entries for september 3 2009(C23:C28).

I want excel to calculate(count) in cell D1

Any date entry with august 30 2009 as 1
any date entry with september 1 2009 as 1
any date entry with september 3 2009 as 1
and thus make a total count
as this will give me a count of the number of survey days

hope I am able to make it clear

afd

"FSt1" wrote in message
...
hi
now i am a tad confused.
do you mean that you have 10 seperate entries for Aug-30 or the number 10
beside aug-30. if the first then that should be just a count formula
=count(A2:A100)
if the last, that sounds like a simple sum formula.
how is your data layed out?

Regards
FSt1

"afdmello" wrote:

Thanx FSt1 for the prompt response.

I tried that but that is not what I want as you see this is a table with
outstanding survey points checked some workdays in a construction
project.
I want the number of surveys done to date. in one CELL.

I have 10 survey points for August 30, 5 points for sept 1, 6points for
sep3, 4 points on sep 4 so on...

Now I want to count the number of surveys done. and use the dates column
for
doing it.
from the above data you can say ( aug30( 1), sept1(2), sep3(3), sep
4(4)) so
4 surveys done.

can this be achieved by any formula??

Afd


"FSt1" wrote in message
...
hi
provided that the dates are dates with no times attached, you could
use
the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change
the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd










  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default counting

hi
still not sure but if i do understand try this...
=COUNT(IF(FREQUENCY(A1:A25, A1:A25)0,1))

adjust ranges to suit.
Regars
FSt1

"afdmello" wrote:

have a column C with 10 aug 30 2009 entries For eg(C8:C17), 5 entries of
Sep 12009 (C18:C22), 6 entries for september 3 2009(C23:C28).

I want excel to calculate(count) in cell D1

Any date entry with august 30 2009 as 1
any date entry with september 1 2009 as 1
any date entry with september 3 2009 as 1
and thus make a total count
as this will give me a count of the number of survey days

hope I am able to make it clear

afd

"FSt1" wrote in message
...
hi
now i am a tad confused.
do you mean that you have 10 seperate entries for Aug-30 or the number 10
beside aug-30. if the first then that should be just a count formula
=count(A2:A100)
if the last, that sounds like a simple sum formula.
how is your data layed out?

Regards
FSt1

"afdmello" wrote:

Thanx FSt1 for the prompt response.

I tried that but that is not what I want as you see this is a table with
outstanding survey points checked some workdays in a construction
project.
I want the number of surveys done to date. in one CELL.

I have 10 survey points for August 30, 5 points for sept 1, 6points for
sep3, 4 points on sep 4 so on...

Now I want to count the number of surveys done. and use the dates column
for
doing it.
from the above data you can say ( aug30( 1), sept1(2), sep3(3), sep 4(4))
so
4 surveys done.

can this be achieved by any formula??

Afd


"FSt1" wrote in message
...
hi
provided that the dates are dates with no times attached, you could
use
the
countif function.
with a date you want to count in A1 and all dates to count in column
A.........
=countif(A1:A25, A1)
or you could put your count date in a cell off to the side and change
the
date in that cell to change the formula results.

Regards
FSt1


"afdmello" wrote:

I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd









  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default counting

Hi,

You can also try this. This formula assumes that there are no blanks in the
range

=sumproduct(1/countif(range,range))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"afdmello" wrote in message
...
I have dates in a column

for eg 30-aug-09 ten times
1-sep-09 5 times
3-sep-09 6 times

I want to add or count all dates of 30-aug-09 as 1
all 1-sep-09 as 2 and so on...
my goal being I want to count number of dates

pls help

afd

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
Counting Jenai New Users to Excel 4 February 24th 08 06:48 AM
counting function but not double counting duplicates JRD Excel Worksheet Functions 2 November 7th 07 06:43 PM
Counting Help [email protected] Excel Worksheet Functions 6 October 17th 06 10:43 PM
Counting rows, then counting values. Michael via OfficeKB.com Excel Discussion (Misc queries) 7 August 4th 05 10:57 PM
Counting names in a column but counting duplicate names once TBoe Excel Discussion (Misc queries) 9 May 11th 05 11:24 PM


All times are GMT +1. The time now is 06:08 AM.

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"