+ 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... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  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... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,893

    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, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    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.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. 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