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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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