Hi,
Is there a simple way to get sumproduct to exclude based on values in a list.
I.e. =SUMPROUDUCT(--(source!$A:$A<>exclusions!$A$1:$A$10),source$B:$B)?
Figure you should be able to do with a match or something but cant seem to find it.
Hi,
Is there a simple way to get sumproduct to exclude based on values in a list.
I.e. =SUMPROUDUCT(--(source!$A:$A<>exclusions!$A$1:$A$10),source$B:$B)?
Figure you should be able to do with a match or something but cant seem to find it.
Last edited by orangehenry; 12-15-2020 at 07:40 AM.
Welcome to the forum.
There are instructions at the top of the page explaining how to attach your sample workbook.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
(well you uploaded a sample file long after I started working on a solution, therefore I'm not using it)
Hmm. It should be possible. It would be less likely without a sample excel file
To my knowledge you'd have to refer to each individual exclusion item rather than a list.
Therefore the only solution i can come up to would look either like :
OrPlease Login or Register to view this content.
See following sample file if needed.Please Login or Register to view this content.
You could extend the formulas to your likings.
Last edited by Exl-Noob; 12-15-2020 at 08:04 AM.
⭹ If this helped you, please add reputation
In your example file, this would work
as would also this work if you want to add more empty cells in case your exclusion list grows :Please Login or Register to view this content.
Please Login or Register to view this content.
this is the "textbook" way of doing this:
=SUMPRODUCT(--(ISERROR(MATCH(B4:B9,H4:H5,0))),C4:C9)
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
Whoa
slow clap
Try
HTML Code:
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks