Counting Repeat Values in One Cell with IF function

ProfessionalAmateur

New Member
Joined
Dec 13, 2022
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Thanks in advance for any help

I have columns with drop down lists. Column F has a dropdown list of radio types (Ubi AC Lite, Ubi Prism Gen 2, etc). There is also a Column K that has a drop down list designating whether the radio was installed or picked up (Install, Pickup, Upgrade). I need to count how many Ubi AC Lites are installed and have tried multiple variations of COUNTIFS and SUMPRODUCT to no avail. I can only get a returned value of 1 even if Ubi AC Lite is listed multiple times in the same cell.

current formula I am using is =SUMPRODUCT((LEN(F11:F135)-LEN(SUBSTITUTE(F11:F135,T12,""))) /LEN(T12)) with T12 containing Ubi AC Lite in it. This returns the values for every instance of Ubi AC Lite listed but I cannot add the IF function or condition of only counting if "Install" is selected in Column K. Is there a way to add an IF or condition to the current formula I have?

Riverside.xlsm
FGHIJK
10Radio CustomerAntenna CustomerCPEMiscSpeed/VoiceInstall/Upgrade/Pickup/TruckRoll
11Ubi AC Lite, Ubi AC Lite, Ubi AC LiteUbi RD5G30, Ubi RD5G30Install
12Ubi Prism Gen 2, Ubi LTU LRUpgrade
13Ubi AC LiteInstall
December 2022
Cells with Data Validation
CellAllowCriteria
F11:F144List=$T$11:$T$55
G11:G451List=$X$11:$X$33
H11:H308List=$AB$11:$AB$23
I11:I256List=$AF$11:$AF$20
K11:K13List=$AG$81:$AG$84
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Does this work?
Excel Formula:
=SUMPRODUCT(((LEN(F11:F135)-LEN(SUBSTITUTE(F11:F135,$T$12,"")))/LEN($T$12))*(K11:K135="Install"))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,338
Messages
6,124,358
Members
449,155
Latest member
ravioli44

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