+ Reply to Thread
Results 1 to 17 of 17

How to consolidate 4 separate spreasheets into one?

  1. #1
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    How to consolidate 4 separate spreasheets into one?

    Attached is a spreadsheet I call Premium pay used to help Flight Attendants calculate at exactly what time they will receive Premium pay of time and a half.

    There are 4 spreadsheets, one for each time zone. The user must move sideways to find the appropriate spreadsheet of the time zone they are in and insert their check in time in that time zone. The spreadsheet then calculates their duty day and displays that time in each time zone below based on what time zone they might be ending their duty day in.

    Can any of you pros out there think of a way to consolidate this function into one
    spreadsheet? I'm open to suggestions. Perhaps a starting time zone check box might work? Does Excel offer that?

    Please have a look and tell me what you think. If you have an idea please build a quick and easy spreadsheet complete with formulas and functions to explain it. I'm new to Excel and still learning otherwise I wouldn't be here asking.
    Thanks for all your help.

    Greg
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    see attached workbook. Cell C4 has now a list of data validation to choose from (Pacific, Mountain, Central, Eastern).
    The operator select the start time check in zone and see below the Premium pay hour of thenew time zone.
    Hopes this helps
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    That could work. Thank you.
    One question. I want to change the label of the drop down menu of cell C4 yet Excel
    won't let me. Why is that?

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    I see there is a problem because cell C4 is merged with cell D4. First, you have to unmerge those cells then you'll select cell C4 and then you'll be able to change the Data Validation list by going through the Data menu then Data Validation. You'll see the 4 possible choices in the SOURCE section of the Data Validation window.
    I merged those 2 cells because the font was too large to fit the Mountain word. You can reduce the font size to fit cell C4 only (18 will fit)
    Sorry about that.

  5. #5
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    Excellent it worked perfectly. You are a EXCEL GENIUS!

  6. #6
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    Follow up question.
    Would it be possible to dress up the spreadsheet as you wrote it by allowing the user to also select from a second drop down menu labeled "Time zone of city landing in) which allows the user to designate what time zone he will be landing in and then allow Excel to calculate and display the total duty day time from check in at LAX in the Pacific Time zone to Block in (or landing) at BOS (Boston) in the Eastern time zone and take into account all the time zone changes and calculate the exact "ACTUAL flight time in the air from those two destinations?

    Please let me know, would this be possible? If you can build it that would be great, seems like Excel should be able to pull this off? I just now I have no idea how to do it but I'll try now too.

  7. #7
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    How many "Time zone of city landing in"? Can you list them in a worksheet?
    What are the flight time for all those destinations? Also listed in the same worksheet.
    Anything else we need to build this, please list it in the worksheet.

  8. #8
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    I've been working with the spreadsheet you sent me.

    I've tweaked it somewhat to make it work for me but I thought it would be great if we could create one spreadsheet with two drop
    down menus. One for checking in at any of the four time zones
    within the U.S. and a second drop down menu in the same spread
    sheet for blocking in (arriving) at any time zone in the U.S.

    The spreadsheet on the left is a spread sheet with just one drop down menu for checking in at any of the 4 time zones within the
    U.S. PST, MST, CST and EST. The spreadsheet on your right is
    formatted with two drop down menus yet I can't get the IF
    formulas right to make it work. That's where I hope you can
    help. Maybe a different formula will work better?

    The user's do not need to know the distance or flight times
    between cities just the time they are scheduled to leave
    (check in) and the time they are scheduled to block in
    (arrive) at each point....no flight times needed. The spreadsheet should then calculate the actual flight time between the two
    times taking into account the time zone difference.
    Let me know what you can do, thanks for your help.
    Attached Files Attached Files

  9. #9
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    Hi,
    Look at the attached workbook.
    I added 2 formulas in cells L2 and N2. Those values are used in the the formula in P3 to calculate the duty day.

    I left the 2 cells L2 and N2 visible so you know they are there and so you could look at them but you can hide their results by changing the font color. It could be a good thing to protect those cells as well if you are protecting this sheet.

    Hopes this is what you were looking for.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    canada test DD PP 2.xlsxcanada test DD PP 2.xlsx

    Thanks p24leclerc,

    I think your spreadsheet will work for me. One question though.

    I just realized there is a 5th time zone that I have to add to the drop down list and all the formulas. Can you do it? The time zone is the one just to the East of the Eastern time zone called the "AST" or Atlantic Standard time. It is of course one hour earlier than EST.

    I tried to do it but I can't quite figure out add that extra "IF' function or formula...but I do know they work.
    Please advise. I attached a new version of the worksheet with the new time zone added to both drop down menus (check in and block in) I just couldn't figure out the rest.
    Thanks for all your help.
    Last edited by Greg Hofer; 12-15-2014 at 09:03 PM.

  11. #11
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    I don't think that worksheet attached?

  12. #12
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    canada test DD PP 2.xlsx

    Here is the amended worksheet attached.

    I wend ahead and added the new time zone (AST)to both drop down menus, check in time and block in time.

    Thanks. Hope this works.

  13. #13
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    Sorry for the delay, I did not see your reply.
    Here is the workbook modified.
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    THANKS!!!!
    That looks perfect.

    Another question for you, doesn't Excel have the ability to automatically insert the current date into any
    particular cell so that the user doesn't have to continuously do that?
    For instance if the date of my trip was today Dec 17 it would automatically insert that date and then I
    could insert the time I report to the aircraft like....22:40
    Thanks again for all your help?

  15. #15
    Registered User
    Join Date
    12-01-2014
    Location
    San Anselmo, CA
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: How to consolidate 4 separate spreasheets into one?

    BTW, I forgot to ask,
    You mentioned earlier in the conversation I should protect the worksheet to
    not allow unwanted changes to formulas and functions and such...
    How do I protect the worksheet to allow the user to ONLY
    insert data into a white box or click on a text to see a hyperlink?

    Thanks, again.
    Greg

  16. #16
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    You have 2 functions that does something similar to what you want:

    NOW() gives you the actual date and time stamp
    TODAY() gives you the actual date stamp only.

    As you must enter this function in the cell ( as in "=NOW()") then you are not allowed to change only the hour. You would have to copy the cells content to itself copying only its value the modify the time. Not sure it is worth the trouble.

    You could find ADDINS that would help you insert a date and time stamp in a cell. You'll have to search the web for such a thing.

  17. #17
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: How to consolidate 4 separate spreasheets into one?

    Here is a work around the date issue. Can we assume that the operator could say that its "Check in" is ALWAYS Today but that its "Block in" could either be Today or Tomorrow? If so, that attached modified workbook could work for you. The operator only has to specify information in the WHITE cells. Dates have no matter here.
    You have this new data validation cell asking when is the block in happening (Today or Tomorrow). There is a function in cell B5 and D5 that take this into account to calculate duty time.

    About the protection now. If you select a cell then you right click your mouse, you'll see a Format cells window appears. In that window, click on the Protection tab. You can see the mark on the left side of Locked. This means that if that sheet was in a Protection mode, this cell would be protected (No change allowed, no deletion allowed, etc). By default, all the cells are Locked. So all you have to do is to unlock those WHITE cells you want the operator to be able to write on. Then you click OK and close that Format cells window.

    Now you go in the REVIEW menu and select Protect Sheet. You'll be asked for a password twice. You put a password if you want but you don't have to. It will accept an empty password. The sheet is still protected but anyone can unprotect the sheet and play around. It's up to you.

    Hopes this is clear enough for you. If not, call again.
    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. Consolidate and Merge Data on a Separate Sheet
    By astole in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2014, 04:32 PM
  2. Consolidate data range from multiple workbooks into a separate workbook
    By 3xcx in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2013, 11:45 AM
  3. [SOLVED] consolidate the results into a separate test matrix
    By Sherburn Systems in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-23-2012, 09:11 AM
  4. Compare two spreasheets
    By zotiraki in forum Excel General
    Replies: 1
    Last Post: 07-03-2009, 06:34 AM
  5. [SOLVED] Consolidate and Merge Data on a Separate Sheet
    By in forum Tips and Tutorials
    Replies: 0
    Last Post: 01-01-1970, 12:00 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