+ Reply to Thread
Results 1 to 7 of 7

Row function alternative

  1. #1
    Registered User
    Join Date
    03-19-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    4

    Row function alternative

    Hello,

    We have a requirement to find multiple rows for a given value. I was able to achieve this using this array formula :

    [ =IF(ROWS(A$15:A15)<=$I$2,INDEX(A$2:A$7,SMALL(IF($A$2:$A$7=$I$1,ROW($D$2:$D$7)-ROW($D$2)+1),ROWS(A$15:A15))),"") ].

    But we are using dashboards and it doesn't support the ROW/S function. Searching it's alternatives from what I understood it's best to use INDEX/MATCH function. I am not very proficient with Excel so if this formula can be re-written with index/match or any other function without rows .

    This is the requirement : Lookup is the value which is match against the records on the table to left and results are show in the result rows . Now I want to achieve this without using the ROW/S function.

    Thanks

    Lookup Mickey
    Count 3

    Name Class Roll Marks

    Mickey 5 13 60
    Anil 7 14 70
    Sumit 5 90 80
    Mickey 8 27 99
    Mickey 9 88 8
    Anil 9 78 9

    Result Rows

    Name Class Roll Marks
    Mickey 5 13 60
    Mickey 8 27 99
    Mickey 9 88 8
    Last edited by mv85275; 03-19-2015 at 06:16 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,094

    Re: Row function alternative

    In the first line: are 5 13 & 60 in separate cells or one? Much easier if you attach a worksheet!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Row function alternative

    If you want to use-I added sample excel files (without row/s function)

    For example : Write in F1 cell (Mickey)
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-19-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    4

    Re: Row function alternative

    Hi @Glenn Kennedy,

    Attaching the Excel File.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-19-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    4

    Re: Row function alternative

    Quote Originally Posted by Ali Kırksekiz View Post
    If you want to use-I added sample excel files (without row/s function)

    For example : Write in F1 cell (Mickey)
    Hi Ali,

    Thanks so much and if you can please explain the logic that you have used as I have to map this logic elsewhere also .

  6. #6
    Registered User
    Join Date
    03-19-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    4

    Re: Row function alternative

    Quote Originally Posted by Glenn Kennedy View Post
    In the first line: are 5 13 & 60 in separate cells or one? Much easier if you attach a worksheet!!
    Hi @Glenn Kennedy,

    Attaching the Excel File.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Row function alternative

    G1 must house a 0.

    F1 must house find what text

    G3, copied across then down

    =IF(A3=$F$1,LOOKUP(9.99999999999999E+307,$G$1:G2)+1,"")

    With Above formula , you can find unique value. You’ll see number in range G column

    I1 copied

    LOOKUP(9.99999999999999E+307,$G$1:G100)

    9.99999999999999E+307 is the largest positive number Excel knows

    By the help of this formula, We can find last numerical value from range

    You can use =MAX($G$1:G100) instead of LOOKUP(9.99999999999999E+307,$G$1:G100)
    If you can’t use row/rows function, You must manually write the numbers ( For J column 1 ,2 ,3, 4 …etc)

    Definition of give chapter and verse for INDEX and MATCH formulas,

    http://www.contextures.com/xlFunctions03.html

+ 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. Address & Match function together (there may be an alternative function)
    By Sashulik in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2014, 05:39 AM
  2. [SOLVED] IF Function, or alternative?
    By patrick198uk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2013, 12:01 PM
  3. Using IF or alternative function
    By jb2235 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2013, 01:27 PM
  4. VB alternative to if function?
    By markellis88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2009, 06:19 AM
  5. Alternative for IF-Then-Else function
    By telebat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-21-2008, 09:20 PM

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