Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan B
 
Posts: n/a
Default Excel - WsF - Dan B

Bob,
Here is the spreadsheet from the other post. I just copied a piece of the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns. Column B
worked fine. In column C, I wanted the words, but only got part of them.
Column D is your formula.

Thanks for your help!!




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Excel - WsF - Dan B

oops, just noticed, some of them have a dash - at the end, what does that
signify?

--

HTH

RP

"Dan B" wrote in message
...
Bob,
Here is the spreadsheet from the other post. I just copied a piece of the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns. Column

B
worked fine. In column C, I wanted the words, but only got part of them.
Column D is your formula.

Thanks for your help!!





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan B
 
Posts: n/a
Default Excel - WsF - Dan B

I can't believe that's all it was.....although I was thinking all along that
it had to be something stupid that. How embarrassing!!

The dash......it must be signifying a negative number. This is from a data
dump out of an accounting system.

Would you have any pointers on why the formula in column C is only pulling
the first word...such as US instead of US Government Bonds?

Thanks for all your help!!



"Bob Phillips" wrote in message
...
oops, just noticed, some of them have a dash - at the end, what does that
signify?

--

HTH

RP

"Dan B" wrote in message
...
Bob,
Here is the spreadsheet from the other post. I just copied a piece of
the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns.
Column

B
worked fine. In column C, I wanted the words, but only got part of them.
Column D is your formula.

Thanks for your help!!







  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Excel - WsF - Dan B

Dan,

If you wanjt to preserve the sign, I would use a helper column.

D1: =TRIM(IF(RIGHT(TRIM(A1))="-",LEFT(TRIM(A1),LEN(TRIM(A1))-1),A1))
E1: =--(IF(RIGHT(TRIM(A1))="-","-","")&MID((D1),FIND("~",SUBSTITUTE((D1),"
","~",
LEN(D1)-LEN(SUBSTITUTE(D1," ",""))))+1,99))

your formula only gets US as it only scans along as far as three spaces.

--

HTH

RP

"Dan B" wrote in message
...
I can't believe that's all it was.....although I was thinking all along

that
it had to be something stupid that. How embarrassing!!

The dash......it must be signifying a negative number. This is from a

data
dump out of an accounting system.

Would you have any pointers on why the formula in column C is only pulling
the first word...such as US instead of US Government Bonds?

Thanks for all your help!!



"Bob Phillips" wrote in message
...
oops, just noticed, some of them have a dash - at the end, what does

that
signify?

--

HTH

RP

"Dan B" wrote in message
...
Bob,
Here is the spreadsheet from the other post. I just copied a piece of
the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns.
Column

B
worked fine. In column C, I wanted the words, but only got part of

them.
Column D is your formula.

Thanks for your help!!









  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dan B
 
Posts: n/a
Default Excel - WsF - Dan B

Good idea! This all gets me exactly what I needed! Thank You so Much,
Bob!!

Dan



"Bob Phillips" wrote in message
...
Dan,

If you wanjt to preserve the sign, I would use a helper column.

D1: =TRIM(IF(RIGHT(TRIM(A1))="-",LEFT(TRIM(A1),LEN(TRIM(A1))-1),A1))
E1: =--(IF(RIGHT(TRIM(A1))="-","-","")&MID((D1),FIND("~",SUBSTITUTE((D1),"
","~",
LEN(D1)-LEN(SUBSTITUTE(D1," ",""))))+1,99))

your formula only gets US as it only scans along as far as three spaces.

--

HTH

RP

"Dan B" wrote in message
...
I can't believe that's all it was.....although I was thinking all along

that
it had to be something stupid that. How embarrassing!!

The dash......it must be signifying a negative number. This is from a

data
dump out of an accounting system.

Would you have any pointers on why the formula in column C is only
pulling
the first word...such as US instead of US Government Bonds?

Thanks for all your help!!



"Bob Phillips" wrote in message
...
oops, just noticed, some of them have a dash - at the end, what does

that
signify?

--

HTH

RP

"Dan B" wrote in message
...
Bob,
Here is the spreadsheet from the other post. I just copied a piece of
the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns.
Column
B
worked fine. In column C, I wanted the words, but only got part of

them.
Column D is your formula.

Thanks for your help!!













  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Excel - WsF - Dan B

Dan,

You gotta laugh. There was a space at the end of your data which was
throwing it!

Try this

=--MID(TRIM(A1),FIND("~",SUBSTITUTE(TRIM(A1)," ","~",
LEN(TRIM(A1))-LEN(SUBSTITUTE(A1," ",""))))+1,99)

--

HTH

RP

"Dan B" wrote in message
...
Bob,
Here is the spreadsheet from the other post. I just copied a piece of the
data into this one. You'll be able to see what I was trying to
accomplish.....splitting data in column A into 3 separate columns. Column

B
worked fine. In column C, I wanted the words, but only got part of them.
Column D is your formula.

Thanks for your help!!





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
"Group" function very slow with Excel 2003 :( ... While very quick with Excel2000 :O) Alain79 Excel Discussion (Misc queries) 4 June 14th 05 07:34 AM
Stop Excel Rounding Dates leinad512 Excel Discussion (Misc queries) 1 April 20th 05 04:19 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Excel error - Startup (and Acrobat PDFMaker) gxdata Setting up and Configuration of Excel 0 February 4th 05 03:44 AM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"