Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
WD WD is offline
external usenet poster
 
Posts: 12
Default formula to count formatted result value

In column A enter the date and in B a formula copies A1 reformated as day
(dddd).
How can I count the results of colums "B" (number of times each day appears)?
Col A Col B
1/1/10 9:13 PM Friday
1/3/10 3:25 PM Sunday

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default formula to count formatted result value

=SUMPRODUCT(--(WEEKDAY(B$1:B$100)=ROW(A1)),--(B$1:B$100<"")) and copy down
through rows 1 to 7, will show the count for each day from Sunday to
Saturday.
--
David Biddulph

"WD" wrote in message
...
In column A enter the date and in B a formula copies A1 reformated as day
(dddd).
How can I count the results of colums "B" (number of times each day
appears)?
Col A Col B
1/1/10 9:13 PM Friday
1/3/10 3:25 PM Sunday



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default formula to count formatted result value

hi
if B1 is friday and you wish to count friday, you can do 1 of 2 things.....

=countif(B1:B200,"Friday")

or if B1 is Friday then
=countif(B1:B200,B1)

some experts seem to think verison 2 is more reliable and it may be but it
requires more advanced knowlege of what B1 will be.

regards
FSt1




"WD" wrote:

In column A enter the date and in B a formula copies A1 reformated as day
(dddd).
How can I count the results of colums "B" (number of times each day appears)?
Col A Col B
1/1/10 9:13 PM Friday
1/3/10 3:25 PM Sunday

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default formula to count formatted result value

My reading of the question was that column B didn't contain text values such
as "Friday", but contained real dates formatted as dddd.
--
David Biddulph

"FSt1" wrote in message
...
hi
if B1 is friday and you wish to count friday, you can do 1 of 2
things.....

=countif(B1:B200,"Friday")

or if B1 is Friday then
=countif(B1:B200,B1)

some experts seem to think verison 2 is more reliable and it may be but it
requires more advanced knowlege of what B1 will be.

regards
FSt1




"WD" wrote:

In column A enter the date and in B a formula copies A1 reformated as day
(dddd).
How can I count the results of colums "B" (number of times each day
appears)?
Col A Col B
1/1/10 9:13 PM Friday
1/3/10 3:25 PM Sunday



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
Formatted Result from an IF function Sri Harsha[_2_] Excel Worksheet Functions 3 September 15th 09 09:01 PM
Count if within conditional formatted cells kmaki Excel Worksheet Functions 12 June 13th 08 01:06 PM
Formula to count number of time stamps within a range in a column having dates formatted as "custom" Sam Excel Discussion (Misc queries) 3 June 19th 07 12:33 AM
Formula to lookup Multiple Column Text and then Count Result ShelbyMan Excel Worksheet Functions 2 August 22nd 05 01:43 AM
reference the result of a formula in a text formatted cell jpwinston Excel Discussion (Misc queries) 1 February 7th 05 05:33 PM


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