+ Reply to Thread
Results 1 to 6 of 6

Function returning cells containing text and omitting blank cells.

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Function returning cells containing text and omitting blank cells.

    Hey everyone,

    I am very new to excel and have a question, which soem of you migth consider as quite basic and silly. I have tried to resolve it for over 3 hours now and miserably failed...

    Situation:
    Column which contains references to other worksheet within the excel workbook, and which gives two different types of output:
    a) blank cell (however it contains a formula)
    b) cell containg text (generated using a formula)

    Objective:
    Obtain a list of cells containing text only (i.e. omitting "blank" cells)

    I have already tried using the sollution suggested here: http://www.excelforum.com/excel-form...m-a-range.html.
    However, it has not worked. I think that it is because my "blank cells" are not really "blank" as they contain references to formulas in different spreadsheets of excel. When i deleted formulas in my "blank cell" it did work, but I need to keep them.

    Any ideas?
    example.xlsx

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Function returning cells containing text and omitting blank cells.

    There are not silly questions.. Only silly people that they believe that they know everything.

    To your issue now.

    I believe that in your case best way is to continue using that simple formula and use Custom Sorting option to get your results.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    07-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Function returning cells containing text and omitting blank cells.

    Thanks Fotis,

    the issue is however that I need to keep it dynamic and automated (project)so that when other people insert some inputs and click F9 it gets automaticaly updated.

    Do you any function that I could use to obtain the same results?

    Thanks

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Function returning cells containing text and omitting blank cells.

    Hi
    You can use a filter to do this. Highlight the range you want to filter and then click on the filter button and untick the blank option. Even though some cells have formulae they will be ignored if they have no value.
    Hope this helps.
    Good luck.
    Tony

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Function returning cells containing text and omitting blank cells.

    Of course we can do this using formula but i tried to suggest the simplest way. So in B6 and copy down, use this ARRAY formula.

    =IFERROR(INDEX(Input!$I$4:$I$20,SMALL(IF(Input!$G$4:$G$20=1,ROW(Input!$I$4:$I$20)-3),ROW(Input!I1))),"")


    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.

  6. #6
    Registered User
    Join Date
    07-25-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Function returning cells containing text and omitting blank cells.

    It all works as it is supposed to! Thank you!

+ 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. omitting blank cells
    By seanrigby in forum Excel General
    Replies: 3
    Last Post: 10-27-2009, 12:47 AM
  2. Omitting blank cells in an average fomula
    By fireguy7 in forum Excel General
    Replies: 1
    Last Post: 10-13-2009, 06:31 PM
  3. returning blank cells in an IF function
    By Squeky in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2006, 10:00 PM
  4. omitting blank cells
    By daufoi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2005, 03:02 AM
  5. List not omitting blank cells....??
    By malik641 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-06-2005, 12:05 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