Results 1 to 15 of 15

Get rid of empty cells while using formula

Threaded View

  1. #7
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Very simple formula needed!

    nicholes,

    Attached is an example workbook based on the screenshot provided and criteria described.
    In cell D1 is a drop down list containing A and B.
    In cell D3 and copied down to D7 is this array formula. Array formulas must be confirmed with Ctrl+Shift+Enter and not just enter:
    =IFERROR(INDEX($A$3:$A$13,SMALL(IF($B$3:$B$13=$D$1,ROW(INDIRECT("1:"&COUNTA($A$3:$A$13)))),ROW(1:1))),"")


    A simpler alternative solution that provides the same results, is a pivot table, which is shown in column G.
    Attached Files Attached Files
    Last edited by tigeravatar; 04-05-2012 at 01:55 PM.
    Hope that helps,
    ~tigeravatar

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

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