http://www.learnersdictionary.com/definition/yahooBoth definitions, the noun and the interjection, are well known and popular.
Apparently not always both to the same people.
The rude noun is the older usage of the two predating the celebratory interjection by about 150 years, the interjection not arriving in literature until the 1870s.