vlookup amount with tolerance of + or minus 10

is there a formula that will allow me to lookup an amount from one sheet onto another sheet with a tolerance of 10

i.e. I have a column that is already doing a lookup and will return either match or no match.

so, in sheet1, if T2  = Match I need to lookup S2 in Sheet2 find the amount in the amount in R2 and if that amount is +/- 10 to the amount in Sheet1 R2 Match if not No Match.

so it would be something like this

=IF(S2="Match",VLOOKUP(T2,Sheet2!U:U,1,))

but I need the tolerance of+/- 10

is that possible??

Thanks in advance
JagwarmanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

krishnakrkcCommented:
something like ...

=IF(S2="Match",IF(abs(R2-VLOOKUP(T2,Sheet2!U:U,1,))<=10,"Match","No Match"),"No Match")

Kris
0
JagwarmanAuthor Commented:
Hi krishnakrkc

I am getting Value# at this point

R2-VLOOKUP(T2,Sheet2!U:U,1,)

Regards
0
krishnakrkcCommented:
I guess there is an amount in R2 on Sheet1 and you want to compare this amount with the formula return value. Am I right ?

Can you upload the workbook here ?
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

JagwarmanAuthor Commented:
0
krishnakrkcCommented:
U2 in Sheet1

=IF(S2="Match",IFERROR(IF(ABS(T2-VLOOKUP(R2,Sheet2!S:U,3,))<=10,"Match","No Match"),"No Match"),"No Match")

Is this what you are looking for ?

Kris
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JagwarmanAuthor Commented:
that's perfect thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.