+ Reply to Thread
Results 1 to 5 of 5

How do I exclude certain cells from a sum product formula in Excel?

  1. #1
    Registered User
    Join Date
    10-30-2020
    Location
    Turkey
    MS-Off Ver
    2016 professional plus
    Posts
    3

    How do I exclude certain cells from a sum product formula in Excel?

    Using sum product I calculate weighted average of rate of amounts I have, as per below case I would like to exclude highlighted amount and rate from the formula. Any quick solutions?
    Thanks
    Arda

    sumproduct.JPG

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... based in Ireland
    MS-Off Ver
    µSoft Office 365. Learning Excel all over again!!
    Posts
    30,754

    Re: How do I exclude certain cells from a sum product formula in Excel?

    Is the yellow shading done according to a rule, or done arbitrarily, manually, by you. If so, would you be OK to use an X in another column instead of shading?


    Also...A picture is worth 1000 words, a sample sheet is worth 1000 pictures!!

    You have attached a non-editable picture of an Excel sheet. That's not very easy to work with. Also... I'm lazy. I have to re-type your information before I can begin to address your problem. That puts me off completely.

    So.... Do yourself a favour and please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough). However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever).

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Make sure confidential information is removed first!!!!
    Glenn



  3. #3
    Registered User
    Join Date
    10-30-2020
    Location
    Turkey
    MS-Off Ver
    2016 professional plus
    Posts
    3

    Re: How do I exclude certain cells from a sum product formula in Excel?

    Thank you Glenn for your input!

    Yellow shading is according to a rule (date) and can not moved from that order. I hopefully managed to attach the excel file now.

    Thanks again
    Arda
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... based in Ireland
    MS-Off Ver
    µSoft Office 365. Learning Excel all over again!!
    Posts
    30,754

    Re: How do I exclude certain cells from a sum product formula in Excel?

    There is no date in your sheet. There is no conditional formatting in your sheet. Please supply a PROPER sample sheet, showing what the rule is.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    20,712

    Re: How do I exclude certain cells from a sum product formula in Excel?

    crossposted: https://www.mrexcel.com/board/thread...excel.1149836/

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)

+ 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. How do I exclude certain cells from a sum product formula in Excel?
    By ardask in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2020, 12:53 PM
  2. [SOLVED] Exclude Cells with Zero from Complicated SMALL Formula
    By Phillycheese5 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-20-2016, 06:54 PM
  3. Exclude blank/FALSE cells in in Excel array IF formula output
    By sushix in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-08-2013, 11:42 AM
  4. [SOLVED] How to exclude 0 from Product() ??
    By tangomj in forum Excel General
    Replies: 4
    Last Post: 09-02-2012, 08:58 AM
  5. Limit or Exclude cells in Average and Sum formula
    By dagger in forum Excel Formulas & Functions
    Replies: 25
    Last Post: 09-06-2005, 12:05 PM
  6. [SOLVED] Need a formula that sums a column but could exclude some cells
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. Need a formula that sums a column but could exclude some cells
    By Watercolor artist in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM

Tags for this Thread

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