Jump to content

Recommended Posts

Posted

Good Morning Gays,

I need your help to find the suitable formula for the attached excel sheet which highlighted in red and it’s related to how to count the Fridays and Saturdays for the specific month. Please open the attached excel sheet.

Your prompt reply and help will be highly appreciated.

Regards,

Example.zip


Posted (edited)

You may want to check the actual position on your keyboard of the "u" and "a" keys. :w00t::whistle:

In Cell B9:

=WEEKDAY($B$5+B8-1;2)

copy up to AC9

In cell AD9:

=IF($I$12=AC8;"";WEEKDAY($B$5+AC8-1;2))

in AD8:

=IF($I$12>AC8;AC8+1;"")

copy up to AF8

in AD9:

=IF(AD8<>"";WEEKDAY($B$5+AD8-1;2);"")

copy up to AF9

in I15:

=COUNTIF($B$21:$AF$21;5)

in I16:

=COUNTIF($B$21:$AF$21;6)

Read the help for the parameters of WEEKDAY (bolded) and in case change the argument of COUNTIF (bolded underlined italic)

jaclaz

Edited by jaclaz

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...