+ Reply to Thread
Results 1 to 8 of 8

Displaying Multiple Values without using Macros or ROWS function

  1. #1
    Registered User
    Join Date
    03-29-2007
    Posts
    8

    Displaying Multiple Values without using Macros or ROWS function

    Hello Gurus out there,

    I am working with a software itself doesn't support Macros and ROWS function.

    My Goal:
    is to display a set of data based on filtered information.

    My Data base:
    Company Department Name
    A X John
    A Y Joe
    A X Jane
    B Y Bob
    C Z Kate
    A X Kerri

    Based on user selection of Company and Department, I want to be able to display the relavent names.

    If user chose Company A, and Department X, I want to be able to display
    John
    Jane
    Kerri


    I've used the ROWS, Index, Small combination that works perfectly (Please see sample below). However, since the this software doesn't support the ROWS function, and doesn't support Macros, I am stuck. Can anyone provide any alternatives to this? Your help is highly appreciated.

    Sample Formula
    IF($B$2="Company",IF(ROWS(C$15:C15)<$B$14,INDEX('Department!$F$3:$F$691,SMALL(IF('Department!$B$3:$B$691=$B$11,ROW(Department!$F$3:$F$691)-ROW('WW DELMIA HC ROSTER 2009'!$F$3)+1),ROWS(C$15:C15))),""),IF(ROWS(C$15:C15)<$B$14,INDEX('Department!$F$3:$F$691,SMALL(IF('Department!$A$3:$A$691=$B$11,ROW('Department!$F$3:$F$691)-ROW('Department!$F$3)+1),ROWS(C$15:C15))),""))
    Last edited by ltzhao; 03-16-2009 at 09:16 AM.

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

    Re: Displaying Multiple Values without using Macros or ROWS function

    Since it seems you can support ROW(), then replace ROWS(C$15:C15) with ROW(C15)-ROW($C$15)+1

    e.g.
    Please Login or Register  to view this content.
    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.

  3. #3
    Registered User
    Join Date
    03-29-2007
    Posts
    8

    Re: Displaying Multiple Values without using Macros or ROWS function

    Sorry about the double post, I don't know what happened there.

    Anyway, sorry I didn't make it clearer. The software doesn't support ROWS() or ROW() functions. Do you know another way around it?

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Displaying Multiple Values without using Macros or ROWS function

    Well, without the rows function, you need a helper column in your data watching your filter criteria and a prefilled out set of numbers to match against.

    This sheet will fill out names and stop when the Key values are maxxed.

    Functions:
    CONCATENATE
    MAX
    INDEX/MATCH
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Displaying Multiple Values without using Macros or ROWS function

    One way could be to create a helper column in the sheet say in column AA.

    Enter the number 1 in AA1 and fill down to 691 in AA691

    Then use formula:

    Please Login or Register  to view this content.
    Last edited by NBVC; 03-13-2009 at 11:59 PM. Reason: Fixed some incorrect referencing...

  6. #6
    Registered User
    Join Date
    03-29-2007
    Posts
    8

    Thumbs up Re: Displaying Multiple Values without using Macros or ROWS function

    Hello, JBeaucaire, NBVC,

    Thank you so much for your help. Using both of your suggestions, I got around the problem. It is not pretty, and it will require some manual manipulation due to some other restrictions from the reporting software, but at least it is working. I had to use Max(), Match(), Index() functions, as well as a helper column to get around it. The formula is not as **** as I want it to be, but what can you do.

    Thanks again for your help, it is highly appreciated.

  7. #7
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Displaying Multiple Values without using Macros or ROWS function

    If that takes care of your need, be sure to EDIT your original post (Go Advanced) and mark the PREFIX box [SOLVED]

  8. #8
    Registered User
    Join Date
    03-29-2007
    Posts
    8

    Re: Displaying Multiple Values without using Macros or ROWS function

    I think I did it. Thanks once again for everyone's help.

+ 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