Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8845009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T11:37:55+00:00 2026-06-14T11:37:55+00:00

In Excel 2007: I want to copy over values in SHEET2 so that it

  • 0

In Excel 2007:
I want to copy over values in SHEET2 so that it is identical to Sheet1
I am doing it with:

=(SHEET1!B1)

This has the side effect of copying a 0 instead of an empty cell. (or a date 01-01-1900)

How can I copy over the SHEET1 Values while ignoring empty cells?

An example of what I want to see:

SHEET1
A1|B1|
  | 3|

SHEET2
A1|B1|
  | 3|

Not
A1|B1|
 0| 3|
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T11:37:57+00:00Added an answer on June 14, 2026 at 11:37 am

    I have two solutions for you.

    Formula:

    =IF(Sheet1!A1 = ""; ""; Sheet1!A1)


    Macro:

    Sub test()
        Sheets("Sheet1").Select
        Cells.Select
        Selection.Copy
        Sheets("Sheet2").Select
        Cells.Select
        Sheets("Sheet2").Paste
    End sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large spreadsheet in Excel 2007 OpenXML format that I want to
I'm using excel 2007 and i'm adding a macro that looks something like this
I want to run a VBA script from Excel 2007 that can switch focus
I have Excel 2007 and Windows XP When this code runs: Columns(A:G).Select ActiveWorkbook.Worksheets(Sheet1).Sort.SortFields.Clear ActiveWorkbook.Worksheets(Sheet1).Sort.SortFields.Add
I use VS 2010 for creating Excel 2007 xltx template. I want to remove
I've got an Excel 2007 VBA script that adds a button to the ribbon,
If I copy a graph from Excel (2007) and choose Paste Special in another
How do I copy a range of cells from Excel to Powerpoint. I want
I am working on a Excel 2007 workbook that will contain a macro to
I want to develop and automate Office software like 'Microsoft Excel 2007' And 'Microsoft

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.