Solved

Median, Mode, and smallest value in a listbox

Posted on 2006-11-03
1
337 Views
Last Modified: 2010-04-23
I am trying to calculate the median, and mode using a listbox that contains salary values. The are referenced to seperate Subs on the form. One calculates the mean of the listbox (lstsalaries) and the second calculates the mode(of lstSalaries) and the last one calculates the smallest salary in the list. I know that a sorted list will help but, I have absolutely no idea what the syntax of the code will be. I am new to VB and help would be greatly appreciated.
Thank you,
Volunteer2
0
Comment
Question by:volunteer2
1 Comment
 
LVL 19

Accepted Solution

by:
VoteyDisciple earned 500 total points
ID: 17872055
I Googled "VB Mean Median Mode" and found in the second slot: http://abstractvb.com/code.asp?A=1031
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now