When you have The Dead PC (google that) the accepted way to work out what it is, is to reduce the parts until it powers up. If you get down to just PSU and a motherboard (no case!) then you are looking at the two suspect parts.

You omitted age and what the parts are but some PCs do this when the CMOS battery is too low. Can you try a new battery?