Results 1 to 6 of 6

Using Vlookup to lookup array, return array

Threaded View

jcampbell Using Vlookup to lookup... 11-16-2007, 12:39 PM
NBVC If your list in B4:B6 is in... 11-16-2007, 12:48 PM
jcampbell NBVC, Great, thanks, that... 11-16-2007, 01:06 PM
NBVC I'm not entirely sure, but...... 11-16-2007, 01:13 PM
Ron Coderre Using Vlookup to lookup... 11-16-2007, 01:09 PM
jcampbell Yes, that also works. Thanks! 11-16-2007, 01:13 PM
  1. #1
    Registered User
    Join Date
    11-16-2007
    Posts
    3

    Using Vlookup to lookup array, return array

    Hi,

    I am trying to use vlookup to lookup an array of inputs, and then return an array of outputs. Then, I want to average over these outputs. I'd like to do all of this in one function call. Is it possible to do this, or to do something similar to achieve the same result?

    I am trying to do it, and it's not working.

    This is what my formula says:

    {=AVERAGE(VLOOKUP(B9:B10,B4:C6,2,0))}

    cells B4:C6 contain the an array that looks like this:

    a 1
    b 2
    c 3

    Cells B9:B10 are as follows:

    a
    b

    Thus, I want the vlookup to return the array {1,2}, average over those, and give 1.5. Instead, it returns 1.

    My spreadsheet is enclosed. As you can see, B13 returns 1 instead of 1.5.

    Thanks,
    Jonathan
    Attached Files Attached Files

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