+ Reply to Thread
Results 1 to 5 of 5

Calculating the cost of multiple items

  1. #1
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Calculating the cost of multiple items

    I have attached a sample of the problem I am trying to solve. The table is labeled from item A to I. Below that is the cost of each item. I will have people selecting the items as shown.
    I have manually calculated the total cost but don't know where to start with calculating the cost.

    I want to have a calculated total cost.

    Any help would be greatly appreciated.

    Thank you in advance
    Attached Files Attached Files

  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: Calculating the cost of multiple items

    Hi Jim

    Use SUMPRODUCT for it.

    =SUMPRODUCT((B3:J3*$B$2:$J$2)+(B4:J4*$B$2:$J$2))

    =SUMPRODUCT((B5:J5*$B$2:$J$2)+(B6:J6*$B$2:$J$2))


    Hope to helps you.
    Attached Files Attached Files
    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 Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,576

    Re: Calculating the cost of multiple items

    Enter this in K4 and pull down:

    =IF(A3="","",SUMPRODUCT(B3:J4*$B$2:$J$2))

  4. #4
    Registered User
    Join Date
    09-27-2007
    Location
    UK
    MS-Off Ver
    MS365
    Posts
    69

    Re: Calculating the cost of multiple items

    Thank you both so much. Both work perfectly.

  5. #5
    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: Calculating the cost of multiple items

    You are welcome!

    So pls, mark your thread, as SOLVED

+ 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