+ Reply to Thread
Results 1 to 2 of 2

Lookup Multiple Results

  1. #1
    Registered User
    Join Date
    10-18-2006
    Posts
    1

    Lookup Multiple Results

    I am trying to use the lookup functions to return a sum of all the results.
    For example, i have a table such as this:

    Jon 6
    Aaron 8
    Mark 7
    Jon 8
    Jon 6
    Mark 8

    I wish to lookup the text "Jon" and return a value of 22 (a sum of all the values corresponding to that text. I have tried using the vlookup function, but it only returns the first found value of 6. Is there a way i can return the sum of all the values relating to one name?

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Joffa21
    I am trying to use the lookup functions to return a sum of all the results.
    For example, i have a table such as this:

    Jon 6
    Aaron 8
    Mark 7
    Jon 8
    Jon 6
    Mark 8

    I wish to lookup the text "Jon" and return a value of 22 (a sum of all the values corresponding to that text. I have tried using the vlookup function, but it only returns the first found value of 6. Is there a way i can return the sum of all the values relating to one name?
    if names are in col A and numbers in col B
    try this

    =SUMIF(A1:A100,"=Jon",B1:B100)

    Regards

+ 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