+ Reply to Thread
Results 1 to 3 of 3

How to copy blank cells but not return '0'

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    How to copy blank cells but not return '0'

    I want to copy cells from another worksheet, but if there are empty cells in the worksheet I am copying from, then it registers as a '0' in the worksheet the data is copied to.

    In Worksheet A, A1 is empty, but when i use ='A'!A1, A1 in worksheet 2 is '0'

    How can I get Excel to leave cells in both worksheets empty?

  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: How to copy blank cells but not return '0'

    Hi

    Try

    =IF(A!A1="","",A!A1)
    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-02-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: How to copy blank cells but not return '0'

    thanks, it worked!

    While I was waiting for someone to reply, I just figured out that I needed a rank formula that ignored blank cells.

    Also,

    Will a blank-cell-ignoring rank formula work with my current descending formula which ignores '0's

    =OFFSET(S$6,MATCH(SMALL(V$6:V$25,ROW()-ROW(V$6)+1),V$6:V$25,0)-1,0)

    or will I have to get a new descending rank formula that ignores blank cells instead?

+ 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