Count if Column A is a unique value and if Column B includes text string

csimarketing

New Member
Joined
Jun 18, 2019
Messages
14
Office Version
  1. 2019
Platform
  1. MacOS
Hello, I am trying to get a count of how many orders we shipped via UPS or fedex.

In Column B, it lists the order number but there are duplicates.

So I only need the count of unique orders #s (Column B) that shipped via UPS or Fed Ex (Column I).

I have tried a combo of COUNTIF and FREQUENCY as well as SUMPRODUCT but I am missing something.

Any help would be great! Thanks.
 

Attachments

  • Screen Shot 2020-11-05 at 10.01.39 AM.png
    Screen Shot 2020-11-05 at 10.01.39 AM.png
    158.7 KB · Views: 8

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

VBE313

Well-known Member
Joined
Mar 22, 2019
Messages
684
Office Version
  1. 365
Platform
  1. Windows
=UNIQUE(B1:C12)
=COUNTIF(D1#,"UPS Ground")
Snag_258207df.png
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,130,317
Messages
5,641,488
Members
417,211
Latest member
loadius

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
Top