Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default swapping column info between 2 columns

i have a listing of music and i have several rows that need to be swapped
between the 2 columns. ie. artist and title listing but on some lines the
title is in the artist place and the artist place is in the tittle place is
there an easy way to do the whole excel document queick , not line by line
,,,thank you
Rosy
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default swapping column info between 2 columns

Hazarding some thoughts ..

Assuming artists in col C, titles in col D, from row2 down
and assuming say, all titles' text carry a symbol, eg: @text1, @texxxt2, etc
which distinguishes these from artists' (text without @)

Then we could try something like this:

in E2:
=IF(ISNUMBER(SEARCH("@",C2)),D2,C2)

in F2:
=IF(ISNUMBER(SEARCH("@",C2)),C2,D2)

Select E2:F2, copy down. This will gather all text with @ in col F (titles),
and all text wo @ (artists') in col E. We could then copy cols E and F and
overwrite cols C and D with a paste special as values, then delete cols E and
F. If there's no way to distinguish between artists' text and titles' text,
then the only way is manual.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"rosy" wrote:
i have a listing of music and i have several rows that need to be swapped
between the 2 columns. ie. artist and title listing but on some lines the
title is in the artist place and the artist place is in the tittle place is
there an easy way to do the whole excel document quick , not line by line
,,,thank you
Rosy

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting Data From One Column into Multiple Columns Justin Hoffmann Excel Worksheet Functions 2 July 12th 06 04:15 PM
Sum up columns in different sheet with error check zeyneddine Excel Discussion (Misc queries) 13 July 10th 06 01:21 PM
Summing one column if two other columns' values appear in other sh JulieU Excel Worksheet Functions 3 April 18th 06 04:48 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Return Count for LAST NonBlank Cell in each Row Sam via OfficeKB.com Excel Worksheet Functions 12 April 17th 05 10:36 PM


All times are GMT +1. The time now is 03:56 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"