+ Reply to Thread
Results 1 to 6 of 6

Quick key for copying cell to the right?

  1. #1
    Registered User
    Join Date
    07-10-2008
    Location
    Atlanta
    Posts
    65

    Quick key for copying cell to the right?

    I have two columns of data. I need to make every other cell have the value from the right hand column. Is there a quick way to do this?

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Quick key for copying cell to the right?

    Can you post a small sample of your data...along with the results you want to see?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Quick key for copying cell to the right?

    Say you want to have every other cell in column C have the value from column B.

    In C1 : =If(IsEven(Row(),B1,"")
    and copy it down as many rows as there are data
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

  4. #4
    Registered User
    Join Date
    07-10-2008
    Location
    Atlanta
    Posts
    65

    Re: Quick key for copying cell to the right?

    This formula gives an error. I have attached a sample. Basically I want this
    Value 1 Value 2 What I want
    a b a
    a b b
    a b a
    a b b
    a b a
    a b b
    a b a
    Attached Files Attached Files
    Last edited by shg; 07-16-2010 at 07:10 PM. Reason: deleted quote

  5. #5
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Quick key for copying cell to the right?

    Hi Onestopfanshop;

    Did the formula actually produce an error? "#Error#"
    Or is just not giving the results you want? I didn't know that you also wanted column A on every other row.
    Please Login or Register  to view this content.
    and copy down the column

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Quick key for copying cell to the right?

    given op is starting in row 2 =If(IsEven(Row()),a2,b2)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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