Earlier quoted context omitted.
“A vitamin is an organic molecule (or related set of molecules) that is an essential micronutrient which an organism needs in small quantities for the proper functioning of its metabolism. Essential nutrients cannot be synthesized in the organism, either at all or not in sufficient quantities, and therefore must be obtained through the diet. ” https://en.wikipedia.org/wiki/Vitamin
By this definition you might argue that it's a vitamin north of some geographic line and a hormone south of that line .... Also, nicotinamide (one form of Vitamin B3) is a metabolite of niacin (nicotinic acid, another form of Vitamin B3). Humans can produce the former from the latter, but require at least one of them from the diet. Does that make niacin a vitamin, but nicotinamide a hormone? They are not equivalent,…
I think things get very tricky to define when you need at least one compound that can complete some biological process, but there are several different potential compounds that could do the job, some of which have to come from diet and others can by synthesized by the human body.