Adding more arguments to SUMPRODUCT

ddub25

Well-known Member
Joined
Jan 11, 2007
Messages
625
Office Version
  1. 2019
Platform
  1. Windows
=IF(SUMPRODUCT(--([CasScalp_MAS_110416.xlsx]Acounts!A10:A742=E11),--([CasScalp_MAS_110416.xlsx]Acounts!F10:F742=$AF$8)),"X","Y")

I have the above fully working formula, but want to add more IF's:

1) That IF C10:C742 (on [CasScalp_MAS_110416.xlsx]Acounts!) = "B" (as well as E11 matching A10:A742 and $AF$8 matching F10:F742), then return a "B" instead of an "X".

2) And IF C10:C742 (on [CasScalp_MAS_110416.xlsx]Acounts!) = "S" (as well as E11 matching A10:A742 and $AF$8 matching F10:F742), then return a "Y" instead of an "X".

Any ideas on including these. Thanks.

Dan
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
thanks jason, I've just posted a reply to the original.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,678
Members
452,937
Latest member
Bhg1984

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