Solved

Median, Mode, and smallest value in a listbox

Posted on 2006-11-03
1
342 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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