1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Week Commencing

Discussion in 'Business Applications' started by The Great One, Dec 19, 2001.

Thread Status:
Not open for further replies.
  1. The Great One

    The Great One Thread Starter

    Joined:
    Sep 27, 2001
    Messages:
    89
    An example is probably the best way of doing this so here goes....
    Every day my department spend different amounts of money on their lunch. What I want to do is calculate how much they have spent over the week (I do this summary every year).

    An example of the data I have is

    Name Date Of Purchase Cost

    Bart 13/12/2001 £10

    Lisa 14/12/2001 £8

    Homer 14/12/2001 £50

    Marge 17/12/2001 £10

    Maggie 17/12/2001 £4

    Homer 18/12/2001 £45

    Marge 25/12/20001 £12
    ****************************************
    What I Want It To Show

    10/12/2001(Week Commencing) £68

    17/12/2001(Week Commencing) £59

    24/12/2001(Week Commencing) £12

    Does Anyone Know How To Do This!!!??


    Thanks

    The Great One
     
  2. THoey

    THoey

    Joined:
    Feb 12, 2001
    Messages:
    3,420
    What are you doing this in? If it is in MS Access, I would suggest you look at the DATEPART function (especially the "ww" code). You could probably do a GROUP BY where the Date Of Purchase is in the week. Look it up and play with it and if you still need help, post back...

    Hope that helps...
     
  3. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    Easier to just set up a spreadsheet with each person on a seperate tab. Set up weekly blocks and and columns for the money spent with a total at the bottom. You can set up a sheet for an entire year and update it as needed.


    [​IMG]
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/62274

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice