+ Reply to Thread
Results 1 to 5 of 5

How do I calculate the sum of all prices which next to them have different specific words

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    How do I calculate the sum of all prices which next to them have different specific words

    Hi
    I am trying to make a function in order to sum the amounts next to specific names. i made a function but only for one name =SUM(SUMIF(C2:C2227;{"ΚΑΡΤΙΚΗΣ"};P2:P227))
    I need α function that check the names and add their amounts
    I have attached an example with the desired results

    Thank you in advance

    TEST.xlsx

  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: How do I calculate the sum of all prices which next to them have different specific wo

    Καλημέρα.

    In C2 and copy down use this.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: How do I calculate the sum of all prices which next to them have different specific wo

    hi there enitron, maybe:
    =IF(COUNTIF(A$2:A2,A2)=1,SUMIF($A$2:$A$7,A2,$B$2:$B$7),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: How do I calculate the sum of all prices which next to them have different specific wo

    =SUMIF(A$2:A$7,"="&A2,B$2:B$7)
    In C2 and copy down.

  5. #5
    Registered User
    Join Date
    12-19-2012
    Location
    Thessaloniki
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: How do I calculate the sum of all prices which next to them have different specific wo

    Thank you very much.... all functions are amazing ...my problem solved

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 03-02-2021, 07:33 PM
  2. [SOLVED] looking formula for Extract Specific WORDs in existing LONG Words
    By santosh226001 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-07-2013, 08:21 AM
  3. how to calculate fuel prices
    By k b in forum Excel General
    Replies: 1
    Last Post: 04-15-2012, 09:56 AM
  4. How do I calculate two different prices based on a given quantity?
    By jstnvndn in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 09-04-2007, 02:24 PM
  5. CALCULATE SALES PRICES ON OLD INVOICES
    By DAVE in forum Excel General
    Replies: 1
    Last Post: 12-06-2005, 06:15 PM

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