+ Reply to Thread
Results 1 to 7 of 7

Entering Data that willl search and return informative information----- New Problem

  1. #1
    Registered User
    Join Date
    09-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Entering Data that willl search and return informative information----- New Problem

    I received great feedback on the original posting. Today, I was informed that our color-coded solution wouldn't work for everyone. As a result, I--attempting to figure it out--attempted to apply the same logic so that Information Regarding AIRPORT SIZE (HUB, LARGE AIRPORT, MEDIUM AIRPORT, SMALL AIRPORT) and SITE SIZE (MAJOR SITE or STANDARD SITE) will pull into cells J7 or J20.

    In short, when the user enters a code in D16 or 19 the spreadsheet would go to the VLOOKUP tab search the content and brings back color coded Airport/Site name & (newest request) Airport/Site size. I can't thnk my way into a solution. Can anyone help?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Entering Data that willl search and return informative information----- New Problem

    You were so close, you just need to extend the ranges on the VLOOKUPS to include E for the top, and I for the bottom..

    Your formula says VLOOKUP(look for this, in these two columns, and give me the result in the third column)

    We want to expand the range, and look for what's in the 4th column.

    =VLOOKUP(D16,VLOOKUP!$B$3:$E$1201,4,0)

    =VLOOKUP(D19,VLOOKUP!$F$3:$I$1201,4,0)
    Last edited by daffodil11; 09-20-2013 at 02:38 PM.

  3. #3
    Registered User
    Join Date
    09-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Entering Data that willl search and return informative information----- New Problem

    LOL.... DUH! I was close. I'm pleased. Thank you daffodil11. I couldn't have gotten that far without your help. Thanks for the fix.

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Entering Data that willl search and return informative information----- New Problem

    As for changing the Conditional Formatting:

    Click J16, choose Conditional Formatting -> Manage Rules

    Next to each rule is the range is applies to. Change each of these to =$J$16:$J$17

    Now, double click each rule and change the formula from

    =IF(VLOOKUP(D16,VLOOKUP!$B$3:$D$1201,3,0)<2,TRUE,FALSE)

    to

    =IF(VLOOKUP($D$16,VLOOKUP!$B$3:$D$1201,3,0)<2,TRUE,FALSE)

    We're just adding absolute references to D16, so that both cells base their formatting off of D16. Without the absolutely references implied by using $, J17 will run the same formula off of values in D17 and we don't want that.


    Afterwards, repeat the same thing again for J19, by adding J20 to the range, and changing each formula to have absolute reference to D19

  5. #5
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Entering Data that willl search and return informative information----- New Problem

    Also, you can toggle absolute references by highlighting a range, such as "A1" in a formula or "B5:B10", and then hit F4.

    This keystroke will put the $ in place. Hitting it again will remove the absolute reference from the column, hitting it again will alternate to column but not row, and hitting it a third time will remove the $ symbols again.

    Here's the finished product in case you get stuck and need a point of reference.

    airports and stuff.xlsm

  6. #6
    Registered User
    Join Date
    09-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Entering Data that willl search and return informative information----- New Problem

    Something is broken when entering code.

    CLT pulls wrong colors; should be orange for airport and red for site

    IAH & ORD pulls correct color but adds color in the AIrport/SIte Name fields ... should be no color but nothing should happen at all in SITE

    MOC pulls perfectly

    I'm checking formulas can't figure out what I did wrong.

  7. #7
    Registered User
    Join Date
    09-16-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Entering Data that willl search and return informative information----- New Problem

    Disregard last post. I see how I went wrong.

+ 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] Entering Data that willl search and return informative information
    By kimssim in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-17-2013, 01:18 PM
  2. Custom Design Data Entry User Form for Entering Customer Information
    By dizzle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 01:37 PM
  3. Search and return all results across all worksheets problem.
    By richcase in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-31-2013, 12:34 PM
  4. Replies: 0
    Last Post: 03-28-2012, 06:36 AM
  5. Problem with querytables from search return page
    By jhize in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-29-2006, 06:31 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