You can use Vlookup formula as shown in attachment. Regards, Modh
From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of Kal xcel Sent: Wednesday, July 06, 2011 4:56 PM To: excel-macros@googlegroups.com Cc: Dave Bonallack; NOORAIN ANSARI; Ashish Koul Subject: $$Excel-Macros$$ Query Dear Experts, For this chart 3001-5000 = 30 5001-6000 = 40 6001-7000 = 45 7001-8000 = 50 8001-9000 = 50 9001-15000 = 110 15001-25000 = 130 25001-40000 = 150 40001>= =200 I use this formula: =IF(AND(D16>=3001,D16<=5000),30,IF(AND(D16>=5001,D16<=6000),40,IF(AND(D16>=6001,D16<=7000),45,IF(AND(D16>=7001,D16<=8000),50,IF(AND(D16>=8001,D16<=9000),90,IF(AND(D16>=9001,D16<=15000),110,IF(AND(D16>=15001,D16<=25000),130,IF(AND(D16>=25001,D16<=40000),150,IF(AND(D16>=40001),200,0))))))))) Is their any other short/intelligent way to get desired result? Please help Thanks in advance Kalyan -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com<mailto:excel-macros@googlegroups.com> <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel This message has been scanned for viruses by ForeFront Online Protection -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/discussexcel
vlookup.xlsx
Description: vlookup.xlsx