Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to take information in a spreadsheet (mailing list) and separate the
title columns into two columns because the title is too long. Deputy Manager - Investment Fund - Vice President - Clients Relations & Media & Communications Want it to be: Title 1 = Deputy Manager - Investment Fund - Vice President Title 2 = Clients Relations & Media & Communications Is there a formula that will move words into another column if the line exceeds say 30 or 40 characters. Also can it do it without truncating a word. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(LEN(A1)35,TRIM(LEFT(A1,FIND("-",A1,35)-1)),A1)
and =IF(LEN(A1)35,TRIM(MID(A1,FIND("-",A1,35)+1,99)),"") -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "gwbdirect" wrote in message ... I need to take information in a spreadsheet (mailing list) and separate the title columns into two columns because the title is too long. Deputy Manager - Investment Fund - Vice President - Clients Relations & Media & Communications Want it to be: Title 1 = Deputy Manager - Investment Fund - Vice President Title 2 = Clients Relations & Media & Communications Is there a formula that will move words into another column if the line exceeds say 30 or 40 characters. Also can it do it without truncating a word. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Bob,
Thanks for the formula, I tried it and if a cell is blank I get a 0. How can I add to the formula so this doesn't happen and also some of the cells I get a value error example: SVP & Chief Officer, Wealth Management #VALUE! "Bob Phillips" wrote: =IF(LEN(A1)35,TRIM(LEFT(A1,FIND("-",A1,35)-1)),A1) and =IF(LEN(A1)35,TRIM(MID(A1,FIND("-",A1,35)+1,99)),"") -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "gwbdirect" wrote in message ... I need to take information in a spreadsheet (mailing list) and separate the title columns into two columns because the title is too long. Deputy Manager - Investment Fund - Vice President - Clients Relations & Media & Communications Want it to be: Title 1 = Deputy Manager - Investment Fund - Vice President Title 2 = Clients Relations & Media & Communications Is there a formula that will move words into another column if the line exceeds say 30 or 40 characters. Also can it do it without truncating a word. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(A1="","",IF(AND(LEN(A1)35,ISNUMBER(FIND("-",A1))),TRIM(LEFT(A1,FIND("-",A1,35)-1)),A1))
and =IF(AND(LEN(A1)35,ISNUMBER(FIND("-",A1))),TRIM(MID(A1,FIND("-",A1,35)+1,99)),"") -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "gwbdirect" wrote in message ... Hi Bob, Thanks for the formula, I tried it and if a cell is blank I get a 0. How can I add to the formula so this doesn't happen and also some of the cells I get a value error example: SVP & Chief Officer, Wealth Management #VALUE! "Bob Phillips" wrote: =IF(LEN(A1)35,TRIM(LEFT(A1,FIND("-",A1,35)-1)),A1) and =IF(LEN(A1)35,TRIM(MID(A1,FIND("-",A1,35)+1,99)),"") -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "gwbdirect" wrote in message ... I need to take information in a spreadsheet (mailing list) and separate the title columns into two columns because the title is too long. Deputy Manager - Investment Fund - Vice President - Clients Relations & Media & Communications Want it to be: Title 1 = Deputy Manager - Investment Fund - Vice President Title 2 = Clients Relations & Media & Communications Is there a formula that will move words into another column if the line exceeds say 30 or 40 characters. Also can it do it without truncating a word. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Separate data into two columns | Excel Discussion (Misc queries) | |||
I wish to separate city, state, and zip into 3 separate columns | Excel Worksheet Functions | |||
Copy columns values into separate columns | Excel Discussion (Misc queries) | |||
swapping data from 2 separate columns | Excel Discussion (Misc queries) | |||
Separate names into 2 columns? | Excel Discussion (Misc queries) |