+ Reply to Thread
Results 1 to 4 of 4

Need a macro to count certain days Sun, Tues, Thurs for a gym membership sheet

  1. #1
    Registered User
    Join Date
    04-14-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Need a macro to count certain days Sun, Tues, Thurs for a gym membership sheet

    I need a macro to count only certain days of the week. Sunday, Tuesday and Thursday. I have a gym class which lasts 12 consecutive sessions that are on Sunday, Tuesday and Thursday.

    So if they join on day xx/xx/xxxx I would like the macro to calculate when the due date is.

    Hard or easy?

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Need a macro to count certain days Sun, Tues, Thurs for a gym membership sheet

    Hi and welcome to the board

    What do you mean by due date? The Next session date?Does it have to be VBA ?

  3. #3
    Registered User
    Join Date
    04-14-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need a macro to count certain days Sun, Tues, Thurs for a gym membership sheet

    Hi, thanks for the welcome and for replying.

    I didn't explain very well. How it works is the member joins say on a Sunday. The membership entitles them to 12 consecutive sessions. The sessions only take place on a Sunday, Tuesday, Thursday. So after 4 weeks of Sunday, Tuesday, Thursday their membership is over and they are due to repay.

    I can't just do 4 weeks because if they join on a Thursday as opposed to a Sunday the result is wrong. As i write it to you i'm thinking it might be possible to come up with a date formula somehow.

  4. #4
    Registered User
    Join Date
    04-14-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Need a macro to count certain days Sun, Tues, Thurs for a gym membership sheet

    Quote Originally Posted by arthurbr View Post
    Hi and welcome to the board

    What do you mean by due date? The Next session date?Does it have to be VBA ?
    any help on this?

+ 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