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 <silkyro...@gmail.com>
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.


Reply via email to