+ Reply to Thread
Results 1 to 2 of 2

Lookup based on multiple columns

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    Omaha, NE
    MS-Off Ver
    2010
    Posts
    4

    Lookup based on multiple columns

    I have a report that is getting rather lengthy and in order to shorten it up, I would like to combine 4 tables into one lookup that populates based on a drop down list. Currently, I have 4 separate data sets using a maximum of 4 sumproduct lookups per line (8 columns per line of data). I would like to have one table that uses a drop down list to populate the data set. The 4 lookups are in separate columns and include Period End, Facility, Payor Group and Managed Care. If I select the dropdown "Date" I would like data set to lookup the "date" column and sumproduct each of the 4 lookups. If I select Faciltiy, each facility will be listed and I can look up the correct "facility" column using the 4 sumproducts. Numbers change in each column based on whether it is the date, facility, payor group or managed care group.

    Date dropdown:
    Period End Data1 Data2 Data3 Data4 Data5 Data6 Data7 Data8
    2015-07 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx
    2015-08 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx
    ....
    2016-06 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx

    Facility Drop Down:
    Fac1 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx
    Fac2 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx
    Fac3 $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx $xxxx

    Is this possible? I still need to use sumproduct because all the data being populated in these data sets is based on a Service Line selection at the top of the report.

    Thanks

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166
    Hello JJones5,

    Welcome to Excelforum. Be a part of large Excel community. Enjoy Learning.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  2. Replies: 2
    Last Post: 10-25-2013, 07:01 PM
  3. [SOLVED] Multiple lookup adding columns, then multiplying, then lookup, add, and subtract
    By mamig in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-08-2013, 12:55 AM
  4. Replies: 10
    Last Post: 02-19-2013, 12:05 PM
  5. Replies: 1
    Last Post: 11-20-2010, 05:38 AM
  6. Lookup adjacent column to multiple lookup columns.
    By JAMES4228 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-13-2009, 03:19 PM
  7. [SOLVED] How to lookup and sum multiple values based on multple columns
    By Ray Gans in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-02-2005, 07:05 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