wow I certainly appreciate this entry, thank you.

Working with the first part of your attachment, if I change certain values say from human to halfling, where it would be most common halflings, it returns human.

Also I don't understand the reference to $d$2:d2 as this is blank in your spreadsheet.

Cheers,