Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: MEDIAN

  1. #11
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Yogi,

    Did you copy the data from the post? If so, you have the $- (blanks in the OP's terms) being treated as text, which is ignored with the MEDIAN function. That is why the problem is the zero values and not the FALSE cells.

    Change the $- to zero and you should get 27.45.

    Regards,
    Jay
    Hi Jay:
    Ya! you are right Jay ... I had copied and pasted from the board!



    [ This Message was edited by: Yogi Anand on 2002-04-11 10:53 ]

  2. #12
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,648
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-04-11 10:35, gronkette1 wrote:
    You guys are the greatest!!!

    I used {=MEDIAN(IFL4:L41<>0,L4:L41))}

    and it returned $27.92

    thank you, thank you!
    Now try:

    =MEDIAN(IF(L4:L41,L4:L41))

    array-entered.

    If it gives you #VALUE!, then you have blanks in L4:L41 which are generated by a formula.

    If you change that formula to return 0 instead of "", the above formula will you the desired result.

    Aladin




Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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