OR, use this withOUT the helper column. Again CSE =INDEX(Sheet1!$C$2:$C$140,MATCH(MIN(ABS(Sheet1!$C$2:$C$140-LEFT(C3,3))),ABS(Sheet1!$C$2:$C$140-LEFT(C3,3)),0))
Don Guillett Microsoft MVP Excel SalesAid Software dguille...@gmail.com From: Sara Lee Sent: Wednesday, May 09, 2012 10:01 PM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ urgent - pls help with this formula to match closest zip col i in Sheet 2 needs to be filled up . Can u please fill it up with a formula. Vlook true is not working by looking at sheet 1 col c value- either exact or next closest- I need to get the closest value. examples in sheet attached. Exact is first preference . if no exact is found, then the next closest value should be the answer. say if the value i am searching is 220 and the values in the sheet close to 220 are 240 and 212, 212 is the final answer since 212 is closer to 220 then 240. Difference should be less. Thanks -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com -- FORUM RULES (986+ members already BANNED for violation) 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Cross-promotion of, or links to, forums competitive to this forum in signatures are prohibited. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. ------------------------------------------------------------------------------------------------------ To post to this group, send email to excel-macros@googlegroups.com