Tempo adjustment for a sample

Hey! I’m working with a sample that holds very loosely to a tempo.
I have a click track that i am trying to sync the sample to it? whenever i try to use the Tempo change on one measure of the sample to be the same duration as a measure of the click track, the sample ends up being too short or too long, even though i put the precise duration that i want the measure to be into the tempo change dialogue.

Needless to say, i want the sample to stay in the same key, so just speeding/slowing it wouldn’t work.

Any ideas?

Can you adjust it so that it is close (just a little too long) then cut a few bits out to make the length correct?