+ Reply to Thread
Results 1 to 6 of 6

Copying cells with certain data next to it.

  1. #1
    Registered User
    Join Date
    08-18-2009
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Copying cells with certain data next to it.

    I have two columns. I want to select everything in one column that has a certain value in the adjacent column.

    Allow me to exemplify:

    Please Login or Register  to view this content.
    Let's say I want to select all cells in Col2 which correspond to an A in Col1. Therefore, I want to select: tree, garden, tool, and ball. I want to copy these cells into a third column.

    How would I do this?
    I'm sure this is simple for experienced users. I am bested by my inexperience.

    Thanks,
    Multi
    Need a website or other media? Visit Amalgam Web and Media (http://www.amalgamweb.com) today for a free quote on any custom project.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Copying cells with certain data next to it.

    =if(A1="A",B1,"") copied down

    where A1 and B1 are first cells to look at.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Copying cells with certain data next to it.

    lol @ exemplify - what?

    anyway, select the headers of columns 1 & 2, then press Alt+d, then F, then F again
    now click the arrow next to the top of column 1 and select "A" from the drop down.
    Copy all of column B, it will only take the bits you need, and paste onto column C, now go back to column A and select "show all"

    It's called autofilter and it's very handy...

    HTH

  4. #4
    Registered User
    Join Date
    08-18-2009
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Copying cells with certain data next to it.

    MAN you guys are FAST!!!
    Geez, I barely had time to reload my browser before I got an answer.

    Thanks a lot!

  5. #5
    Registered User
    Join Date
    08-18-2009
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Copying cells with certain data next to it.

    And in the time it took to write that last response, I got ANOTHER response. Thanks!

  6. #6
    Registered User
    Join Date
    08-18-2009
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Copying cells with certain data next to it.

    lol @ exemplify - what?
    In consultation of Merriam-Webster:
    Exemplify - to show or illustrate by example <anecdotes exemplifying those virtues>

    Sorry, I felt the need to tread the infrequently visited areas of my lexicon.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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