ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Silly question (https://www.excelbanter.com/excel-worksheet-functions/142365-silly-question.html)

Darrell_Sarrasin via OfficeKB.com

Silly question
 
I have to do a excel sheet that needs a formula that looks at a date in one
column and everytime that date appears in the one column go to another column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.

--
Message posted via http://www.officekb.com


Fred Smith

Silly question
 
=countif(c1,g:g)

--
Regards,
Fred


"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:71fcf2b5d616e@uwe...
I have to do a excel sheet that needs a formula that looks at a date in one
column and everytime that date appears in the one column go to another column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.

--
Message posted via http://www.officekb.com




Darrell_Sarrasin via OfficeKB.com

Silly question
 
tried that it is coming back as 0

Fred Smith wrote:
=countif(c1,g:g)

I have to do a excel sheet that needs a formula that looks at a date in one
column and everytime that date appears in the one column go to another column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.


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


Elkar

Silly question
 
See if this works:

=SUMPRODUCT(--(C1:C100=TODAY()),--(G1:G100<""))

This counts the number of times that today's date appears in Column C and
the corresponding row in Column G is not blank.

Is that what you're looking for? If not, it may help if you provide more
specific examples of what you want.

HTH,
Elkar


"Darrell_Sarrasin via OfficeKB.com" wrote:

tried that it is coming back as 0

Fred Smith wrote:
=countif(c1,g:g)

I have to do a excel sheet that needs a formula that looks at a date in one
column and everytime that date appears in the one column go to another column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.


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



Darrell_Sarrasin via OfficeKB.com

Silly question
 
that worked perfectly thank you. I ran a sumproduct on it earlier but I did
not think of using the :not blank theory. Thanks again.

Elkar wrote:
See if this works:

=SUMPRODUCT(--(C1:C100=TODAY()),--(G1:G100<""))

This counts the number of times that today's date appears in Column C and
the corresponding row in Column G is not blank.

Is that what you're looking for? If not, it may help if you provide more
specific examples of what you want.

HTH,
Elkar

tried that it is coming back as 0

[quoted text clipped - 6 lines]
example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.


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


David Biddulph[_2_]

Silly question
 
Fred may have intended to say =countif(g:g,c1) ?
--
David Biddulph

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:71fd3c1d61199@uwe...
tried that it is coming back as 0

Fred Smith wrote:
=countif(c1,g:g)

I have to do a excel sheet that needs a formula that looks at a date in
one
column and everytime that date appears in the one column go to another
column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info.
what
is the simplest way to count what is in column g i the date is in column
c.


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




Fred Smith

Silly question
 
You're right. I guess my dyslexia is not in complete remission :)

Fred.

--
Regards,
Fred


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
Fred may have intended to say =countif(g:g,c1) ?
--
David Biddulph

"Darrell_Sarrasin via OfficeKB.com" <u33691@uwe wrote in message
news:71fd3c1d61199@uwe...
tried that it is coming back as 0

Fred Smith wrote:
=countif(c1,g:g)

I have to do a excel sheet that needs a formula that looks at a date in one
column and everytime that date appears in the one column go to another
column
and count the amount of times it is there.

example in column c there is todays date. in column g there is info. what
is the simplest way to count what is in column g i the date is in column c.


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







All times are GMT +1. The time now is 11:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com