+ Reply to Thread
Results 1 to 3 of 3

Median for Sheets of Data

  1. #1
    Registered User
    Join Date
    10-07-2014
    Location
    Singapore, Singapore
    MS-Off Ver
    2007
    Posts
    6

    Median for Sheets of Data

    Hi All,

    Please excuse me, I will try my best to explain my problem as detailed as possible.

    I have a several sheets of data which needs processing to find the Median of the Column (2 parts).

    The Columns are split into 2 parts.
    First part is from Row 2 to the Row above "4th" is located (refer to Column G).
    Second part is from the Row where "4th" is located to the end of the Column.

    So currently, I need to do a search for this "4th" in Column G, and do a Median for the first half, then do a Mean for the second half. All these are done manually, but I have 200 sheets to process. The problem is that the "4th" is in a different Row in every sheet. Is there a macro or program which can find the "4th", then calculate the first part and the second part?

    Let me know if you need more information. I have attached a sample file for your testing.

    Thank you so much!
    Median Problem.xls

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Median for Sheets of Data

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    10-07-2014
    Location
    Singapore, Singapore
    MS-Off Ver
    2007
    Posts
    6

    Re: Median for Sheets of Data

    Hi AlphaFrog,

    Thank you for your speedy reply. Appreciate it.

    But I have another problem now, how do I use the code? Do I need to have MS Access or something?

    I apologise for my ignorance, this is the first time I am using codes in Excel.

    I feel embarrassed.

    Best Regards.

    [Edit]I think I found where to input the codes. Thanks!! [/Edit]
    Last edited by meffin13; 10-08-2014 at 02:29 AM. Reason: Found the coding area

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. 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
  2. Counting monthly data median from 5 year data
    By Mantask in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-05-2013, 08:24 PM
  3. [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
  4. [SOLVED] Calculate Median of data that falls between two different data ranges
    By cameron.beyers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-22-2012, 12:46 PM
  5. Median from only specific data
    By jjbaldrock in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-19-2005, 12:18 AM

Tags for this Thread

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