The key to getting a good response is to provide a good, complete explanation of your problem and expected results. Remember, while the problem is very familiar to you, all that we have to go on is what you provide to us here in that question.
OK, so you provided us with what is in cells C7 and C13, and what is in T12:T45 and W11:W32. But how do those items relate to each other? What exactly do you want this formula to do?
Do you want to see if the value in C7 exists anywhere in range T12:T45?
What about C13 as it relates to W11:W32? If it is truly mileage, it is highly doubtful that the value in C13 EXACTLY matches one of the values in T12:T45. So what exactly do you want to happen here?
Help us to help you! If you cannot explain it clearly, then I suggest posting an actual example along with your expected results. There are tools you can use to post screen images. They are listed in Section B of this link here: http://www.mrexcel.com/forum/board-a...forum-use.html. Also, there is a Test Here forum on this board that you can use to test out these tools to make sure they are working correctly before using them in your question.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.