+ Reply to Thread
Results 1 to 4 of 4

creating a calendar with auto-update functions

Hybrid View

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    Glasgow, UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    creating a calendar with auto-update functions

    Hi,
    I have been tasked with creating an excel ‘tool’ to manage the HR of a company. There are many people on many shifts each day, and it is becoming hard to keep track of where people are when.
    I have created the layout of the workbook, as I desire it, but am stuck on getting the formulas right, having only just started experimenting with various Excel formulas (IF,LOOKUP etc) and have never used macros or VBA.
    Basically I wish to automatically update cells E2 and E3 on tab ‘Joe Bloggs’ based on the text in today’s date cell in the calendar on that same tab. The index pages will then be updated. The text in the calendar cell will simply display the employee’s location.
    The whole workbook will be updated by several different users in various locations, and will be located on a server for this purpose.
    I have read various other posts regarding calendars/auto-update, but none seem to be the right fit.
    Any help would be hugely appreciated. Also, please let me know if I am going about this the wrong way.
    Cheers.
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,746

    Re: creating a calendar with auto-update functions

    See attached for solution.

    If you are new at Excel, the formula may not be obvious. You have set up a grid with months as the columns and days as the rows, so you need to figure out how to select a cell in the grid. To get the column, use the month number from the date (MONTH function). To get the row, use the day number (DAY function).

    Then you use INDEX, which allows you to specify a range, and a row and column number within that range.

    You may want to check Excel Help for more details on those functions.
    Attached Files Attached Files
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

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

    Re: creating a calendar with auto-update functions

    Hi cdayason and welcome to the forum,

    Find the attached with some data I've created to try to solve your problem. Pivot Tables are weak as they only put numbers in the summation area, and it looks like you want locations. Advanced Filters keep the location string but need to be sorted. and don't put months across the columns.

    I think it is a good idea to try some examples with data before having a final data structure.

    Also, I'm somewhat concerned when you say "updated by several different users on a server" as if two people try to update at the same time your system may fail. Access has record locking but I don't think it is built into Excel (I may be wrong on this).

    Look at the attached and see what it does and doesn't do for your problem.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    02-15-2011
    Location
    Glasgow, UK
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: creating a calendar with auto-update functions

    Thanks heaps both of you!

    6 String Jazzer - simple solution and what I was looking for = great!! Cheers

    MarvinP - yes I'm playing around with the thing the whole time to get structure right. There's generally only one person editing the sheet at a time but others have access to it in order to see where everyone is. If I have problems I'll move to another tool anyhow. Thanks!

    There'll be more to the sheet eventually but this will get me going in the mean time..

+ 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