+ Reply to Thread
Results 1 to 4 of 4

Help with vlookup formulas

  1. #1
    Registered User
    Join Date
    05-24-2010
    Location
    Edinburgh, Scotland
    MS-Off Ver
    Excel 2003
    Posts
    2

    Help with vlookup formulas

    I need help using a vlookup formula, or at least i think that is the type of formula i need.

    I need to search one column and find every occurence of an exact amount and then sum the total of all of the figures on the same rows that appear in the next column. For instance i want to look up Column S and find the total of all the costs in column T where the type equals number 1 in column S? Attached is a spreadsheet of data

    Column S Column T

    Type Cost
    Row1 1 £100
    Row2 1 £250
    Row3 2 £350
    Row4 2 £100
    Row5 3 £150
    Row6 3 £1000
    Row7 1 £600
    Attached Files Attached Files
    Last edited by geebo79; 05-25-2010 at 04:14 AM. Reason: Solved

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: Help with vlookup formulas

    Hi, maybe you can try with

    =SUMPRODUCT(--(S3:S19=1),T3:T19)

    Regards

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Help with vlookup formulas

    Try simple SUMIF
    =sumif(s3:s19,1,t3:t19)
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  4. #4
    Registered User
    Join Date
    08-18-2009
    Location
    Cincinnati
    MS-Off Ver
    Excel 2007
    Posts
    96

    Re: Help with vlookup formulas

    I would organize all data into "header" & Column and eliminate empty columns. Then I would do a quick pivot table with a Report Filter at the top showing "1" and summing "Type 1's" only.

    Take a few hours and practice with pivot tables. You'll like what you can do with them.

    See attached.
    Attached Files Attached Files

+ 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