ranshaw is a census-designated place located in coal township, northumberland county in the state of pennsylvania. the community is located to the east of the city of shamokin. as of the 2010 census the population was 510 residents.