ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting and selection (https://www.excelbanter.com/excel-discussion-misc-queries/45565-conditional-formatting-selection.html)

Kristin N

Conditional Formatting and selection
 
I have one column that has both name/address(in one row) and telephone
numbers(in another row). I'd like to move the name/address info into it's own
column. I've been able to do a conditional format to change the text info to
a new color but I can't seem to mass select that info so I can move it all at
once. Any ideas would be appreciated.

bj

if either the names or the telepphe numbers are all in even rows
insert a helper column and enter
=mod(row(),2) and copy down to the end of the data
use autofilter on this column and select 0
select all and paste somewhere
change the autofilter to select 1
select all and paste next to your first paste point. You will now have two
new columns of data one with names addresses and the other with associated
telephone numbers

Ther are many other ways to do this also.



"Kristin N" wrote:

I have one column that has both name/address(in one row) and telephone
numbers(in another row). I'd like to move the name/address info into it's own
column. I've been able to do a conditional format to change the text info to
a new color but I can't seem to mass select that info so I can move it all at
once. Any ideas would be appreciated.


John Moore

Hi, A Nested Search should work ok, try this, I have assumed that the name
and address are separated only by a comma and that the data is in column B,
cell2
Enter this formula into a cell to extract the name =LEFT(B2,SEARCH(",",B2)-1)
and this to extract the address =RIGHT(B2,SEARCH(",",B2)+4)




"Kristin N" wrote:

I have one column that has both name/address(in one row) and telephone
numbers(in another row). I'd like to move the name/address info into it's own
column. I've been able to do a conditional format to change the text info to
a new color but I can't seem to mass select that info so I can move it all at
once. Any ideas would be appreciated.



All times are GMT +1. The time now is 02:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com