Results 1 to 8 of 8

LOOKUP and "nesting" IF formula troubles

Threaded View

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

    Re: LOOKUP and "nesting" IF formula troubles

    See attached for a proposal...

    I added a helper column to Workbook 1 (column D)

    In D9:

    =MATCH(TRUE,INDEX($F9:$I9<0,0),0)
    copied down

    Then in Workbook 2:

    In E20:

    =IF(ROWS($E$20:$E20)>SUMPRODUCT(--ISNUMBER($D$9:$D$13)),"",INDEX($E$9:$E$13,SMALL(IF(ISNUMBER($D$9:$D$13),ROW($E$9:$E$13)-ROW($E$9)+1),ROWS($E$20:$E20))))
    which is confirmed with CTRL+SHIFT+ENTER not just ENTER. Then copied down

    In F20:

    =IF(E20="","",INDEX($F$8:$I$8,INDEX($D$9:$D$13,MATCH(E20,$E$9:$E$13,0))))
    copied down

    In G20:

    =IF(E20="","",INDEX($F$9:$I$13,MATCH(E20,$E$9:$E$13,0),INDEX($D$9:$D$13,MATCH(E20,$E$9:$E$13,0))))
    copied down

    These formulas can be adjusted to suit your "real ranges"
    Attached Files Attached Files
    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.

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