Consulting

Results 1 to 5 of 5

Thread: Need help with creating references from one sheet to another in a more efficient way.

  1. #1

    Need help with creating references from one sheet to another in a more efficient way.

    Hi all,
    I am in need of some assistance in creating references that will creating reduce manual entries and updating. In the attached excel sheet I have accurate references for the first 3 months (January to March) as sample data. What I need to accomplish is when I enter "VAC, FLTR, SICK or WTB" on the Schedule tab it should automatically appear on the Vacation tab in the form of either "V,F,S or W". From the attached excel sheet you can see I already have formulas in the Vacation tab but it is certainly not that efficient as I have to manual edit each formula for each week as the schedule tab is laid out weekly and the vacation tab is laid out monthly.

    In the excel sheet I have included a "VAC, FLTR, SICK and WTB" in the Schedule tab for January to show how it is suppose to reference on the vacation tab. With my limited excel knowledge I suspect that there must be a better and more efficient way to reference this.

    One last thing I forgot to mention - the template and layout of the schedule tab will not change. The only thing that will change is of course are the dates.

    Thanks in advance for any assistance you can provide.
    Attached Files Attached Files

  2. #2
    Knowledge Base Approver VBAX Wizard p45cal's Avatar
    Joined
    Oct 2005
    Location
    Surrey UK
    Posts
    5,876
    in the attached, D30 formula changed to:
    =IFERROR(VLOOKUP(Schedule!I8,abbr,2),"")
    and similar for the cell below.
    Supported by new named range called abbr at AM2:AN5

    or more simply:
    Formula for G31 changed to:
    =LEFT(Schedule!E32,1)
    and similar for the cell below.

    any use?
    Attached Files Attached Files
    p45cal
    Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.

  3. #3
    Thanks for the info - it helped a bit

  4. #4
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,060
    Location
    Quote Originally Posted by spittingfire View Post
    Thanks for the info - it helped a bit
    "Only a bit"???? well which "bit" didn't it help?
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  5. #5
    well it works but was hoping to get away from all the copying and pasting that is still required to complete the year. I was hoping for some code that I could maybe copy and paste a month at a time minimum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •