+ Reply to Thread
Results 1 to 2 of 2

Is it possible to have small array consisting of two different rows of values?

  1. #1
    Registered User
    Join Date
    03-13-2010
    Location
    Bakersfield, California
    MS-Off Ver
    Excel 2003
    Posts
    31

    Is it possible to have small array consisting of two different rows of values?

    Hello.

    I'm curious if i can pull a small value out of two sperate rows within one array?

    Right now i'm using:

    =SMALL(IF(F42:AS42=0,0,F42:AS42),1) in cell ax147
    =SMALL(IF(F42:AS42=0,0,F42:AS42),2) in cell ax148

    and then

    =SMALL(IF(F112:AS112=0,0,F112:AS112),1) in cell ax149
    =SMALL(IF(F112:AS112=0,0,F112:AS112),2) in cell ax150

    and then to get the top three

    I'm pulling the Small 1 , 2 , 3 from range ax147:ax150

    Is there a way to look for smallest in both F42:AS42 AND F112:AS112 all in one array?

    That'd really help take out a ton of code! And elmininate a problem i'm having with my top 3 not showing up intil i have #'s for all 4 values!!

    Thanks!! I really hope theres a way to search both rows at once

    :P

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Is it possible to have small array consisting of two different rows of values?

    You can have something like:

    Please Login or Register  to view this content.
    Which would need to be confirmed with CTRL+SHIFT+ENTER not just ENTER

    If you are looking to avoid 0 as minimum, try:
    Please Login or Register  to view this content.
    it's almost better to stick with your original method though... although I think you only need =SMALL(F42:AS42,1)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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