+ Reply to Thread
Results 1 to 2 of 2

Function to copy cell contents from sheet 1 to sheet 2

  1. #1
    Registered User
    Join Date
    12-05-2013
    Location
    Utah
    MS-Off Ver
    Excel 2013
    Posts
    31

    Function to copy cell contents from sheet 1 to sheet 2

    In sheet1 I am needing to copy the contents of A1 B1 and D1 to sheet2, ONLY if the value of Sheet1 G1 is "Yes"

    How can I accomplish this?

    Thanks in advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: Function to copy cell contents from sheet 1 to sheet 2

    Try this:

    =IF(Sheet1!$G1="Yes",Sheet1!A1,"")

    You can copy across to get B1 in the adjacent cell and D1 in two cells further over (or just change the C1 in the 3rd column to D1).

    Hope this helps.

    Pete

+ 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. Copy cell contents from one sheet to another sheet at a particular cell address
    By sfshah in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2013, 11:42 AM
  2. [SOLVED] Summary sheet - copy cell contents from multiple sheets to one summary sheet
    By jsmity in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 10:32 AM
  3. If cell has value, copy contents into it's own row on different sheet
    By dannyq07 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2012, 05:22 PM
  4. copy sheet to new sheet, rename it, return cell contents
    By soldstatic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-11-2009, 01:49 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