+ Reply to Thread
Results 1 to 13 of 13

VLOOK UP and = to help

Hybrid View

  1. #1
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    VLOOK UP and = to help

    I am trying to create this on call rota see attached sheet 1 is what the data retrival from will look like however I am trying to link the data validation drop down box up so that i can select th next site and the report will change on sheet 1 to show the data behind the tab labled 1st july.

    2ndly i have another sheet set up for 6th of july on sheet one i want to be able to select the site then the week/date and have the data validation work. is this possible.

    Basicaly one search form for multiple weeks and multiple sites that will be duplicated on each weekley tab.

    just trying test data at the moment but there will be 61 sites in total over a 4 0r 5 week period. one i have ironed out the issues.

    Also is it possible to have the week commecing date linked to the sheet name so if if i change the week I want to look at the date auto changes.

    Hope I have explained myself properly hopefully from whay i have produced u might get it.

    basicaly i need sheet one to be able to search through all 4/5 tabs show me the dates based on those tabs and pull of the info based on site name and week commencing
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    Mmmm. There are lots of pitfalls here. Firstly, you have a lot of merged cells (yellow shading on the two weekly sheets). Can you get rid of them? They will make maintenance of any formulae a TOTAL nightmare. They are best avoided entirely.

    Secondly, do I understand you correctly that you want to choose the entries in the 3 tan coloured cells in sheet 1 from dropdowns and then get Excel to do its stuff? If so - what is the point of the DD in D2. Is the same information not being displayed in D5? If so - why have it displayed twice?
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    I will try again.

    There will bw 4/5 Sheets labled as wK Commencing depending on How Many weeks are in the Month.

    On the search form I require a drop down box that when I select it will display all the site Names from each individual Week.

    So for example if i select Leicester from the drop down box, i will then need to select the week. and then the fields on the search form will auto Populate based on the vlook ups.

    If you know of an easier way or better design please feel free to show me. spent a week on this already lol but all the field names etc I need to keep.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    On the Lists sheet, I have created a dynamic list of sites (just add as many as you need) and sheet names (just add a new sheets by hitting the + button and this list will update - copy the formula down further if needed).

    I have set up 2 dynamic dropdowns based on this list and have put in a formula to return the Engineer on call. I have taken out ALL the nasty merged cells on the two data sheets. However, before I go any further, I would like you to do two things.

    1. Check it over and let me know what you think.

    2. Rework a real example of the data on those two date sheets (just a couple of examples) so that I can test the next formulae further.

    3. Repost your modified sheet.

    One of the formulae (the one that lists the names of the worksheets) relies on an old internal Excel macro-function; so remember to enable macros when you open the sheet.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    Thank you for trying. I can not submit any real data as it is prohibited by my company but here is a blank version of what we currently use, im just trying to improve it by having a sumery or search page and though it could be done using vlookups.
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    I wasn't asking for real real data - more of a reality check that the structure was OK. Imaginary people like Donald Duck would have been fine. Your sheet did however confirm that there can be up to 6 results for each area (Long Larton).

    So I went ahead and took this a bit further. Does this look like what you need? Can you live with the structure that I have imposed on the weekly sheets?
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    Yeas nearly there gr8t, for the engineers on call I need it to show there telephone number/Page number if they have one and the same for the escalation route.

    Would you also be so kind in explain to me in detail step by step how you have done what you have done. so I can practice and re-do it so I know what to do in the future

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    Exactly which numbers do you want included? Where are they currently?

  9. #9
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    ok ignore me the telephone number will be entered into the same cell as the name like so Andrew Jones - 0000000000, but for site information bit going to need the works department number displayed and that is in 6th of july tab

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    Is this the way you want it to look? If so, I can begin to explain what's been going on.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    yes thank you

  12. #12
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: VLOOK UP and = to help

    OK... Here goes.

    Sheet Lists Column A. Put all your sites here. You can then sort them into alphabetical order. I have set up a Named Range in column A that will adjust automatically to include all the sites in the dropdown list in Summary D5. To see the formula that achieves that, hit CTRL and F3. It's called "Sites".

    Sheet Lists Column B. Two things going on here. Another Named range (called "Sheets", again CTRL F3 to view) that uses an old Excel "macro" to assist in returning a list of worksheets in the file. Basically, if you create a new sheet, the list in Lists!B:B will automatically update to include its name. It returns the sheets in the order left to right on the Tab list, so I put the summary sheet at the left hand side. the formula in Lists!B:B is one I copied from another www and is an array formula (must be set with CTRL-SHIFT-ENTER, not ENTER to work - if all is well, Excel will enclose the formula inside a pair of {}. the formula (and the Named Range) are set to allow for 100 sheets in total. Hopefully that'll be sufficient!!

    I then used Lists!B3:B100 to creat another named range ("Dates") which contains those sheets. i used that Named Range to form the Dropdown box list in Summary!C4. The "Sites" Named Range was used for the dropdown box in Summary!D5.


    then, I used a fairly straightforward LOOKUP-type formula (INDEX-MATCH) which allows for the return of MULTIPLE results with ONE criterion. the criterion is the site name. However, I had to use an INDIRECT function to pick up the Sheet name that it needed to look at from Summary!C4. That makes the formulae that return the Engineer(s) on call and the multiple results for the escalation routes look a bit formidable. If you want, I'll try to explain them in a bit more detail later.

    I also created a "blank" sheet for the date (Template), which you could use to create new sheets for new dates.

    Have a play with it and try to break it and I'll help you fix it, if needed.
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    10-12-2012
    Location
    uk
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: VLOOK UP and = to help

    After re-designing my rota I am trying to fit your foumlaes into my new design can you have a look please.
    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. VLOOK-UP Help
    By dsheets05 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-07-2014, 06:24 AM
  2. [SOLVED] In vlook if value comes to #n/a i want there 0
    By satputenandkumar0 in forum Excel General
    Replies: 10
    Last Post: 11-24-2012, 05:36 AM
  3. vlook up
    By syed abbas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2007, 06:10 AM
  4. Vlook Up Help
    By nander in forum Excel General
    Replies: 1
    Last Post: 10-19-2006, 04:56 AM
  5. [SOLVED] Vlook
    By bimseun in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2006, 06:55 PM
  6. vlook up
    By arcticale in forum Excel General
    Replies: 1
    Last Post: 01-25-2006, 05:40 PM
  7. #N/A with Vlook up
    By Guy Wates in forum Excel General
    Replies: 1
    Last Post: 10-14-2005, 09:02 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