+ Reply to Thread
Results 1 to 7 of 7

Deleting blank rows in a table that occur from an IF function

  1. #1
    Registered User
    Join Date
    03-14-2017
    Location
    Liverpool, England
    MS-Off Ver
    2013
    Posts
    9

    Deleting blank rows in a table that occur from an IF function

    I have two tables in separate tabs.

    The first holds all information about my projects with a column with a yes/no option. Those that fulfil the yes criteria are fed into my second table via an IF formula. However, this means that those that ='no' show but as blank cells.

    Is there a way of transferring over the data I need whilst ignoring the blanks? Or perhaps something I can do afterwards to delete the blanks as new data is filtered in?

    Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: Deleting blank rows in a table that occur from an IF function

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    03-14-2017
    Location
    Liverpool, England
    MS-Off Ver
    2013
    Posts
    9

    Re: Deleting blank rows in a table that occur from an IF function

    I have attached an example but not the actual.
    Attached Files Attached Files

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

    Re: Deleting blank rows in a table that occur from an IF function

    Try the following:
    1) Select Sheet2!C3,
    2) Paste the following formula into the formula bar:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    3) Double click the fill handle to copy down to C29,
    4) With the range C3:C29 still selected, pull the fill handle of C29 across to E29.
    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.

  5. #5
    Registered User
    Join Date
    03-14-2017
    Location
    Liverpool, England
    MS-Off Ver
    2013
    Posts
    9

    Re: Deleting blank rows in a table that occur from an IF function

    Thank you, this works in my example sheet. However my actual sheet has tables starting in A7. Could you advise on how to edit the formula to suit as I can't seem to get it to work.

  6. #6
    Registered User
    Join Date
    03-14-2017
    Location
    Liverpool, England
    MS-Off Ver
    2013
    Posts
    9

    Re: Deleting blank rows in a table that occur from an IF function

    It is working now. Thank you.

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

    Re: Deleting blank rows in a table that occur from an IF function

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.

+ 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. Deleting blank rows
    By Geordie in forum Excel General
    Replies: 5
    Last Post: 05-09-2013, 09:24 AM
  2. Changing code from deleting rows to cut/paste rows into another sheet and delete blank row
    By kmarshall6576 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2013, 01:54 AM
  3. Deleting blank rows
    By Yvette in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2006, 05:35 AM
  4. [SOLVED] Deleting Blank Rows
    By Reeni in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-14-2005, 10:00 PM
  5. Deleting Blank Rows
    By MWS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-21-2005, 02:40 PM
  6. [SOLVED] Problem occur in sum function while deleting the rows
    By Ellis Yu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-25-2005, 10:05 PM
  7. Deleting blank rows
    By Alan M in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-26-2005, 10:06 AM
  8. [SOLVED] Deleting blank rows
    By Michael Chang in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2005, 11:06 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