+ Reply to Thread
Results 1 to 5 of 5

Sumif question

Hybrid View

  1. #1
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60

    Sumif question

    I am trying to figure out a formula that will look in a particular column for a word and then return the sum of all values associated with that particular word. I know an easy way to do this would be a lookup table but was wondering if there is a formula for this as well because the table is locked and I just need to pull some numbers for it

    Example

    ____A ___________B

    Expansion_______$1,000
    Expansion_______$5,000
    Repair__________$2,500
    Expansion_______$8,500
    Repair__________$1,900

    So I want to sum all expansion cost and all repair cost, ect.

    Thanks in advace

    JZ

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try sumif

    e.g

    =SUMIF(A:A,"Repair",B:B)
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Use SUMIF()
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  4. #4
    Registered User
    Join Date
    07-09-2007
    Location
    Houston
    MS-Off Ver
    2016
    Posts
    60
    Works perfect. I knew it would be an easy one I am just very new to formulas and did not have a lot of time to research it. Thank you for your help

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad you found a solution

    VBA Noob

+ 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