+ Reply to Thread
Results 1 to 194 of 194

Number of paychecks in a month?

  1. #1
    Registered User
    Join Date
    08-19-2005
    Posts
    6

    Question Number of paychecks in a month?

    In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05, etc...

    What I want to know is, how many paychecks will I receive each month?

    I get paid every other week on a Friday.

    My first attempt with help from reading other posts was to do this

    =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2

    To get the number of fridays, divided by 2. But that returns 2.5 in some months, and I dont know which of these 4 months each year gets me the extra paycheck.

    Thanks for the help

  2. #2
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  3. #3
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    That's part of what I'm stuggling with... how do I get that fact into the formula?

    September is a 3 paycheck month.

  4. #4
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  5. #5
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    Thanks for the reply... but thats not what I need. I need to know the number of paychecks in a month.

    Some months have 5 fridays, so its unclear if its a month that i get 2 or 3 paychecks. What forumula would tell me this?

  6. #6
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Not a very elegant solution but it gives you what you want:

    As RagDyer said put your first pay date of the year in Z1
    In Z2 put =Z1+14
    copy down until you get a date past December
    In AA1 put =MONTH(Z1) and format as number (no decimals)
    Copy this down to the same row as your last formula in Col Z

    Now in a cell in the column that has your January date put this formula:
    =COUNTIF(AA1:AA26,COLUMNS($A1:A1))
    copy this formula across the remaining 11 columns holding your dates
    NOTE: I used column A as an example - change it to match the column holding your January dates

  7. #7
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  8. #8
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  9. #9
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  10. #10
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    Sorry RagDyeR , I may have misundertstood what you meant.

    The formula from Sandy Mann is not right... It tells me the months with 3 weeks, not those two months where the extra paycheck falls.

  11. #11
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  12. #12
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    I still don't have the answer I need.

  13. #13
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  14. #14
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  15. #15
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    Sandy Mann, I tried yours but only got 2 for every month

    Please send a test spreadsheet to jkh1978 AT hotmail.com

  16. #16
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  17. #17
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  18. #18
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  19. #19
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  20. #20
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  21. #21
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  22. #22
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  23. #23
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  24. #24
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  25. #25
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  26. #26
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  27. #27
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  28. #28
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  29. #29
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  30. #30
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  31. #31
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  32. #32
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  33. #33
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  34. #34
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  35. #35
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  36. #36
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  37. #37
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  38. #38
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  39. #39
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  40. #40
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  41. #41
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  42. #42
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  43. #43
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  44. #44
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  45. #45
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  46. #46
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  47. #47
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  48. #48
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  49. #49
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  50. #50
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  51. #51
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  52. #52
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  53. #53
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  54. #54
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  55. #55
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  56. #56
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  57. #57
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  58. #58
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  59. #59
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  60. #60
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  61. #61
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  62. #62
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  63. #63
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  64. #64
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  65. #65
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  66. #66
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  67. #67
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  68. #68
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  69. #69
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  70. #70
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  71. #71
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  72. #72
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  73. #73
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  74. #74
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  75. #75
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  76. #76
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  77. #77
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  78. #78
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  79. #79
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  80. #80
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  81. #81
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  82. #82
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  83. #83
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  84. #84
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  85. #85
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  86. #86
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  87. #87
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  88. #88
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  89. #89
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  90. #90
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  91. #91
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  92. #92
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  93. #93
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  94. #94
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  95. #95
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  96. #96
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  97. #97
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  98. #98
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  99. #99
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  100. #100
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  101. #101
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  102. #102
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  103. #103
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  104. #104
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  105. #105
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  106. #106
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  107. #107
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  108. #108
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  109. #109
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  110. #110
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  111. #111
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  112. #112
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  113. #113
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  114. #114
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  115. #115
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  116. #116
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  117. #117
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  118. #118
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  119. #119
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  120. #120
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  121. #121
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  122. #122
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  123. #123
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  124. #124
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  125. #125
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  126. #126
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  127. #127
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  128. #128
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  129. #129
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  130. #130
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  131. #131
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  132. #132
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  133. #133
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  134. #134
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  135. #135
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  136. #136
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  137. #137
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  138. #138
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  139. #139
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  140. #140
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  141. #141
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  142. #142
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  143. #143
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  144. #144
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  145. #145
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  146. #146
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  147. #147
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  148. #148
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  149. #149
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  150. #150
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  151. #151
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  152. #152
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  153. #153
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  154. #154
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  155. #155
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  156. #156
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  157. #157
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  158. #158
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  159. #159
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  160. #160
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  161. #161
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  162. #162
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  163. #163
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  164. #164
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  165. #165
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  166. #166
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  167. #167
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  168. #168
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  169. #169
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  170. #170
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  171. #171
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  172. #172
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  173. #173
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  174. #174
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  175. #175
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  176. #176
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  177. #177
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  178. #178
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  179. #179
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  180. #180
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  181. #181
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  182. #182
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  183. #183
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Nor do we. If you get paid in the final fri of a 4 fri month, you will only
    get 2 the following month even if it has 5 fri.

    It all depends upon where you start from, only you know that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  184. #184
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    One way.

    You get paid every 14 days ... right?

    Put the date of your first paycheck in say Z1.
    In Z2 enter
    =Z1+14
    And copy down, giving you a list of paydays.

    Then enter this formula in the appropriate row in say Column A for January,
    and copy across for each month:

    =SUMPRODUCT(--(TEXT($Z$1:$Z$26,"mm-yy")=TEXT(A1,"mm-yy")))

    --

    HTH,

    RD
    =====================================================
    Please keep all correspondence within the Group, so all may benefit!
    =====================================================

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    That's part of what I'm stuggling with... how do I get that fact into
    the formula?

    September is a 3 paycheck month.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  185. #185
    Ragdyer
    Guest

    Re: Number of paychecks in a month?

    The formula that I suggested will count the paychecks in each month and
    display that count wherever you insert the formula.
    The formula is set to be copied to each column, and read the column date
    from the top row that column, and compare that date to the list of your
    paydays that I directed you to create, in an "out-of-the-way" location of
    your sheet.

    Would you care to try it before commenting that it doesn't do what you wish?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  186. #186
    Bob Phillips
    Guest

    Re: Number of paychecks in a month?

    Well I tried it and it tells me that info.

    You do not to setup the table the start with, but it's fine then.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Thanks for the reply... but thats not what I need. I need to know the
    > number of paychecks in a month.
    >
    > Some months have 5 fridays, so its unclear if its a month that i get 2
    > or 3 paychecks. What forumula would tell me this?
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  187. #187
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    One way is to check is the Friday 28 days ahead of the 1st Friday in the
    month is still in the same month.

    Adapting a formula for the 1st Friday originally posted by Ron Rosenfeld
    almost exactly a year ago try:

    =IF(MONTH(DATE(YEAR(A1),MONTH(A1),1)+7-WEEKDAY(DATE(YEAR(A1),MONTH(A1),2))+28)=MONTH(A1),"3
    paychecks","2 paychecks")

    With any date in the target month in A1
    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > In my spreadsheet, I have a column for each month, 8/1/05, 9/1/05,
    > etc...
    >
    > What I want to know is, how many paychecks will I receive each month?
    >
    > I get paid every other week on a Friday.
    >
    > My first attempt with help from reading other posts was to do this
    >
    > =(4+(DAY(D1-DAY(D1)+1-WEEKDAY(D1-DAY(D1+5))+35)>7))/2
    >
    > To get the number of fridays, divided by 2. But that returns 2.5 in
    > some months, and I dont know which of these 4 months each year gets me
    > the extra paycheck.
    >
    > Thanks for the help
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >





  188. #188
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Did you get it all sorted out, or are you still having a problem?
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  189. #189
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  190. #190
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  191. #191
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



  192. #192
    RagDyeR
    Guest

    Re: Number of paychecks in a month?

    Would you like me to send you my test sheet?

    If so, post back with your address in pseudo text so the spammers can't
    decipher it.
    --

    Regards,

    RD
    ----------------------------------------------------------------------------
    -------------------
    Please keep all correspondence within the Group, so all may benefit !
    ----------------------------------------------------------------------------
    -------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...

    I still don't have the answer I need.


    --
    jkh1978
    ------------------------------------------------------------------------
    jkh1978's Profile:
    http://www.excelforum.com/member.php...o&userid=26461
    View this thread: http://www.excelforum.com/showthread...hreadid=397278



  193. #193
    Sandy Mann
    Guest

    Re: Number of paychecks in a month?

    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls


    That is because I failed to check if the first Friday was a pay day. With
    any pay Friday in D1 try:

    =IF((AND(MOD(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)-D1,14)=0,MONTH(A1-DAY(A1)+8-WEEKDAY(A1-DAY(A1)+2)+28)=MONTH(A1))),"3
    paychecks","2 paychecks")

    (Shamlessly stealing a formula for the 1st Friday form Daniel.M this time
    <g>)

    --
    HTH

    Sandy
    [email protected]
    Replace@mailinator with @tiscali.co.uk


    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sorry RagDyeR , I may have misundertstood what you meant.
    >
    > The formula from Sandy Mann is not right... It tells me the months with
    > 3 weeks, not those two months where the extra paycheck falls.
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:
    > http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >




  194. #194
    RagDyer
    Guest

    Re: Number of paychecks in a month?

    Sample test sheet is on the way.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------

    "jkh1978" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Sandy Mann, I tried yours but only got 2 for every month
    >
    > Please send a test spreadsheet to jkh1978 AT hotmail.com
    >
    >
    > --
    > jkh1978
    > ------------------------------------------------------------------------
    > jkh1978's Profile:

    http://www.excelforum.com/member.php...o&userid=26461
    > View this thread: http://www.excelforum.com/showthread...hreadid=397278
    >



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1