+ Reply to Thread
Results 1 to 8 of 8

How to create a new spreadsheet or amend an existing one

  1. #1
    Registered User
    Join Date
    12-06-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    21

    How to create a new spreadsheet or amend an existing one

    Hi all,

    Looking for some collective wisdom / advice before I start tampering with, or creating a spreadsheet.

    I've just been handed the wonderful task of maintaining a spreadsheet which, in effect, records details of what days contracted employees work, on what 'exercise' they worked on, and the 'activity' they worked upon within the exercise.

    I cannot post a copy as commercially sensitive, but the sheet itself is fairly standard affair. Dates for the year progress by row top to bottom, with employee names by column left to right. There are then various cell entries for the exercise and then the activity each undertake. This information is firstly input when they are allocated the work, and then updated when the complete it, this is currently achieved by changing the cell contents from x to 1.

    I've today learned this information is then used to manually complete a further spreadsheet, which is then sent to payroll to pay contracted employees for the work completed.

    The current set up involves the 'personal details' such as name, payroll ref on one spreadsheet, with the booking details mentioned in paragraph 2 on another. A combination of these is then manually entered into a third spreadsheet.

    This process seems 'wonderfully longwinded' and I immediately thought there must be a way to automate, so that one sheet could cross reference the other and do all the leg work. Trouble is I'm not sure how to do it, so looking for pointers any kind souls on here might offer.

    I've got a fairly basic knowledge handle on formulas etc, and happy to google things like that, but in terms of set up I guess some of you will have experience of this type of thing??

    Any help gratefully received.


    Ballst

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: How to create a new spreadsheet or amend an existing one

    You may possibly have to supply some kind of sample workbook. Obviously, we don't need to see the original, just a sample that has the required information for others to help.

    -
    -

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and click "manage attachments" to open the upload window.


    To add a file to a post

  3. #3
    Registered User
    Join Date
    12-06-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: How to create a new spreadsheet or amend an existing one

    Thanks davesexcel.

    For ease I have attached the one spreadsheet, and each of the tabs in the current set up represents a separate spreadsheet. Below is a hopefully sensible explanation.

    Tab one – Diary

    From right to left this shows each person, and top to bottom each working day of the year. The person section is then broken down to 5 areas, Exercise, Activity, Task 1, Task 2, Paid. Each exercise is numbered, and there are a six activities which can occur within an exercise, description in the activity key.

    Some people can only take part in Task 1, whilst others can do either Task 1 or 2. This is currently signified by the Green highlight in the relevant cells. If the person is selected to be used for an exercise, the relevant cells are completed, with the exercise number and activity type recorded. Until the task is completed an x is entered against the Task. Once paid this is manually changed to a 1 and the cells are manually changed to red text to visually show payment.

    Tab two – Employee Detail


    A basic spreadsheet holding employee details.

    Tab three – Authorisation Tab

    The information contained in this sheet is currently manually entered on a weekly basis, as per the example entries. The majority of the information comes from the diary spreadsheet, with the pay ref information coming from the Employee Detail spreadsheet. Once all the information is entered the spreadsheet is then circulated for authorisation, before it is sent to payroll.

    As mentioned in my original post there seem to be a number of areas this process can either be improved or automated, in particular the Authorisation sheet. My initial though is, could this be populated using a look up of some description? It would be useful if the Business Activity information could somehow populate, perhaps running off the activity code information? Also if when entering the person’s surname or employee id the other column could populate.

    Again, if anyone is able to assist, I would be very grateful.


    Ballst
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: How to create a new spreadsheet or amend an existing one

    Perhaps this will help a little.
    1) Conditional formatting on the Diary sheet such that when a value of one is placed in either the Task1 or Task2 column the columns in that row will adopt a red font. The formula for the rule is: =OR($F8=1,$G8=1)
    Note that this will need to be applied four times, once for each employee.
    2) One the Authorisation Tab Filling in the surname and initial of the employee based on Pay Ref using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that this requires changing the format of the cells in columns A:C from Text to General.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    12-06-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: How to create a new spreadsheet or amend an existing one

    Sorry for the tardy reply, I'm on leave but seeing your reply wanted to try it out, so have quickly logged on. Formula works well, and is very useful. I guess by substituting the column references this could 'look up' information from other spreadsheets, as the information in the example spreadsheet is normally held on different spreadsheets?

    Also, is there a formula / method of populating Column J in the authorisation tab with the booking information in the Diary Tab? Appreciate that might mean changing the diary tab a bit!!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: How to create a new spreadsheet or amend an existing one

    My thought would be somewhat the opposite. I would take information from the Authorisation sheet, as it is arranged in record form, and use that to populate the Exercise and Activities columns on the Diary sheet, which is more like a display sheet (senior moment). This would require some additional columns on the Diary sheet, however perhaps the automation will make up for that.
    The added columns are for activities, exercises*, start and end dates.
    *The exercises column is populated by using: =IF(RIGHT(I2,3)="000","",RIGHT(I2,3))
    On the Diary sheet the Exercises columns, modeled in rows 17:37, are populated using the array entered formula**:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The Activities columns are populated using the array entered formula**:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Array entered formulas are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    In addition column J on the Authorisation sheet is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note that this formula accesses a table which has been set up in columns XFC:XFD that is similar to the information in cell B5 on the Diary sheet.
    Let us know if you have any questions.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-06-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: How to create a new spreadsheet or amend an existing one

    Hi JeteMc,

    Back in the office, so thank you for the reply, and the working attachment. I think I've got my head around the magic you've performed with the formulas.

    The problem with your proposed set up is that all of the information I end up working with comes from the diary sheet. So for example, in January I might book something in for w/c 23 July, this would be entered into the diary sheet. It's only when we reach the w/e 27 July that an authorisation sheet is produced for that particular week. I cannot see anyway around the diary sheet not being the area this data is originally entered, unless I'm being daft, if so my apologies.

    As I say very grateful for your assistance, if I were to work on another example and re-post would you be kind enough to give it the once over?

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: How to create a new spreadsheet or amend an existing one

    You know the needs of your spreadsheets better than I, so if the data needs to move from the diary sheet to the authorization sheet then my set up won't work, sorry about that. I will say that the arrangement of the Diary sheet is more similar to a dashboard (that's the word that escaped me in post #6) than to a format where each row would be in record form (Name Date Exercise Activity Task1 Task2 Paid). Data in record format is easier to work with. I will be glad to give your re-post a look, as I am sure will the other contributors, when I am able.

+ 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. [SOLVED] Amend existing code with New Operation
    By JO505 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-17-2016, 06:03 PM
  2. Create variation in existing spreadsheet
    By tprkevin in forum Excel General
    Replies: 3
    Last Post: 11-05-2015, 03:25 PM
  3. Replies: 2
    Last Post: 04-22-2015, 10:09 PM
  4. Amend Existing Array Syntax to Account for Errors
    By XOR LX in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 10-16-2014, 06:04 AM
  5. Control various cells from one cell - amend existing code
    By SubwAy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2014, 10:00 AM
  6. Using VBA Userform to edit/amend existing data
    By Raporter65 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2013, 03:41 PM
  7. trying to amend existing SUM to make it more selective
    By Woolmep in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 10-29-2009, 06:12 AM

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