Not sure what you're after, but this might work:
=IFERROR(INDEX($D$1:$D$7,MATCH($E$1-D1,$D$1:$D$7,0)),"")
I listed numbers in cells D1 to D7, and the target value in E1.
The formula, which I put in cells F1 to F7 (changing D1, D2...), calculates the value of the target minus the values in each cell in the list (E1-D1, E1-D2, etc), then uses INDEX and MATCH to look for the result in the list.
I also put an IFERROR check in there, to avoid errors showing when the result was not found.
Successful values show in cells in column F, beside the number in column D which it adds to to get the target number.
Bookmarks