Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I downloaded a list of songs for a karaoke book. Column 1-Song Title Column
2-Artist Column 3-Disc Number Column 4-Song Number. I would like to add a "-" symbol to the ENTIRE column 4. There are 1,000 songs and I would hate to go through EVERY single number and place a dash before the number. In other words, as is, it would look like this: "Respect Franklin, Arethra 63 9" I would like it to look like this "Respect Franklin, Arethra 63-9" Thank you. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Put -1 (minus one) in a cell and copy (the cell)
highlight column 4 Paste Special=Operation=Multiply Delete -1 from your cell. "singmusik04" wrote: I downloaded a list of songs for a karaoke book. Column 1-Song Title Column 2-Artist Column 3-Disc Number Column 4-Song Number. I would like to add a "-" symbol to the ENTIRE column 4. There are 1,000 songs and I would hate to go through EVERY single number and place a dash before the number. In other words, as is, it would look like this: "Respect Franklin, Arethra 63 9" I would like it to look like this "Respect Franklin, Arethra 63-9" Thank you. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
you are a genius thank you!!!!
"Toppers" wrote: Put -1 (minus one) in a cell and copy (the cell) highlight column 4 Paste Special=Operation=Multiply Delete -1 from your cell. "singmusik04" wrote: I downloaded a list of songs for a karaoke book. Column 1-Song Title Column 2-Artist Column 3-Disc Number Column 4-Song Number. I would like to add a "-" symbol to the ENTIRE column 4. There are 1,000 songs and I would hate to go through EVERY single number and place a dash before the number. In other words, as is, it would look like this: "Respect Franklin, Arethra 63 9" I would like it to look like this "Respect Franklin, Arethra 63-9" Thank you. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Select column D (the entire column) and then:
Edit Replace and enter a space in the replace what field and a dash in the replace with field and then replace all -- Gary''s Student - gsnu200733 "singmusik04" wrote: I downloaded a list of songs for a karaoke book. Column 1-Song Title Column 2-Artist Column 3-Disc Number Column 4-Song Number. I would like to add a "-" symbol to the ENTIRE column 4. There are 1,000 songs and I would hate to go through EVERY single number and place a dash before the number. In other words, as is, it would look like this: "Respect Franklin, Arethra 63 9" I would like it to look like this "Respect Franklin, Arethra 63-9" Thank you. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here's a short macro that will do this:
Sub AddDash() Dim cell As Range For Each cell In Selection If cell.Value < "" Then cell.Value = "-" & cell.Value Else: cell.Value = cell.Value End If Next cell End Sub To install the macro Hit ALT F11 to open the VBE Hit CTRL R to open the Project Explorer Right click on your file name Select InsertModule Paste the macro code into the window that opens on the right Hit ALT Q to return to Excel Select the range of song numbers in column 4 then run the macro. Biff "singmusik04" wrote in message ... I downloaded a list of songs for a karaoke book. Column 1-Song Title Column 2-Artist Column 3-Disc Number Column 4-Song Number. I would like to add a "-" symbol to the ENTIRE column 4. There are 1,000 songs and I would hate to go through EVERY single number and place a dash before the number. In other words, as is, it would look like this: "Respect Franklin, Arethra 63 9" I would like it to look like this "Respect Franklin, Arethra 63-9" Thank you. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
excel macro-copy formula to entire column? | Excel Discussion (Misc queries) | |||
In Excel how do I increase the amount in an entire column by a %? | Excel Discussion (Misc queries) | |||
How do I add the same number/value for an entire column in Excel? | Excel Worksheet Functions | |||
How do convert an entire column of text in Excel to all caps? | Excel Discussion (Misc queries) | |||
how do I change case in an entire column of text in Excel | Excel Worksheet Functions |