SUMPRODUCT Formula to exclude a criteria but include a similar criteria

insanebe

New Member
Joined
Apr 21, 2015
Messages
3
=SUMPRODUCT(SIGN((APR'!$A$3:$A$2500&APR'!$B$3:$B$2500="Place holder"&$B$2)*(APR'!$I$3:$I$2500<>"R")))

for the most part this formula works but in Collumn "I" I want to exclude Value "R", the problem is it is also excluding the value RBS which I don't want.

This has to be a sumproduct formula as it is referencing a closed workbook (I have shortened it for easy viewing removing the file location path)

Any Help will be much appreciated
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,

That formula shouldn't exclude RBS, it will only exclude an upper or lower case R so something else is wrong, can we see some data?
 
Upvote 0
Hi,

That formula shouldn't exclude RBS, it will only exclude an upper or lower case R so something else is wrong, can we see some data?

Thank you, it was a data entry instead of "placer holder" it said place "holdrr" on the main data table

now I feel stupid, thank you anyway.
 
Upvote 0

Forum statistics

Threads
1,216,086
Messages
6,128,734
Members
449,466
Latest member
Peter Juhnke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top