+ Reply to Thread
Results 1 to 3 of 3

Count number of occurences of a word and multiply by qty in corresponding row.

Hybrid View

  1. #1
    Registered User
    Join Date
    01-07-2010
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Count number of occurences of a word and multiply by qty in corresponding row.

    Say i have a report that tells how much fruit ive sold and it's broken down per order per item type, and i want to use a formula that reads the name of the item, the quantity of the item in the corresponding row, and return the total number of that item sold.

    EXAMPLE:

    Item: qty: price: ext. price:
    apple 3 1 3
    orange 1 2 2
    apple 1 1 1
    lime 6 .5 3
    apple 4 1 4



    I want a formula to return the total number of apples sold in this report. what command/formula will do this?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count number of occurences of a word and multiply by qty in corresponding row.

    Try Sumif..

    e.g

    =Sumif(A:A,"apple",B:B)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-07-2010
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Count number of occurences of a word and multiply by qty in corresponding row.

    Thanks, worked like a charm

+ 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