+ Reply to Thread
Results 1 to 25 of 25

Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

  1. #1
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Hi all,


    Little bit of background: I work in corporate company's HR department, and to be more specific in 'Mobilization Team' which I look after on-boarding process of nationals & expatriate employees. I have this mobilization spreadsheet to keep track of new starters and already mobilized personnel to company. I use this spreadsheet to report our progress.


    Main point: The spreadsheet is completely 100% manual where I have to edit every single details to make it look right and it's not a nice thing to do. I want to improve this to keep better track of everything, up-to-date record etc.


    What I want to improve:


    1. Editing/modifying - when I change date, or input a data, it reflects the change to that whole row for that person to.
    2. Adding formula/function - I can only see IF function. How do I add IFS for multiple conditions and values?
    3. Multiple choice drop down list - If the personnel has completed first stage and currently stuck at second stage I want the STATUS to show : Medical Stage (First stage being : Contract Signing Stage; Third stage : SAP ID activation; Fourth stage : Mobilized). This is tied to 1 & 2 like when the person has signed the contract : IF(F7>=DATE(2016,9,13),'Mobilised'),F7 4. If the later stages are not confirmed, without given date and the cell is empty, the STATUS cell counts whatever cell has date or data in it. Example: If the Medical completed date has date and SAP number provided date is empty ; the status shows: Medical Stage
    5. I want the STATUS cell to show 4 different colors in gradient bar. If it's stage 1: yellow ; stage 2: orange; stage 3; blue or something ; stage 4; green


    Please help me as much as you can. English is not my native and first language - apologies if it doesn't make sense at all. But can you please edit and modify my attached (somehow I cant attach file) spreadsheet as close as possible to things I mentioned above?

    Your assistance is greatly appreciated.

    Mobilsation Spreadsheet Template.xlsx
    Last edited by Byambadorj; 05-09-2017 at 05:58 AM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    First of all, your English is very good. Secondly, as HR spreadsheets go, this is not a bad one. These are all one-time requirements, so it is reasonable to use Excel to track them.
    [code]
    1. Editing/modifying - when I change date, or input a data, it reflects the change to that whole row for that person to.
    [/quote]
    I am not sure what you want here. Do you want to show the last time you updated anything in the row?

    [quote]


    2. Adding formula/function - I can only see IF function. How do I add IFS for multiple conditions and values?
    There are a number of alternatives to IF. LOOKUP and VLOOKUP are very effective if you have a lot of values. See this article: http://www.utteraccess.com/wiki/IF_AND_OR_NOT

    3. Multiple choice drop down list - If the personnel has completed first stage and currently stuck at second stage I want the STATUS to show : Medical Stage (First stage being : Contract Signing Stage; Third stage : SAP ID activation; Fourth stage : Mobilized). This is tied to 1 & 2 like when the person has signed the contract : IF(F7>=DATE(2016,9,13),'Mobilised'),F7 4. If the later stages are not confirmed, without given date and the cell is empty, the STATUS cell counts whatever cell has date or data in it. Example: If the Medical completed date has date and SAP number provided date is empty ; the status shows: Medical Stage
    I think I see what you are looking for here. You are looking for the last field under one of these statuses that has a date in it.

    5. I want the STATUS cell to show 4 different colors in gradient bar. If it's stage 1: yellow ; stage 2: orange; stage 3; blue or something ; stage 4; green
    This can be accomplished using Conditional Formatting.

    There are a couple of other things you can do with this spreadsheet.
    - Convert the data into an Excel table. Excel tables automatically copy down formulas, formats, etc.
    - Use data validations to provide drop-down lists for some of the cells or limit them to date-only entries.

    Before I go too much further. Could you walk through a scenario: the person comes on board and then as you fill in each piece of data for the person, what do you want to happen?
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Thanks for the reply.

    So lets just go through simple scenario:

    1. Recruitment sends new candidate alert that has names and position and start date (Candidate hasn't signed the contract at this stage)
    2. Candidate signs the contract (ie 2017-05-11) and I put this date in cell then the STATUS would have to show something like 'CONTRACT SIGNED' with yellow gradient color
    3. Candidate completes pre-employment medical appointment (ie 2017-05-16) and I put this date in cell then STATUS would have to show something like 'MEDICAL COMPLETED' with light blue gradient color
    4. Medical Results received from the clinic (ie 2017-05-23) and I put this date in cell then STATUS would have to show something like 'RESULTS RECEIVED' with green gradient color
    5. I submit SAP (ie 2017-05-23) and I put this date in cell then STATUS would have to show something like 'SAP ACTIVATION' with purple gradient color
    6. SAP ID activated (ie 2017-05-27) and I put this date in cell then STATUS would have to show something like 'Mobilisation Alert Sent' with grey gradient color
    7. New candidate mobilized to work/commenced work (ie 2017-06-04) and I put this date in cell then STATUS would have to show something like 'MOBILIZED' with red gradient color

    Can something like this be done with any formula or function or whatever u can use to make it happen? PLZ HELP. Really appreciate it.

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    I made a couple of changes to the form. First I converted it to an Excel Table. There are several advantages to Excel tables.
    - You can use column headers in the formulas. This makes the formulas easier to read and understand.
    - Formulas, formats and validations are copied down automatically.

    I added some data validation. You now have dropdown lists for Position, Manager and Employment type. The values for these are in Excel tables on the Lookup sheet. If you add new values to these tables, they will be reflected in the dropdown lists.

    I have two articles at the end of this post. One explains tables, the other explains data validations so you can maintain or create new validations. One shortcut that is not documented in the data validation article is that you can use a table column to validate data.

    Create a list type validation and use something like this for the source: =INDIRECT(“Table_Name[Table Column]”).

    The “working” formula is: =IF(ISNUMBER([@[SAP Received Date]]),"Mobilized",IF(ISNUMBER([@[SAP Number Submitted]]),"SAP Submitted",IF(ISNUMBER([@[Medical Received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]),"Medical Completed",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed","")))))

    It looks complicated, but it isn’t. What it does is check to see if there is a date in the SAP Received Date column, if so, the status is “Mobilized.” Then it checks for a date in the SAP Number Submitted Column. If so then the status is “SAP Sumbitted” and so on down the line.

    The yellow shaded columns indicate that these are the milestones that determine a status.

    So to use the form simply enter the employee’s name in the next available row. This makes the row part of the table, and the validations and formulas are copied down. Then as you key in dates under the milestone headers, the status will change. Skip over the status field when entering data. You can simply tab through it.

    If you have a lot of real data, I suggest you do the following: copy and paste it immediately below the data here and then go back and delete the rows with test data.

    http://www.utteraccess.com/wiki/Tables_in_Excel
    http://www.utteraccess.com/wiki/Data_Validation
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    dflak it's perfect. Can do what i needed to do. Thanks a lot man!

  6. #6
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Hi dflak, just one more thing. How can I make the STATUS show 'MOBILIZED' when the new starter has actually commenced work or the day (ie today 2017-05-12 actually matches 'Travel to Site/First day in UB office'? Currently, STATUS shows 'MOBILIZED' when 'SAP ID RECEIVED' date is filled - this could be wrong because the actual MOBILIZING date could be a week or even later.

    Thank you again and really appreciate it.

  7. #7
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    I tried adding ISNUMBER([@[SAP Number Provided]]),"Notification Sent" but it's saying you've entered too many arguments .

    When add above it looks something like this:

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Nevermind, I finally figured it out.

    The right formula was :

    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    But when I try to use the same code/formula on different spreadhseet its giving error...

  10. #10
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    I think I got it. Instead of just checking for a SAP return date, I also check for a start date earlier or equal to the current day.

    =IF(AND(ISNUMBER([@[SAP Received Date]]),[@[Travel to Site/First day in UB Office]]<=TODAY()),"Mobilized",IF(ISNUMBER([@[SAP Number Submitted]]),"SAP Submitted",IF(ISNUMBER([@[Medical Received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]),"Medical Completed",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed","")))))
    Attached Files Attached Files

  11. #11
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    How do you know how to do this??? Plz teach me...

  12. #12
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Quote Originally Posted by dflak View Post
    I think I got it. Instead of just checking for a SAP return date, I also check for a start date earlier or equal to the current day.

    =IF(AND(ISNUMBER([@[SAP Received Date]]),[@[Travel to Site/First day in UB Office]]<=TODAY()),"Mobilized",IF(ISNUMBER([@[SAP Number Submitted]]),"SAP Submitted",IF(ISNUMBER([@[Medical Received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]),"Medical Completed",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed","")))))
    I dunno what i'm doing wrong, but it doesnt work on this spreadsheet. can you please try plzzz.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Can someone help me work the formula with above spreadsheet? It's not working plz help. Thank you.

  14. #14
    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,936

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Coming in cold here, where is this formula?
    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

  15. #15
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Quote Originally Posted by FDibbins View Post
    Coming in cold here, where is this formula?
    Please Login or Register  to view this content.
    Is working on the spreadsheet dflak posted but not on mine. Can you please check and help me what I am doing wrong??? Last attached post by me and last post with attached by dflak.

  16. #16
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Can anyone please help me with this??

  17. #17
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    You changed the name of one of the column headers. It is OK do to this after you have the formula in place. You apparently changed the name and then copied in the formula.

    Change =IF(AND(ISNUMBER([@[SAP Received Date]]),[@[Travel to Site/First day in UB Office]]<=TODAY()),"Mobilized",IF(ISNUMBER([@[SAP Number Submitted]]),"SAP Submitted",IF(ISNUMBER([@[Medical Received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]),"Medical Completed",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed","")))))

    To =IF(AND(ISNUMBER([@[SAP Received Date]]),[@[Travel to Site/First day in UB Office]]<=TODAY()),"Mobilized",IF(ISNUMBER([@[SAP Submitted Date]]),"SAP Submitted",IF(ISNUMBER([@[Medical received]]),"Medical Received",IF(ISNUMBER([@[Medical Completed]]),"Medical Completed",IF(ISNUMBER([@[Employment Contract Signed]]),"Contract Signed","")))))
    Attached Files Attached Files

  18. #18
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    How do you know when to add IF(AND... etc and other stuff? What is that <=TODAY())??? thank you

  19. #19
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Just 1 final question and assistance plz Dflak. How can I format the cells with gradient color for different STATUS. Like an example if STATUS says 'Contract Not Signed' it would be yellow gradient and if it's 'Contract Signed' it would be orange gradient etc.... hehe thank u

  20. #20
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    That would be with conditional formatting. You want the "Where Cell Contains" type of formatting. You will need one rule for each status. Here is some guidance on conditional formatting. In fact the example closely matches what you want to do.
    Attached Files Attached Files

  21. #21
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    I can't add
    IF(ISNUMBER([@SAP Number Provided]]),"Notification Sent")
    formula to show STATUS "NOTIFICATION SENT". Any clue?

  22. #22
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    can u pls help me? anyone else?

  23. #23
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    This is getting to be a very complicated IF statement. The order in which things are evaluated is important. Where does SAP Number Provided fit. Most importantly what can happen after it that will change the status?

    Also the IF statement does not address prerequisites. In other words, it is possible to Have an SAP number provided without ever submitting the SAP.

    I am thinking that we need to replace the IF statement with VBA code that reads a table. In this table, you outline the dates that need to be entered in order. The VB program will read the table and decide if all steps that lead up to a milestone have been completed and provide a status if all steps have been completed or provide the status with an asterisk if the date exists but a previous step is missing. We can do some checking to see if a status has an asterisk and in addition to the color of the cell, add a pattern with conditional formatting.

    Are you willing to make this a macro-enabled workbook to do this?

  24. #24
    Forum Contributor
    Join Date
    05-14-2015
    Location
    Ulaanbaatar, Mongolia
    MS-Off Ver
    Office 2021 Professional Plus
    Posts
    120

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Quote Originally Posted by dflak View Post
    This is getting to be a very complicated IF statement. The order in which things are evaluated is important. Where does SAP Number Provided fit. Most importantly what can happen after it that will change the status?

    Also the IF statement does not address prerequisites. In other words, it is possible to Have an SAP number provided without ever submitting the SAP.

    I am thinking that we need to replace the IF statement with VBA code that reads a table. In this table, you outline the dates that need to be entered in order. The VB program will read the table and decide if all steps that lead up to a milestone have been completed and provide a status if all steps have been completed or provide the status with an asterisk if the date exists but a previous step is missing. We can do some checking to see if a status has an asterisk and in addition to the color of the cell, add a pattern with conditional formatting.

    Are you willing to make this a macro-enabled workbook to do this?
    Hi dflak, so good to hear from you. I don't mind if this is macro-enabled workbook as long as it does what it needs to

    What I want to do is below:

    1. STATUS 'CONTRACT NOT SIGNED' -
    Please Login or Register  to view this content.
    <= This is working
    STATUS 'CONTRACT SIGNED' -
    Please Login or Register  to view this content.
    <= This is working
    2. STATUS 'MEDICAL COMPLETED' -
    Please Login or Register  to view this content.
    <= This is working
    3. STATUS 'MEDICAL RECEIVED' -
    Please Login or Register  to view this content.
    <= This is working
    4. STATUS 'SAP SUBMITTED' -
    Please Login or Register  to view this content.
    <= This is working
    5. STATUS 'NOTIFICATION SENT' -
    Please Login or Register  to view this content.
    <= This is NOT WORKING
    6. STATUS 'MOBILIZED' -
    Please Login or Register  to view this content.
    <= This is working

    I don't know what I am doing wrong but I would really, really appreciate if it will work as intended. Thank you.

  25. #25
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Corporate Mobilization Forecast - Questions on improving, formulas & functions Excel

    Here is the latest. I've done a spot check and it seems to work.

    There is a new tab called Status. Fill in the Milestone - this must match one of the column headers. Also the order of the milestones is important. The status is associated with the last one of the milestones to have a date.

    Fill in the status associated with the milestone. The Col Num should compute automatically. If it is #N/A then check the spelling for the milestone.

    Cell F1 contains the default status.

    The function itself is called GetStatus and it is called with one argument: the row number. So =GetStatus (Row()). The actual formula on the sheet is =IF([@POSITION]<>"",GetStatus(ROW()),""). The function is "hard coded" to read the Forecast sheet.

    You can hide the Status sheet.

    The Status Table makes the status flexible. If you add additional milestones the function will keep up.
    Attached Files Attached Files

+ 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. Logical test false values skip to next row for next test
    By Schecter89 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2018, 06:36 AM
  2. Replies: 3
    Last Post: 08-21-2013, 07:10 PM
  3. [SOLVED] Test if a cell is within a name range and return a text value based on the test
    By DraconR in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-24-2013, 02:46 AM
  4. Pull sub-test scores from test w/best overall test score (PSAT)
    By PowerSchoolDude in forum Excel General
    Replies: 0
    Last Post: 11-19-2009, 08:29 PM

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