+ Reply to Thread
Results 1 to 7 of 7

Removing cells with certin value

  1. #1
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Removing cells with certin value

    Hello!

    I have a table A1:D10 (all cells are results from IF function).

    I need excel to generate table where all cells with value 'FALSE' are removed. It should look like table F1:I2.

    I know that one option would be copy - paste values - find 'FALSE' - delete all shift cells up, however I need this process to happen automatically.

    Any suggestions?

    Screenshot_148.jpg

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Removing cells with certin value

    Try this in F1:

    =IFERROR(INDEX(A:A,SMALL(IF(A$1:A$100<>FALSE,ROW(A$1:A$100)),ROWS($1:1))),"") Ctrl Shift Enter

    Drag the formula through I1 and then down as far as needed.

  3. #3
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Re: Removing cells with certin value

    Quote Originally Posted by 63falcondude View Post
    Try this in F1:

    =IFERROR(INDEX(A:A,SMALL(IF(A$1:A$100<>FALSE,ROW(A$1:A$100)),ROWS($1:1))),"") Ctrl Shift Enter

    Drag the formula through I1 and then down as far as needed.
    looks like its working. thank you.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Removing cells with certin value

    You're welcome. Happy to help.

  5. #5
    Registered User
    Join Date
    07-25-2017
    Location
    Latvia
    MS-Off Ver
    MS Office 2010
    Posts
    91

    Re: Removing cells with certin value

    Since the database is quite large, it would do this function for apx 7000 cells and calculating takes much time and sometimes glitches. Any alternative formulas? As I understand ctrl+shift+enter is the thing that slows it down.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,670

    Re: Removing cells with certin value

    Since you are using the 2010 version of Excel and since you have an approximate number of rows for which you need to apply the formula, you might try the following modification of 63's formula that does not require Ctrl+Shift+Enter to confirm:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Removing cells with certin value

    You could also do this with a bunch of helper columns (1 for each column of data), that would test for "non-false" and generate a series of numbers, that a regular INDEX() would use
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Replies: 3
    Last Post: 09-21-2015, 08:43 AM
  2. If certin letters in one cell, use an absolute value from another cell
    By DSummerfield in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-08-2012, 04:49 PM
  3. which function to return only rows where column has certin value
    By ironoverload in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2009, 09:42 AM
  4. Copy data from one column to another based off certin critera
    By rudolphe in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2009, 05:18 PM
  5. Save file with certin Criteria
    By parteegolfer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2006, 12:26 AM
  6. [SOLVED] how to run a macro when a calculation equals a certin number
    By Kevin Jones in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-25-2005, 05:05 PM
  7. data entry on certin dates
    By n0 h4ck1ng in forum Excel General
    Replies: 1
    Last Post: 08-14-2005, 11: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