This is a simplification and fictionalization of a problem I'm attempting to solve. I would like to be able to devise a formula that would find the most common animal type that a groomer handles. In other words, if Devin grooms 9 animals, and 7 of those are cats, I want to return the value 'Cat'. I have 2 sheets, as shown in the images linked below:
Sheet1:
Sheet2:
The formula would be placed in cell B2 on Sheet1 (and copied down.) The formula would look at the Groomers in Sheet2 A2:A40 and their corresponding groomed Animals in Sheet2 B2:B40, and determine which animal is the most commonly groomed animal for each groomer listed in Sheet1 A2:A7. So, for example, Sheet1 B2 should display 'Cat', since the most common animal for Devin to groom was a cat.
One other potential issue that needs to be accounted for is that sometimes there will be blank data on Sheet2 (which is unavoidable in this case); however, every time the Groomer is empty, the Animal will be empty as well. I do not want to take blanks into account if possible.
If there is a "tie" (for example, let's say Sally grooms 5 cats and 5 dogs) I would like to return a custom value, like "No Specialty".
Excel 2007, Windows 7
Sheet1:
Sheet2:
The formula would be placed in cell B2 on Sheet1 (and copied down.) The formula would look at the Groomers in Sheet2 A2:A40 and their corresponding groomed Animals in Sheet2 B2:B40, and determine which animal is the most commonly groomed animal for each groomer listed in Sheet1 A2:A7. So, for example, Sheet1 B2 should display 'Cat', since the most common animal for Devin to groom was a cat.
One other potential issue that needs to be accounted for is that sometimes there will be blank data on Sheet2 (which is unavoidable in this case); however, every time the Groomer is empty, the Animal will be empty as well. I do not want to take blanks into account if possible.
If there is a "tie" (for example, let's say Sally grooms 5 cats and 5 dogs) I would like to return a custom value, like "No Specialty".
Excel 2007, Windows 7
Last edited: