+ Reply to Thread
Results 1 to 3 of 3

Lookup to return multiple values

Hybrid View

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Denver
    Posts
    31

    Lookup to return multiple values

    Is there a way to use a lookup formula to return all values of a given text, not just the value of the first listing of the text.

    In an attempt to clarify my already confusing request, if A5 on "worksheet1" is "Land" I want E5 on "worksheet1" to return the summation of values assigned to "Land" "worksheet2" "column B" any time "Land" appears on "Worksheet2" "Column A". Is this possible?

    Cheers,
    C
    Last edited by cispus78; 11-11-2008 at 09:01 PM.

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Sum items based on a single criteria

    Sheet2, A1:B20 contains this list
    Category	Amount
    NotLand	999
    NotLand	999
    Land	1
    NotLand	999
    NotLand	999
    Land	10
    NotLand	999
    NotLand	999
    NotLand	999
    Land	100
    NotLand	999
    NotLand	999
    NotLand	999
    NotLand	999
    Land	1000
    NotLand	999
    NotLand	999
    NotLand	999
    NotLand	999
    and...on Sheet1...
    A5: Land

    This formula returns the sum of Sheet2, Col_B items where the corresponding
    Col_A item is "Land"
    B5: =SUMIF(Sheet2!A2:A20,A5,Sheet2!B2:B20)
    In the above example, B5 returns: 1,111

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Denver
    Posts
    31
    This works perfectly!!

    Cheers!

+ 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