Results 1 to 3 of 3

How to find the median value in textboxes

Threaded View

  1. #1
    Registered User
    Join Date
    04-27-2016
    Location
    Philippines
    MS-Off Ver
    MS Office 2016
    Posts
    28

    Unhappy How to find the median value in textboxes

    Hello,

    Can someone help to find the median value ignoring the blanks/skipping ZERO in textboxes in userform

    I tried this code but it does not show any value.

    Dim mid As Variant
    mid = Array(Me.C1, Me.C2, Me.c3, Me.C4, Me.C5, Me.C6, Me.C7, Me.C8, Me.C9)
    If IsnNumeric(mid) Then
    Me.C11= Application.WorksheetFunction.Median(Val(mid))
    End If
    Last edited by Leith Ross; 11-26-2016 at 02:11 AM. Reason: Added Code Tags

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Find Key Word, Then Find Min, Max & Median Values
    By mycon73 in forum Excel General
    Replies: 16
    Last Post: 03-21-2016, 02:06 AM
  2. [SOLVED] Find Median of an array
    By Sean Thomas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2015, 06:06 AM
  3. [SOLVED] Find Median for a given month
    By linok in forum Excel General
    Replies: 13
    Last Post: 03-05-2015, 04:50 AM
  4. Median Indirect: Find median in range and bring back adjacent cells
    By Keelin in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-27-2014, 08:31 AM
  5. Find a Median Point along a Row
    By nyiballs in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-11-2014, 03:02 PM
  6. [SOLVED] Median Ifs, need to find median $ amount per deal for each year
    By xenomorph8472 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2012, 02:01 PM
  7. How do find Median of a set of totals and find the relating grade
    By whitespaces in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-12-2006, 11:16 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1