+ Reply to Thread
Results 1 to 5 of 5

Sum with conditions

  1. #1
    Registered User
    Join Date
    03-19-2010
    Location
    Fairfax, VA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sum with conditions

    I have completed a quantity take off on pipe runs. I want to be able to have a function to select only a certain pipe size (check column B for size "x") and then sum the lengths corresponding to that size (value in column C) and display it in my totals section under "x" size pipe on my totals sheet. Is there one function that will do this?

    Thanks,
    Jason

  2. #2
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Sum with conditions

    pls upload some sample sheet.then others can understand your question easily.

  3. #3
    Registered User
    Join Date
    03-19-2010
    Location
    Fairfax, VA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sum with conditions

    Attached is a sample sheet. I am tring to have a function sum the lengths of the pipes that are of like size and type onto the totals page. I would also like to be able to count the number of fire hydrants for each size of spur.
    Attached Files Attached Files

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum with conditions

    Try this

    =SUMIF($A$2:$A$15,C2,$A$2:$A$15)

    Demo workbook attached

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Sum with conditions

    Sorry didn't see your attachment

    Try this, I'm not sure I have the refrences correct, but it should be easly for you to correct
    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