I haven't run the numbers myself but Gateway Pundit's Joe Hoft has. Here is his take on whether having the endorsement of former President Trump matters for GOP primary candidates.
President Trump's Endorsements Matter - Last Night 23-2-1 (TBD-Oz) - Overall 81 Wins, 3 Losses, 1 TBD (Oz)
"TBD Oz)" means that the very close race for the senate nomination in Pennsylvania is still undecided between Mehmet Oz (Trump endorsee) and David McCormick. Presuming Hoft has done the numbers correctly, and I'm sure he is close, Trump endorsements do in fact matter to Republican voters.