Or Statement has me in circles

Robizzle512

New Member
Joined
Mar 16, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Need an "If" statement that has to only have 1 constant variable and 4 others that be a mix. To put it simply looking to count how many of a certain subset of policies were sold be a specific rep. The sumif will only count it they all meet the criteria which they will not have all 4 products but could have sold multiple of 1 or two. The Sales Incentive preview is where we will compile the raw data from All Add Ons sheet. In column "L" of the All Add Ons sheet is the 4 products considered as Home with "Home" being included in the 4.
I tried to break it down to its simplest form and search just for "Home" and the simple sumif works but converting to the "Or" statement and looking for just "Home" gives a 0..... Help?
 

Attachments

  • All Add Ons.PNG
    All Add Ons.PNG
    158.8 KB · Views: 7
  • Sales Incentive Preview.PNG
    Sales Incentive Preview.PNG
    87.2 KB · Views: 9

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi & welcome to MrExcel.
You can do that like
Excel Formula:
=sum(countifs(B:B,H1:H4))
Just add the sheet names & the other criteria.
 
Upvote 1
Hi & welcome to MrExcel.
You can do that like
Excel Formula:
=sum(countifs(B:B,H1:H4))
Just add the sheet names & the other criteria.
I knew it should have been much simpler than I was attempting thank you but where could I include the "And" statement so that it is only looking for those products by Advisor? I attempted to add the "And" as Criteria 2 to look for "Service Advisor 1" specifically but it breaks it again.
 
Upvote 0
I knew it should have been much simpler than I was attempting thank you but where could I include the "And" statement so that it is only looking for those products by Advisor? I attempted to add the "And" as Criteria 2 to look for "Service Advisor 1" specifically but it breaks it again.
=SUM(COUNTIFS('All Add-ons'!B:B,'All Add-ons'!L1:L4))
This is where I am at now and It is confirmed counting all within that range properly. Just want to narrow down to the count by specific advisor
 
Upvote 0
How about
Excel Formula:
=SUM(COUNTIFS('All Add-ons'!B:B,'All Add-ons'!L1:L4,'All Add-ons'!D:D,A2))
 
Upvote 1
If I could like this more than once I would,, you are much appreciated!!!
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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