Hmmm I tend to disagree, since at long ranges, the Panzer IV can't reliably penetrate the Sherman. But the Sherman can kill the PZIV - it just needs a couple more aiming shots before it hits.
I'm tempted to set up some testing now, or maybe I could cajole/coerce/flatter @Drifter Man into doing one of his whiz-bang automated tests!
Since the 75 on the Pz IV is high velocity it has better armour penetration and is quicker to land on target, all other factors being equal.
Yes the Sherman has a sloped front, but I don't think that comes into play until well over the 1500-2000m range.
Conversely a Sherman 75 can take an agonising amount of time to hit the target at long range, and if both tanks have spotted and begin firing at the same time (yes I know, unlikely but go with it), the Pz IV should be hitting the Sherman first, causing the latter, even if not penetrated, to be rather unhappy due to the ongoing significant emotional event.
I know you've been keeping an eye on @Drifter Man s DAR, consider when he killed my firefly with his Stugs, IIRC that was at a range of over 1 km, but they had no problem punching through the armour, they were also on target within a minute, and the crew quality is only regular.