If, then formula for matching the count

sc714

New Member
Joined
Sep 22, 2019
Messages
1
Hello! I'm new to this forum and am hoping someone can help me with a formula. I'd like to return a text if the count of a text of a range matches the count of a text in another range.

Ex:

Range 1: Return Text: Data Input (these will be dropdowns):
Low Low High Medium Low high Low
Medium Medium Low Medium
High Low Low Low
Low High High High

Since Low appears twice and High appears once in the Data Input which matches how Low appears twice and high appears twice in Range 1, the cell would return with the corresponding Return Text of "Medium."

Is something like this possible in Excel? I'ts more like a matching the counts of specific values.

Thanks!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
It should be possible, but we would need a cleaner example.
There are ways to preserve formatting when posting samples, but for a quick fix you could use something like a comma, colon or semi-colon to separate the range 1, return text and input data samples.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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