+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP multiple cells and Average

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    15

    VLOOKUP multiple cells and Average

    Hey,

    So i have attached a sheet to this. Basically i have 3 columns and i know how to VLOOKUP for one piece of data but i have quite a few that i would like it to automatically group. The sheet will explain it better.help2.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: VLOOKUP multiple cells and Average

    Hi
    You need to be more specific about what you are trying to achieve as your spreadsheet does not give this.
    Please explain what you are trying to lookup and when found exactly what cells you want to Average. This will help us provide a potential solution.
    Tony

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: VLOOKUP multiple cells and Average

    Are you using XL2003 as indicated?

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: VLOOKUP multiple cells and Average

    Hi,

    This array formula (enter with CTRL+SHIFT+ENTER, not just ENTER) in cell L4 of your sheet and copied down:

    =AVERAGE(IF(ISNUMBER(SEARCH(LEFT($K4,1)&"?"&RIGHT($K4)&"?",$B$2:$B$28)),$C$2:$C$28))

    This array formula in cell M4 of your sheet and copied down:

    =AVERAGE(IF(ISNUMBER(SEARCH(LEFT($K4,1)&"?"&RIGHT($K4)&"?",$B$2:$B$28)),$D$2:$D$28))

    Will work for single-digit numbers to the left and right of your "-", so let me know if these will go above single digits.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: VLOOKUP multiple cells and Average

    A little shorter perhaps
    Please Login or Register  to view this content.
    entered as an arry formula with Ctrl+Shift+Enter

  6. #6
    Registered User
    Join Date
    05-02-2013
    Location
    Scotland
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: VLOOKUP multiple cells and Average

    Perfect, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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