As you do not say the age of the ranch house, the insulation, the age of the central air or if you have had it serviced, there is a reality in this in my part of hotter than Hades.
For some reason people think that they can run big screen televisions, cook like it is Thanksgiving and find other flame throwers to heat a house up, and then are puzzled why on hot summer days their central air won't keep their house at 73 Siberia conditions.
There are things that help like closing the shades on the windows, running small fans to move air, and the novel idea of closing the doors on rooms not used, including closing the central air to them, so it is concentrated in living areas.
In most cases in our home, we have evergreens planted on the north side of our house. We leave the windows open, with a fan running, except in 90 plus degree weather, and that maintains the house in the mid 70's. At night the windows are open and the house cools off, and is shut up by 9 AM if it is a hot day, so the cool air stays inside.
We cook on cool days, and eat pasta, salads or grill and except in the hottest periods of 75 degree nights, the house is cool and we rarely run the AC.
The heat and humidity the upper Midwest has been having this past month is now moving east and our area is being given a break. In almost every case a window AC should cool a house, as should central air. If you are having the problems you are with not heating the house up, your central needs to be serviced as others have rightly said, but if you are heating the house up from the inside, then it is not the outside temperatures.
Okay let me give more details. All windows have blinds and room darking drapes closed (no sun light gets in), ceiling fans in all living spaces, box fan in hall way, all unused rooms have doors closed (closing air vents is not recommended as it strains the system per my HVAC man), we don't used the oven or stove, we eat "light" meals in the summer or cook out. So ya, I have taken all the steps to keep the heat down inside.
System is about 20 years old, clean filter every month, cond. coils kept clean, unit in the shade, etc. It was 96* today with a 110* heat index, low was 79*. House stayed cool at 73*, but unit ran non stop from 9 am to 9 pm. I realized it is approaching the end of it's lifespan, but it is still working and was inspected a year and a half ago. Thermometer on vent reads 57* to 59* so it still produces cold air, though blower seems weak. I see a new one in the near future , but for now I have to get by as is. I just thought a window unit might give it a break on those really hot days.