Re: $$Excel-Macros$$ MOST REPEATED NO
Thanks Mr. Don, Mr. Sam, Mr Rajan. Thanks a lot. On Fri, Aug 17, 2012 at 11:09 PM, Rajan_Verma wrote: > * * > > *Another solution is * > > * * > > *=Mode(rng)* > > * * > > * * > > *Regards* > > *Rajan verma* > > *+91 7838100659 [IM-Gtalk]* > > * * > > *From:* Rajan_Verma [mailto:rajanverma1...@gmail.com] > *Sent:* 17 August 2012 10:19 > *To:* 'excel-macros@googlegroups.com' > *Subject:* RE: $$Excel-Macros$$ MOST REPEATED NO > > ** ** > > * * > > *If your list is Name is rng * > > * * > > *Without Array * > > *=INDEX(rng,MATCH(MAX(FREQUENCY(rng,rng)),FREQUENCY(rng,rng),0),0)* > > * * > > *With Array* > > *=SMALL(IF(COUNTIF(rng,rng)=MAX(COUNTIF(rng,rng)),rng,""),1)* > > * * > > * * > > * * > > *Regards* > > *Rajan verma* > > *+91 7838100659 [IM-Gtalk]* > > * * > > *From:* excel-macros@googlegroups.com [mailto: > excel-macros@googlegroups.com] *On Behalf Of *dguillett1 > > *Sent:* 17 August 2012 9:22 > *To:* excel-macros@googlegroups.com > *Subject:* Re: $$Excel-Macros$$ MOST REPEATED NO > > ** ** > > Or, a macro to round b.. > > > > Don Guillett > Microsoft Excel Developer > SalesAid Software > dguille...@gmail.com > > > > *From:* Sam Mathai Chacko > > *Sent:* Friday, August 17, 2012 10:43 AM > > *To:* excel-macros@googlegroups.com > > *Subject:* Re: $$Excel-Macros$$ MOST REPEATED NO > > > > Or directly by rounding in the formula itself > > =ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)), > 2),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2) > > Change the RED colored 2 to 3 for third most repeated number and so on > > And if you only need to get the second largest number, you can use a > simpler formula > > > =MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(INDIRECT("1:"&ROWS(B3:B21) > > Regards, > Sam Mathai Chacko > > On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 wrote:* > *** > > Looks like homework to me also but this should do it AFTER rounding your > column B into column A > > > > > =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQUENCY($A$3:$A$21,$A$3:$A$21),0)) > > > > > Don Guillett > Microsoft Excel Developer > SalesAid Software > dguille...@gmail.com > > > > *From:* Amit Gandhi > > *Sent:* Friday, August 17, 2012 1:30 AM > > *To:* excel-macros@googlegroups.com > > *Subject:* $$Excel-Macros$$ MOST REPEATED NO > > > > Hi Experts > > > > If there is any formula which can calculate MOST REPEATED NO from a list? > Sample file attached. > > > > Pls help me here. > > > > Regards > > > > Amit > > > > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > mailto:excel-macros%2bunsubscr...@googlegroups.com > . > > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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 threa
Re: $$Excel-Macros$$ MOST REPEATED NO
Thanks Mr. Paul For such a beautiful & accurate reply. On Fri, Aug 17, 2012 at 6:50 PM, Paul Schreiner wrote: > Is this homework? > It sure looks like it. > I think we've been getting a LOT of that lately, school must have begun! > > I SUPPOSE that school should be teaching how best to use resources at your > disposal to accomplish a task, > and this forum is DEFINITELY a valuable resource, so... > > First of all, you've asked this question in a forum for Excel MACROS, > not EXCEL Users. > That is, this group is primarily for providing assistance with writing VBA > macros for Excel. > But most of us have "some" experience with Excel functions. > > -- > In Statistics, there are three (or more) numeric values of importance: > Mode, Median, Mean > > Mean is the Average, > Median is the number in the "middle" of the series. > Mode is the value most repeated. > > Excel 2010+ had three variations of this: > Mode (used for backward compatibility to Excel 2007) > Mode.SNGL > Mode.MULT > > To get the most repeated number, you COULD use: > =Mode(B3:B21) > or > =Mode.sngl(B3:B21) > > But your numbers don't actually repeat. > That's because you may SEE a couple of values like 1.32, but > they are actually > 1.31853816584186 > 1.32496254963853 > > So you need to round them (to 2 decimal places) > > =MODE.SNGL(ROUND(B3:B21,2)) > > That should give you the most repeated number. > > Now, for the second, > you should be able to use: > =Mode.Mult(round(B2:B21,2)) > as an array function, > then, use: > index(mode.mult(round(B2:B21,2))) > > as an array function, but I haven't been able to get it to work. > > Perhaps this is enough to get you pointed in the right direction? > > > *Paul* > > - > *“Do all the good you can, > By all the means you can, > In all the ways you can, > In all the places you can, > At all the times you can, > To all the people you can, > As long as ever you can.” - John Wesley > *- > > > -- > *From:* Amit Gandhi > *To:* excel-macros@googlegroups.com > *Sent:* Fri, August 17, 2012 2:30:41 AM > *Subject:* $$Excel-Macros$$ MOST REPEATED NO > > Hi Experts > > If there is any formula which can calculate MOST REPEATED NO from a list? > Sample file attached. > > Pls help me here. > > Regards > > Amit > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > > > -- 'Expecting the world to treat u fairly coz u r a good person is like expecting the lion not to attack u coz u r a vegetarian. Think about it.' Take care Amit -- Join official facebook
RE: $$Excel-Macros$$ MOST REPEATED NO
Another solution is =Mode(rng) Regards Rajan verma +91 7838100659 [IM-Gtalk] From: Rajan_Verma [mailto:rajanverma1...@gmail.com] Sent: 17 August 2012 10:19 To: 'excel-macros@googlegroups.com' Subject: RE: $$Excel-Macros$$ MOST REPEATED NO If your list is Name is rng Without Array =INDEX(rng,MATCH(MAX(FREQUENCY(rng,rng)),FREQUENCY(rng,rng),0),0) With Array =SMALL(IF(COUNTIF(rng,rng)=MAX(COUNTIF(rng,rng)),rng,""),1) Regards Rajan verma +91 7838100659 [IM-Gtalk] From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of dguillett1 Sent: 17 August 2012 9:22 To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ MOST REPEATED NO Or, a macro to round b.. Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Sam Mathai Chacko <mailto:samde...@gmail.com> Sent: Friday, August 17, 2012 10:43 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ MOST REPEATED NO Or directly by rounding in the formula itself =ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),2 ),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2) Change the RED colored 2 to 3 for third most repeated number and so on And if you only need to get the second largest number, you can use a simpler formula =MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(IND IRECT("1:"&ROWS(B3:B21) Regards, Sam Mathai Chacko On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 wrote: Looks like homework to me also but this should do it AFTER rounding your column B into column A =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQ UENCY($A$3:$A$21,$A$3:$A$21),0)) Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Amit Gandhi <mailto:silkyro...@gmail.com> Sent: Friday, August 17, 2012 1:30 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ MOST REPEATED NO Hi Experts If there is any formula which can calculate MOST REPEATED NO from a list? Sample file attached. Pls help me here. Regards Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Sam Mathai Chacko -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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 qu
RE: $$Excel-Macros$$ MOST REPEATED NO
If your list is Name is rng Without Array =INDEX(rng,MATCH(MAX(FREQUENCY(rng,rng)),FREQUENCY(rng,rng),0),0) With Array =SMALL(IF(COUNTIF(rng,rng)=MAX(COUNTIF(rng,rng)),rng,""),1) Regards Rajan verma +91 7838100659 [IM-Gtalk] From: excel-macros@googlegroups.com [mailto:excel-macros@googlegroups.com] On Behalf Of dguillett1 Sent: 17 August 2012 9:22 To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ MOST REPEATED NO Or, a macro to round b.. Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Sam Mathai Chacko <mailto:samde...@gmail.com> Sent: Friday, August 17, 2012 10:43 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ MOST REPEATED NO Or directly by rounding in the formula itself =ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),2 ),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2) Change the RED colored 2 to 3 for third most repeated number and so on And if you only need to get the second largest number, you can use a simpler formula =MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(IND IRECT("1:"&ROWS(B3:B21) Regards, Sam Mathai Chacko On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 wrote: Looks like homework to me also but this should do it AFTER rounding your column B into column A =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQ UENCY($A$3:$A$21,$A$3:$A$21),0)) Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Amit Gandhi <mailto:silkyro...@gmail.com> Sent: Friday, August 17, 2012 1:30 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ MOST REPEATED NO Hi Experts If there is any formula which can calculate MOST REPEATED NO from a list? Sample file attached. Pls help me here. Regards Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Sam Mathai Chacko -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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 pro
Re: $$Excel-Macros$$ MOST REPEATED NO
Or, a macro to round b.. Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Sam Mathai Chacko Sent: Friday, August 17, 2012 10:43 AM To: excel-macros@googlegroups.com Subject: Re: $$Excel-Macros$$ MOST REPEATED NO Or directly by rounding in the formula itself =ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),2),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2) Change the RED colored 2 to 3 for third most repeated number and so on And if you only need to get the second largest number, you can use a simpler formula =MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(INDIRECT("1:"&ROWS(B3:B21) Regards, Sam Mathai Chacko On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 wrote: Looks like homework to me also but this should do it AFTER rounding your column B into column A =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQUENCY($A$3:$A$21,$A$3:$A$21),0)) Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Amit Gandhi Sent: Friday, August 17, 2012 1:30 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ MOST REPEATED NO Hi Experts If there is any formula which can calculate MOST REPEATED NO from a list? Sample file attached. Pls help me here. Regards Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to mailto:excel-macros%2bunsubscr...@googlegroups.com. -- Sam Mathai Chacko -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macr
Re: $$Excel-Macros$$ MOST REPEATED NO
Or directly by rounding in the formula itself =ROUND(INDEX(B3:B21,MATCH(LARGE(FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),2 ),FREQUENCY(ROUND(B3:B21,2),ROUND(B3:B21,2)),0)),2) Change the RED colored 2 to 3 for third most repeated number and so on And if you only need to get the second largest number, you can use a simpler formula =MODE(--SUBSTITUTE(ROUND(B3:B21,2),MODE(ROUND(B3:B21,2)),MAX(B3:B21)+ROW(INDIRECT("1:"&ROWS(B3:B21) Regards, Sam Mathai Chacko On Fri, Aug 17, 2012 at 7:07 PM, dguillett1 wrote: > Looks like homework to me also but this should do it AFTER rounding > your column B into column A > > > =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQUENCY($A$3:$A$21,$A$3:$A$21),0)) > > Don Guillett > Microsoft Excel Developer > SalesAid Software > dguille...@gmail.com > > *From:* Amit Gandhi > *Sent:* Friday, August 17, 2012 1:30 AM > *To:* excel-macros@googlegroups.com > *Subject:* $$Excel-Macros$$ MOST REPEATED NO > > Hi Experts > > If there is any formula which can calculate MOST REPEATED NO from a list? > Sample file attached. > > Pls help me here. > > Regards > > Amit > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > > > -- Sam Mathai Chacko -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.
Re: $$Excel-Macros$$ MOST REPEATED NO
Looks like homework to me also but this should do it AFTER rounding your column B into column A =INDEX($A$3:$A$21,MATCH(LARGE(FREQUENCY($A$3:$A$21,$A$3:$A$21),ROW(A1)),FREQUENCY($A$3:$A$21,$A$3:$A$21),0)) Don Guillett Microsoft Excel Developer SalesAid Software dguille...@gmail.com From: Amit Gandhi Sent: Friday, August 17, 2012 1:30 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ MOST REPEATED NO Hi Experts If there is any formula which can calculate MOST REPEATED NO from a list? Sample file attached. Pls help me here. Regards Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.
Re: $$Excel-Macros$$ MOST REPEATED NO
Is this homework? It sure looks like it. I think we've been getting a LOT of that lately, school must have begun! I SUPPOSE that school should be teaching how best to use resources at your disposal to accomplish a task, and this forum is DEFINITELY a valuable resource, so... First of all, you've asked this question in a forum for Excel MACROS, not EXCEL Users. That is, this group is primarily for providing assistance with writing VBA macros for Excel. But most of us have "some" experience with Excel functions. -- In Statistics, there are three (or more) numeric values of importance: Mode, Median, Mean Mean is the Average, Median is the number in the "middle" of the series. Mode is the value most repeated. Excel 2010+ had three variations of this: Mode (used for backward compatibility to Excel 2007) Mode.SNGL Mode.MULT To get the most repeated number, you COULD use: =Mode(B3:B21) or =Mode.sngl(B3:B21) But your numbers don't actually repeat. That's because you may SEE a couple of values like 1.32, but they are actually 1.31853816584186 1.32496254963853 So you need to round them (to 2 decimal places) =MODE.SNGL(ROUND(B3:B21,2)) That should give you the most repeated number. Now, for the second, you should be able to use: =Mode.Mult(round(B2:B21,2)) as an array function, then, use: index(mode.mult(round(B2:B21,2))) as an array function, but I haven't been able to get it to work. Perhaps this is enough to get you pointed in the right direction? Paul - “Do all the good you can, By all the means you can, In all the ways you can, In all the places you can, At all the times you can, To all the people you can, As long as ever you can.” - John Wesley - From: Amit Gandhi To: excel-macros@googlegroups.com Sent: Fri, August 17, 2012 2:30:41 AM Subject: $$Excel-Macros$$ MOST REPEATED NO Hi Experts If there is any formula which can calculate MOST REPEATED NO from a list? Sample file attached. Pls help me here. Regards Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com. -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.
Re: $$Excel-Macros$$ MOST REPEATED NO
Hi Kuldeep Its not working. Pls show example in sample file. Regards Amit On Fri, Aug 17, 2012 at 12:08 PM, Kuldeep Singh wrote: > > You can try this. > > =COUNTIF(B3:B21,B3)>1 > > Regards, > Kuldeep Singh > Phone.: +91-120-4763789, Extn.: 789 > naukrikuld...@gmail.com || www.naukri.com > *Please* *Consider the environment. Please don't print this e-mail unless > you really need to.* > > > On Fri, Aug 17, 2012 at 12:00 PM, Amit Gandhi wrote: > >> Hi Experts >> >> If there is any formula which can calculate MOST REPEATED NO from a list? >> Sample file attached. >> >> Pls help me here. >> >> Regards >> >> Amit >> >> >> -- >> Join official facebook page of this forum @ >> https://www.facebook.com/discussexcel >> >> FORUM RULES (1120+ 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. >> >> 6) Jobs posting is not allowed. >> >> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. >> >> NOTE : Don't ever post personal or confidential data in a workbook. Forum >> owners and members are not responsible for any loss. >> --- >> You received this message because you are subscribed to the Google Groups >> "MS EXCEL AND VBA MACROS" group. >> To post to this group, send email to excel-macros@googlegroups.com. >> To unsubscribe from this group, send email to >> excel-macros+unsubscr...@googlegroups.com. >> > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > > > -- 'Expecting the world to treat u fairly coz u r a good person is like expecting the lion not to attack u coz u r a vegetarian. Think about it.' Take care Amit -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.
Re: $$Excel-Macros$$ MOST REPEATED NO
You can try this. =COUNTIF(B3:B21,B3)>1 Regards, Kuldeep Singh Phone.: +91-120-4763789, Extn.: 789 naukrikuld...@gmail.com || www.naukri.com *Please* *Consider the environment. Please don't print this e-mail unless you really need to.* On Fri, Aug 17, 2012 at 12:00 PM, Amit Gandhi wrote: > Hi Experts > > If there is any formula which can calculate MOST REPEATED NO from a list? > Sample file attached. > > Pls help me here. > > Regards > > Amit > > > -- > Join official facebook page of this forum @ > https://www.facebook.com/discussexcel > > FORUM RULES (1120+ 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. > > 6) Jobs posting is not allowed. > > 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. > > NOTE : Don't ever post personal or confidential data in a workbook. Forum > owners and members are not responsible for any loss. > --- > You received this message because you are subscribed to the Google Groups > "MS EXCEL AND VBA MACROS" group. > To post to this group, send email to excel-macros@googlegroups.com. > To unsubscribe from this group, send email to > excel-macros+unsubscr...@googlegroups.com. > -- Join official facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES (1120+ 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. 6) Jobs posting is not allowed. 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed. NOTE : Don't ever post personal or confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To post to this group, send email to excel-macros@googlegroups.com. To unsubscribe from this group, send email to excel-macros+unsubscr...@googlegroups.com.