+ Reply to Thread
Results 1 to 10 of 10

Problem with settings dates for every saturday and sunday

  1. #1
    Registered User
    Join Date
    12-01-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Problem with settings dates for every saturday and sunday

    I recently started working on a saturday and sunday and wanted to keep track of the hours i did and money i earned, is there any way to make it recognise a pattern? for example 30/11 1/12 7/12 8/12 ? Thanks for any help.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with settings dates for every saturday and sunday

    Hi and welcome to the forum

    This will give you the day number...
    =WEEKDAY("date",2)
    6 = Saturday and 7 = sunday, so you could probably workl something out using that and an IF() or sumif() statement?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    12-01-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Problem with settings dates for every saturday and sunday

    Could you elaborate? I've not used excel massively. And also thank you!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with settings dates for every saturday and sunday

    Sure. Do you have a sample workbook showing what you are working with (and showing what you want)? It will make it easier to custom-fit something for you

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Problem with settings dates for every saturday and sunday

    Hi Deasy and welcome to the forum,

    If you add a 1 to a date it gives the next day. Adding 7 will add 7 days. See the attached where I put in 11/30/20103 and 12/1/2013 and then did formulas for all the rest of the dates. Hope this helps.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Registered User
    Join Date
    12-01-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Problem with settings dates for every saturday and sunday

    Hours and pay.xlsx I want to be able to put all of the dates in for saturdays and sundays, without having manullay put them in

  7. #7
    Registered User
    Join Date
    12-01-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Problem with settings dates for every saturday and sunday

    Yes MarvinP that's perfect thank you, and thank you too FDibbins.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with settings dates for every saturday and sunday

    Thanks. Slight mis-understanding...try this in A3, copied down...
    =A2+IF(WEEKDAY(A2,2)=6,1,6)

    As a test, put it in column B to make sure it matches your data?

  9. #9
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Problem with settings dates for every saturday and sunday

    Hi Deasy,

    Here is how I'd do this problem. See the attached.
    Attached Files Attached Files

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Problem with settings dates for every saturday and sunday

    Nice option, Marvin

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Saturday, Sunday or Holiday BY-PASS
    By GPErtel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-19-2013, 08:26 PM
  2. IF Statments pertaining to dates and if it lands on a Saturday or Sunday
    By RanS2011 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-22-2013, 11:30 AM
  3. Function to Ignore Saturday and Sunday
    By kamalthakur in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-08-2008, 11:34 AM
  4. identifying saturday and sunday in a date
    By mdub72 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2008, 04:23 PM
  5. [SOLVED] Is there a way to identify saturday and sunday automatically
    By Unicornlmb in forum Excel General
    Replies: 2
    Last Post: 01-05-2006, 01:40 PM

Tags for this Thread

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