+ Reply to Thread
Results 1 to 3 of 3

Pulling rows of data - leave it blank if there is no data to pull

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Pulling rows of data - leave it blank if there is no data to pull

    I'm pulling rows of data from one worksheet to another (both in the same workbook). I'm using this formula:

    =IFERROR(INDEX('Password is cash bank'!A6:A43,ROW('Password is cash bank'!$F$3:$F$40)-ROW('Password is cash bank'!$F$3)+1),ROWS(A$1:A4))

    which is working fine BUT the blank rows at the bottom of the spreadsheet are being filled with zeroes. How do I tell it to just leave the rows blank until more data is available?

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Pulling rows of data - leave it blank if there is no data to pull

    The simplest is go into your File > Options > Advanced > Display options for this worksheet > Show a zero and disable that.

    http://screencast.com/t/6Zp9YZ6l2x
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    04-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Pulling rows of data - leave it blank if there is no data to pull

    It worked! Thanks so much.

+ 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] Eliminate blank rows when pulling criteria based data from one spreadsheet to another
    By Terisammis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-28-2014, 10:39 AM
  2. Replies: 0
    Last Post: 02-12-2014, 04:46 PM
  3. [SOLVED] Way to pull in new data from web and leave the old?
    By tommypkoch in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2013, 09:46 AM
  4. [SOLVED] Simple pull exact text from cell, if blank it pulls up a 0. How to leave it as blank?
    By sharpmel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2012, 02:20 PM
  5. Replies: 1
    Last Post: 05-19-2011, 09:53 AM

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