Hi, So it can be solved by using VBA if elseif statement.
MangesH On Thu, May 31, 2012 at 3:24 PM, LAKSHMAN PRASAD <lakshman_...@yahoo.com>wrote: > Hello everybody,****** > But if we want like under example …..**** > Amount**** > Round figer**** > 1864138**** > 1900000**** > 361408**** > 400000**** > 465654**** > 500000**** > 445000**** > 400000**** > 12**** > 10**** > 15**** > 10**** > 16**** > 20**** > 123**** > 100**** > 150**** > 100**** > 155**** > 200**** > 1234**** > 1000**** > 1500**** > 1000**** > 1555**** > 2000**** > Regards**** > LAKSHMAN**** > > > *From:* Asa Rossoff <a...@lovetour.info> > *To:* excel-macros@googlegroups.com > *Sent:* Thursday, May 31, 2012 7:16 AM > *Subject:* RE: $$Excel-Macros$$ can we round figer any amount. > > Hi Anil, > To get the exact results you indicated (10% of rounding up to next > 100,000), you can use any one of these formulas: > =ROUNDUP(A2,-5)/10 > =ROUNDUP(A2/10,-4) > > =(INT(A2/100000)+(A2/100000<>INT(A2/100000)))*10000 > > The ROUNDUP formulas will work with positive or negative numbers, but if > you will be working with negative numbers, verify that the rounding > behavior is as desired (ROUNDUP rounds away from zero rather than "up"). > The INT formula as written always rounds up (positives away from zero, > negatives towards zero). > > Asa > > -----Original Message----- > From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] > On Behalf Of anil kumar > Sent: Wednesday, May 30, 2012 4:27 AM > To: excel-macros > Subject: $$Excel-Macros$$ can we round figer any amount. > > Hello everybody, > > I have a queary. can we round figer any amount. > > exp. > Amount Round figer > 975567.65 100000.00 > 732530.60 80000.00 > 595328.81 > 457717.00 > 405543.09 > 323739.86 > 317619.89 > 317311.64 > 290630.55 > 270986.07 > > > Regards > Anil > > -- > 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 > > To unsubscribe, send a blank email to > excel-macros+unsubscr...@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 > > To unsubscribe, send a blank email to > excel-macros+unsubscr...@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 > > To unsubscribe, send a blank email to > excel-macros+unsubscr...@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 To unsubscribe, send a blank email to excel-macros+unsubscr...@googlegroups.com