+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Formula that references a letter and returns the sum of all numbers

  1. #1
    Registered User
    Join Date
    07-06-2012
    Location
    Peterborough, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    8

    Formula that references a letter and returns the sum of all numbers

    Hi all, I would love some help with the following:

    In the A column of a worksheet I have a 3 letter code. For instance AAA, AAC, BAA, BAB, BBA etc. In Column C I have the sales for those codes.
    I am trying to get the total sales for all of the codes that begin with B. Can anyone help?

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula that references a letter and returns the sum of all numbers

    Welcome to the forum, neighbour.

    Try: =SUMIF(A:A,"B*",C:C)

  3. #3
    Registered User
    Join Date
    07-06-2012
    Location
    Peterborough, Ontario
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Formula that references a letter and returns the sum of all numbers

    Thanks a bunch! Very helpful

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Formula that references a letter and returns the sum of all numbers

    You're welcome.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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