If you are on FindMyPast, then it is straightforward and possible to do it from the census search page. On ancestry, depending on when and where your ancestor lived, it is often easier to do an address search on electoral registers rather than census.