+ Reply to Thread
Results 1 to 4 of 4

Ignoring blank cells when linking data between excel worksheets

  1. #1
    Registered User
    Join Date
    08-13-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    5

    Ignoring blank cells when linking data between excel worksheets

    I am using Excel 2010 and I am linking data between worksheets in a workbook:

    ='Sheet1'!J3

    I am in Sheet 2 copying data from cell J3 in Sheet 1

    Some of the cells on Sheet 1 in this (and other columns) have blank cells, if for example the column has dates, if there is no date then the formula (='Sheet1'!J3) returns 1/0/1900, if there is text in the field then the formula returns a 0.

    what can I add to ='Sheet1'!J3 to ignore blank cells

    I tried this and it does not work:

    =('RAW DATA'!J2,IF('RAW DATA'!J2="", ""))

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Ignoring blank cells when linking data between excel worksheets

    Hi,

    Perhaps

    =IF('RAW DATA'!J2,="","",'RAW DATA'!J2)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    08-13-2012
    Location
    Dallas, Tx
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Ignoring blank cells when linking data between excel worksheets

    That does not work

    ---------- Post added at 05:00 PM ---------- Previous post was at 04:59 PM ----------

    Excel is looking for a True, False in the formula when I try it

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Ignoring blank cells when linking data between excel worksheets

    Sorry, a rogue "," crept in there.

    Use

    =IF('Raw Data'!J2="","",'Raw Data'!J2)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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