+ Reply to Thread
Results 1 to 4 of 4

Sum function

  1. #1
    Registered User
    Join Date
    02-24-2012
    Location
    Mechelen, Belgium
    MS-Off Ver
    Excel 2013
    Posts
    23

    Sum function

    Hello,

    I have 2 columns one with prices and another with a code

    I like to sum up de total for each different code. Is that possible in one square?

    For example

    10 a
    20 b
    15 a
    35 c
    40 b
    36 d


    No i want the sum of all a's is that possible?

    Kind Regards

    Bert Van Trimpont

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Sum function

    Hi and welcome to the forum.

    Try this

    =SUMIF(B1:B6,"=a",A1:A6)

    Hope it helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Re: Sum function

    In Column A i aspect Prices and Column B i aspect Code

    Try this in Cell C2

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-24-2012
    Location
    Mechelen, Belgium
    MS-Off Ver
    Excel 2013
    Posts
    23

    Re: Sum function

    Thanks Guys

+ 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