+ Reply to Thread
Results 1 to 5 of 5

Extract Values in a Column Excluding Blanks

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Extract Values in a Column Excluding Blanks

    Looking for formula (non-array preferable) to extract values in column B into column C (desired results) excluding blanks.

    See attached sample file. Thanks.
    Attached Files Attached Files

  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 2406
    Posts
    44,662

    Re: Extract Values in a Column Excluding Blanks

    One way:

    =IFERROR(INDEX(B:B,AGGREGATE(15,6,ROW($B$2:$B$100)/($B$2:$B$100<>""),ROWS(C$2:C2))),"")
    Attached Files Attached Files
    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

  3. #3
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Extract Values in a Column Excluding Blanks

    Glenn Kennedy: can I start this INDEX(B:B from INDEX($B$2:$B$100 instead of INDEX(B:B? Thanks.

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

    Re: Extract Values in a Column Excluding Blanks

    Yes, by the additionof a couple of steps:

    =IFERROR(INDEX($B$2:$B$100,AGGREGATE(15,6,ROW($B$2:$B$100)-ROW($B$2)+1/($B$2:$B$100<>""),ROWS(C$2:C2))),"")

  5. #5
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,012

    Re: Extract Values in a Column Excluding Blanks

    Glenn Kennedy: Excellent solution. Thanks a lot.

+ 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. [SOLVED] Extract list excluding blanks
    By carlito2002wgn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-15-2020, 08:31 AM
  2. [SOLVED] Forumla to countIF in everyother column excluding blanks
    By excelwizard29 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-04-2020, 05:55 AM
  3. [SOLVED] Formula to Extract a List Excluding Blanks
    By chotosiete in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-16-2019, 05:47 AM
  4. Find all unique values based on multiple criteria, excluding blanks
    By Tamarissa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-29-2018, 08:12 PM
  5. [SOLVED] Extract a list from a column - excluding blanks
    By bungaree in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-17-2015, 03:48 AM
  6. Transposing column range to row while excluding blanks
    By jkhereford in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-15-2012, 12:33 PM
  7. Averaging Text box values excluding blanks in VBA
    By nhannigan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-28-2010, 03:29 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