+ Reply to Thread
Results 1 to 5 of 5

Summing in a VLOOKUP function

Hybrid View

Lesa Muir Summing in a VLOOKUP function 12-17-2008, 10:37 AM
SamuelT Sounds like SUMIF might work... 12-17-2008, 10:52 AM
elcasey125 Could you post an example of... 12-17-2008, 11:11 AM
Steve R How to sum up specific values... 12-17-2008, 11:39 AM
Lesa Muir Jan-08 M77/606 North Kooly... 12-17-2008, 08:44 PM
  1. #1
    Registered User
    Join Date
    12-11-2008
    Location
    Perth
    Posts
    11

    Summing in a VLOOKUP function

    I have a vlookup function that is looking up a range of cells.

    I would like it to look in the range and then sum up all of the values that meet the criteria.

    At the moment it will only bring back the value of the first match it finds in the range, I would like it to bring back the sum of all the values it finds in the range, is this possible?

    Example

    Vlookup(Jan-08,$a3:$c$7,column 4 values, 0), if Jan-08 is listed in the range more than once, I would like it to add up all the values in column 4 that match.

    Thanks

    Lesa
    Last edited by Lesa Muir; 12-17-2008 at 10:29 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Sounds like SUMIF might work in this instance?

  3. #3
    Registered User
    Join Date
    12-03-2008
    Location
    Tulsa
    Posts
    18
    Could you post an example of your spreadsheet.
    Thank You!

  4. #4
    Forum Contributor
    Join Date
    10-11-2007
    Location
    Sweden
    MS-Off Ver
    365
    Posts
    251

  5. #5
    Registered User
    Join Date
    12-11-2008
    Location
    Perth
    Posts
    11
    Quote Originally Posted by elcasey125 View Post
    Could you post an example of your spreadsheet.
    Thank You!

    Jan-08 M77/606 North Kooly Waste dump 5.1
    Apr-08 M77/606 South Kooly Waste dump 4.384
    Apr-08 M77/990 South Kooly Waste dump 16.513


    Apr-08

    4.384 - Formula here is =IF(COUNTIF(A1:E3,A5),VLOOKUP(A5,A1:E3,5,0),0)

    I have used the colours to display what the formula is referencing

    At the moment the Vlookup is only selecting the 4.384 for April, I would like it to sum the 4.384 and the 16.513 as they are both for April.

    thanks

    Lesa

    thanks

    Lesa

+ 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