Consulting

Results 1 to 4 of 4

Thread: Solved: Min of 4 Nos,returning >0 values

  1. #1
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location

    Solved: Min of 4 Nos,returning >0 values

    Hi ! I have a spreadsheet with numbers in 4 columns e,h,j &l. I need to write a function that will return the minimum of these numbers in say column N while ignoring blank values, symbols and zeros and returning a positive number. Please help me out.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Haven't we already done this one to death?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Aug 2008
    Posts
    48
    Location
    i know.. i'm sorry about this..... but this this time the columns aren't evenly spaced out... wasnt sure on how i could modify the previous formula to work for this... i'm dealing witha lot of data, so formatting it becomes a bit cumbersome....

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    =MIN(IF(ISNUMBER(N(OFFSET(E1,0,{0,3,5,7},1,1))),IF(N(OFFSET(E1,0,{0,3,5,7}, 1,1))>0,N(OFFSET(E1,0,{0,3,5,7},1,1)))))
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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