Combining COUNTIFS with FREQUENCY?

chris32094

New Member
Joined
Nov 20, 2018
Messages
5
Hello!

I have the following set up

Column A - Date of Transaction
Column B - Transaction Number
Column C - Transaction Category ("Purchases", "20% Off Sale", "Employee 10% Off Discount", "Comp")
Column D - Item

For example:

ABCD
11/15/1819816PurchaseCandle
11/15/1819816PurchaseCandle
11/15/1819817CompGloves
11/15/181981820% Off SaleHat
11/16/1819819PurchaseBath Bomb

<tbody>
</tbody>

I'm looking to create a formula that shows me the amount of receipts (B:B) within a given date range (A:A), excluding "Comp" transactions (C:C) WITHOUT DUPLICATES
So if I wanted to see the above for 11/15/18, the formula would return 2 transactions.

I've been trying to combine formulas but I can't seem to work out the addition of the FREQUENCY function.
Any assistance would be GREATLY 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.
Control+shift+enter, not just enter:

=SUM(IF(FREQUENCY(IF($A$2:$A$6="11/15/18"+0,IF(1-($C$2:$C$6="comp"),$B$2:$B$6)),$B$2:$B$6),1))
 
Upvote 0

Forum statistics

Threads
1,217,097
Messages
6,134,552
Members
449,877
Latest member
Joey612

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