+ Reply to Thread
Results 1 to 3 of 3

Conditional statement w/ copied cell contents

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    Tampa, FL
    MS-Off Ver
    2011
    Posts
    1

    Conditional statement w/ copied cell contents

    Hi all. First time posting on the board. I am working on a spreadsheet and need to have Excel compare 2 cells from my original sheet and if they are not the same, copy the contents from another related cell into the first available cell of another sheet. I've tried it with a conditional statement:

    =IF('Current Master 13-14'!AK2:AK85<>'Current Master 13-14'!BC2:BC85,'Current Master 13-14'!C2:C85,"")

    If I put this formula in cell A2 of a new sheet, Excel copies all of the info from rows 2-85 into cell A2 of the new sheet. If I do it so that each cell in the new sheet has it's own formula for the corresponding cell in sheet 1, then I wind up with a bunch of blank cells for all of the ones that don't meet the condition. How can I let Excel know to search for cells from AK that don't match the cell in the same row from BC and then import cell C from that row into the first available cell of column A from my new sheet while ignoring all cells from AK that do match their corresponding cell from BC? Thank you in advance for any help!

  2. #2
    Registered User
    Join Date
    07-10-2014
    Location
    East Sussex, England
    MS-Off Ver
    2007, 2010
    Posts
    51

    Re: Conditional statement w/ copied cell contents

    Can you drop in a small section of the data and i will look at it.

  3. #3
    Registered User
    Join Date
    07-10-2014
    Location
    East Sussex, England
    MS-Off Ver
    2007, 2010
    Posts
    51

    Re: Conditional statement w/ copied cell contents

    Can you attach an example file?
    Robbo

+ 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. Click on cell to go to worksheet where the cell contents was copied from
    By rikk1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2014, 02:09 PM
  2. Paste copied contents of a cell as a comment in another cell
    By Manjula1 in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-07-2012, 09:55 AM
  3. Replies: 3
    Last Post: 01-11-2012, 02:04 PM
  4. Can the contents of a Cell be copied to another Cell by simple Hovering?
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-30-2010, 09:13 AM
  5. How can I allow only cell contents to be copied but not formatting
    By Martin_of_Uxbridge in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2005, 12:06 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