+ Reply to Thread
Results 1 to 4 of 4

making a lookup formula more concise

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    making a lookup formula more concise

    Hello. Is there any way that I can improve this formula? There are two lookups HOUSE DIVISION and NATIONAL DIVISION and everything else is the same.

    =INDEX(INDIRECT("'["&$B$11&".xls]Sheet1'!$E$77:$E$851"),MATCH("HOUSE DIVISION",INDIRECT("'["&$B$11&".xls]Sheet1'!$B$77:$B$851"),0))+INDEX(INDIRECT("'["&$B$11&".xls]Sheet1'!$E$77:$E$851"),MATCH("NATIONAL DIVISION",INDIRECT("'["&$B$11&".xls]Sheet1'!$B$77:$B$851"),0))

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: making a lookup formula more concise

    My guess is no because the two MATCHes will return different row numbers; one for HOME DIVISION and another for NATIONAL DIVISION. Then you return the matching values from column B and add them together.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,466

    Re: making a lookup formula more concise

    Thinking about it, you could probably build this in a Helper Cell:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Then refer to that Helper Cell in each of your INDIRECT statements. That'd be shorter.


    Regards, TMS

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: making a lookup formula more concise

    Maybe something like

    =sum(INDEX(INDIRECT("'["&$B$11&".xls]Sheet1'!$E$77:$E$851"), MATCH({"HOUSE DIVISION","NATIONAL DIVISION"}, INDIRECT("'["&$B$11&".xls]Sheet1'!$B$77:$B$851"), 0)))

    More compact, but no more efficient. The INDIRECT makes it volatile, and the exact match makes it brutal.
    Entia non sunt multiplicanda sine necessitate

+ 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. Formula Lookup? (Making a Freight Calculator)
    By mikevtss in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-29-2013, 07:57 AM
  2. Make repetitive IF formula more concise?
    By leaning in forum Excel General
    Replies: 7
    Last Post: 03-18-2011, 05:48 AM
  3. Formula or Macro to create a concise column from multiple columns
    By mremmenga in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2011, 12:08 PM
  4. making my data more concise
    By chedges in forum Excel General
    Replies: 2
    Last Post: 02-11-2009, 12:22 PM
  5. a more concise formula
    By jwongsf in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2009, 10:20 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