+ Reply to Thread
Results 1 to 3 of 3

Formula with multi-cell answers

Hybrid View

  1. #1
    Registered User
    Join Date
    04-15-2007
    Location
    Seattle, Washington
    Posts
    1

    Formula with multi-cell answers

    Hello!

    IF(C3=E24:E100,D24:D100,A1)

    Simple if then formula, however, I have multiple answers. I was wondering if I could get all of the answers to be displayed over the same amount of cells... Its for a program list for swimming class. The C3 = program number, E24:E100 = all program numbers, and D24:D100 = Names. Obviously with the above code I get a #value error. Since I can't have multiple answers. Is there a way to resolve this?

    Thank you!

    FrznWltDsny

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    In any column starting in row 1 (say F1) array enter (ctrl, shift, enter) the formula

    =IF(ROW()>COUNTIF($E$24:$E$100,$C$3),"",INDEX($D$24:$D$100,SMALL(IF($E$24:$E$100=$C$3,ROW($E$24:$E$100)-23),ROW())))

    Copy and paste down as required.


    HTH

    rylo

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by FrznWltDsny
    Hello!

    IF(C3=E24:E100,D24:D100,A1)

    Simple if then formula, however, I have multiple answers. I was wondering if I could get all of the answers to be displayed over the same amount of cells... Its for a program list for swimming class. The C3 = program number, E24:E100 = all program numbers, and D24:D100 = Names. Obviously with the above code I get a #value error. Since I can't have multiple answers. Is there a way to resolve this?

    Thank you!

    FrznWltDsny
    see the attached file.
    Attached Files Attached Files

+ 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