+ Reply to Thread
Results 1 to 5 of 5

Lookup and return multi data

  1. #1
    Registered User
    Join Date
    08-22-2015
    Location
    London
    MS-Off Ver
    10
    Posts
    11

    Lookup and return multi data

    Hello, i am trying to return more than one cell when doing a vlookup. I cant workout how to do this.
    I have attached an example spreadsheet that will hopefully explain better what i mean.

    Thank you any help

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Lookup and return multi data

    Don't see an attachment.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Lookup and return multi data

    Let's assume you have a list of costs in column A (headed 'Cost'), range A2:A10, and in column B you have a list of fruit, range B2:B10.
    . . A . . B
    .1 Cost .Fruit
    .2 £1.00 Apples
    .3 £1.10 Oranges
    .4 £1.00 Bananas
    .5 £1.00 Pears
    .6 £1.10 Pineapples
    .7 £1.20 Peaches
    .8 £1.00 Mandarins
    .9 £1.10 Kiwis
    10 £1.20 Mangoes
    You want to list the fruit which costs £1.00, which is in cell D2, with the results in column E2 downwards.

    Put this in E2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    It's an array formula, so enter it using Ctrl-Shift-Enter not just Enter. You'll see curly brackets {} appear round the formula (don't enter them yourself).
    Drag the formula down as far as you need.

    You should get the answers:
    Apples
    Bananas
    Pears
    Mandarins
    #NUM!
    #NUM!

    To get rid of the #NUM! errors, put the formula in E2 inside an error checker:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Again, enter with Ctrl-Shift-Enter and drag down.

    Obviously, change the ranges to match what your ranges are.

    Does that do what you need?

    ps to attach a file, click 'Go Advanced' then scroll down and click 'Manage Attachments'
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Registered User
    Join Date
    08-22-2015
    Location
    London
    MS-Off Ver
    10
    Posts
    11

    Re: Lookup and return multi data

    Hello, thank you
    this is the attachment.
    Attached Files Attached Files

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Lookup and return multi data

    If you want multiple results to appear in a single cell that will require a VBA function.

    Putting multiple results in separate cells would be easier and can be done with formulas.

+ 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] Multi variable return data between two sheets INDEX
    By jespo1351 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-31-2015, 02:52 PM
  2. Importing Multi-Value data into a lookup multivalue field.
    By Steven8294 in forum Access Tables & Databases
    Replies: 16
    Last Post: 09-24-2014, 12:08 AM
  3. [SOLVED] Data Validation, Lookup, multi lookup, referancing and other.
    By archasem in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-04-2013, 10:50 AM
  4. [SOLVED] multi drop down list with multi-lookup
    By civileng12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-31-2012, 06:50 PM
  5. return multiple similar data on multi variable search
    By patrodgers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-25-2012, 09:38 AM
  6. return multiple similar data on multi variable search
    By patrodgers in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 05-24-2012, 04:56 PM
  7. Lookup multi columns w/ multi answers
    By dec671 in forum Excel General
    Replies: 1
    Last Post: 01-28-2010, 04:48 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