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:
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.Code:Col1 Col2 A tree B eraser B bush A garden A tool B mesh A ball
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.
=if(A1="A",B1,"") copied down
where A1 and B1 are first cells to look at.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
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
MAN you guys are FAST!!!
Geez, I barely had time to reload my browser before I got an answer.
Thanks a lot!
Need a website or other media? Visit Amalgam Web and Media (http://www.amalgamweb.com) today for a free quote on any custom project.
And in the time it took to write that last response, I got ANOTHER response. Thanks!
Need a website or other media? Visit Amalgam Web and Media (http://www.amalgamweb.com) today for a free quote on any custom project.
In consultation of Merriam-Webster:lol @ exemplify - what?
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.
Need a website or other media? Visit Amalgam Web and Media (http://www.amalgamweb.com) today for a free quote on any custom project.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks