+ Reply to Thread
Results 1 to 6 of 6

Managing Data

  1. #1
    Registered User
    Join Date
    08-27-2004
    Posts
    40

    Managing Data

    Hello!

    I currently have a spreadsheet designed to programme the work of a team of people. Essentially it currently consists of the following column headers:

    Auditor Job id Date of last audit Week Number Next Audit Week

    Just a quick explanation, from the date Excel generates a Week number. It then adds the number of weeks between visits to this number and projects when the next visit is due.

    The complication is that for every third visit another worker must complete the check to ensure the other one is doing their job properly. I would like the file to automatically say that once this site has been audited twice by Mr A, it indicates that Mr B must do the next one.

    Am hoping that someone out there can figure this out as I can't! Am tempted to think I'm straying into data base territory.

    Darren

  2. #2
    Registered User
    Join Date
    08-27-2004
    Posts
    40
    Hello again.

    Am not sure if I've not had any replies because it's not possible, or whether I've just not explained it that well. If anyone would like a different explanation please post a message and I'll do my best to make it clearer.

    Thanks

    Darren

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    Hi Darren,

    It will be possible & I think a solution will probably involve the use of the Mod function nested within an IF function.
    eg =IF(MOD(A5,3)=0,"Mr B","Mr A")
    where A5 contains the count of the current visit.

    If something more complex is needed can you please attach a sample file with more detail?
    eg will it always be 2 x Mr A, 1 x Mr B & then another 2 x Mr A & 1 x Mr B?
    Or will the check person vary from a list of the other staff in the team?

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    08-27-2004
    Posts
    40
    Rob

    Thank you for that. I'll try it today and let you know how I get on. It may be that something more complex will be needed, if so I will take you up on the offer and attach a sample file.

    Just to confirm, it will always be 2 x Mr A, 1 x Mr B and so on.

    Thanks a lot for your help.

    Darren

  5. #5
    Registered User
    Join Date
    08-27-2004
    Posts
    40
    Rob,

    Thanks again for your help, and it is more complex than I thought! As suggested, I have attached a sample report with a little more explanation.

    Thanks

    Darren
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi Darren,

    Sorry about the delay, I have been tinkering on & off with your file for a while now & I think I have something workable - have a look & see what you think...

    I started off on quite a tangent to my original suggestion of the Mod function by delving into the use of Sumproduct, but when I looked at it today with fresh eyes I realised how far I had veered off track & I pulled myself back to using Mod on the second sheet which seems to work.
    I've added a few extra columns which may or may not be helpful & can be hidden or deleted.
    Also, you'll see that I've put some helper cells near the top of the page to allow for copying a formula down & across the 4 columns of Inspectors. You can remove these helper cells if you want by changing the references within each column to the hard coded value which is listed at the top of the column.


    hth
    Rob

    ps: if you have any further questions I'll try to get to them a bit quicker next time ;-)
    Attached Files Attached Files
    Last edited by broro183; 11-02-2007 at 11:16 PM.

+ 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