I am attaching a function (GetRate) that does what you describe. If you have any questions let me know. Tom
On Wed, Dec 3, 2008 at 11:25 AM, raghuveer kumar <[EMAIL PROTECTED]>wrote: > Hi, > > I had a small query. > > I had a data like as given in below example. > > product slab(units) Rate x 01-15 5 16-21 6 22-25 8 y 01-10 > 6 11-18 9 > and so on.... > Is there any formula to know the rate, for a list as follows. > product units Rate > x 17 ? > y 12 ? > > Thanks in advance > > > > Yours... > Raghuveer > > > > --~--~---------~--~----~------------~-------~--~----~ Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To post to this group, send email to excel-macros@googlegroups.com For more options, visit this group at http://groups.google.com/group/excel-macros?hl=en Visit & Join Our Orkut Community at http://www.orkut.com/Community.aspx?cmm=22913620 Visit the blog to download Excel tutorials at http://www.excel-macros.blogspot.com To Learn VBA Macros Please visit http://www.vbamacros.blogspot.com To see the Daily Excel Tips, Go to: http://exceldailytip.blogspot.com -~----------~----~----~----~------~----~------~--~---
GetRate.xls
Description: MS-Excel spreadsheet