Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default formula for counting only Friday between to dates

i need a formula to count only Friday between to dates.

say,
A1=Starting Date
A2=End Date

A3 will be the no. of Friday between A1 & A2

Pls. help....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default formula for counting only Friday between to dates

=INT((A2-WEEKDAY(A2+1-6)-A1+8)/7)
--
If this post helps click Yes
---------------
Jacob Skaria


"EricBB" wrote:

i need a formula to count only Friday between to dates.

say,
A1=Starting Date
A2=End Date

A3 will be the no. of Friday between A1 & A2

Pls. help....

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default formula for counting only Friday between to dates

one way:

=SUM(IF(WEEKDAY(A1:A19,2)=3,1))

CTRL+SHIFT+ENTER it as it is an array-formula



On 26 Maj, 08:07, EricBB wrote:
i need a formula to count only Friday between to dates.

say,
A1=Starting Date
A2=End Date

A3 will be the no. of Friday between A1 & A2

Pls. help....


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default formula for counting only Friday between to dates

oops, sorry

did not read the post carefully

On 26 Maj, 08:35, Jarek Kujawa wrote:
one way:

=SUM(IF(WEEKDAY(A1:A19,2)=3,1))

CTRL+SHIFT+ENTER it as it is an array-formula

On 26 Maj, 08:07, EricBB wrote:



i need a formula to count only Friday between to dates.


say,
A1=Starting Date
A2=End Date


A3 will be the no. of Friday between A1 & A2


Pls. help....- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default formula for counting only Friday between to dates

Another:

=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&A2)))=6))



EricBB wrote:

i need a formula to count only Friday between to dates.

say,
A1=Starting Date
A2=End Date

A3 will be the no. of Friday between A1 & A2

Pls. help....


--

Dave Peterson
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
Formula to return date of following Friday Daniel Bonallack Excel Worksheet Functions 6 April 5th 23 01:09 PM
Formula to assist with counting dates Dilly Excel Discussion (Misc queries) 2 May 8th 09 10:53 PM
Formula to assist with counting dates Dilly Excel Discussion (Misc queries) 9 May 8th 09 06:25 PM
Formula to assist with Counting Dates Dilly Excel Discussion (Misc queries) 2 May 8th 09 04:01 PM
challenging formula(for me), counting days between dates for multipleyears TG Excel Worksheet Functions 5 April 19th 06 05:31 PM


All times are GMT +1. The time now is 10:26 PM.

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"