Sometimes ancestors's names were misspelled on the US Census making it a challenge to find them. Also, sometimes they were enumerated using initials or nicknames. Many times names have been misspelled when they were indexed and you cannot find them in an online database.
With census index books, you can more easily locate your ancestor. See Using Federal Census Indexes.