+ Reply to Thread
Results 1 to 5 of 5

Add to a total IF a specific word is present in coloumn C.

  1. #1
    Registered User
    Join Date
    10-13-2010
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    8

    Add to a total IF a specific word is present in coloumn C.

    Hello

    I have a simple spreadsheet for recording orders that we make at our company and a separate tab for each small department.

    It's set up like so:

    Please Login or Register  to view this content.
    What I can't seem to figure out is what formula to put in C1 to only add (C4:C2000) with the word "Agency" being present for that row in coloumn B and likewise for 'Stationery' in Cell F1.

    Please can someone help me with this, I'm sure it must be simple.

    I just want to record current totals based on what type of order is made.

    Many Thanks
    Last edited by milesy2000; 11-25-2010 at 09:40 AM.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Add to a total IF a specific word is present in coloumn C.

    Your question is not clear. Do you want to
    sum col C where B="agency" and "stationery" in F?
    sum col C where B="agency"
    sum col C where F= "stationery" ?

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Add to a total IF a specific word is present in coloumn C.

    Hi,

    =SUMIF(B4:B2000,"Agency",C4:C2000)

    Rgds
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Add to a total IF a specific word is present in coloumn C.

    =sumproduct((b4:b2000="agency")*(f4:f2000="stationery")*c4:c200) in the first case

    For the others =sumif(b4:b2000,"agency",c4:c2000) and likewise

  5. #5
    Registered User
    Join Date
    10-13-2010
    Location
    England
    MS-Off Ver
    Excel 2000
    Posts
    8

    Re: Add to a total IF a specific word is present in coloumn C.

    Many Thanks to both of you!

    This is the one I was after:

    =SUMIF(B4:B2000,"Agency",C4:C2000)

    Cheers

+ 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