Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Formula text to columns

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Formula text to columns

On Mon, 3 Mar 2008 11:04:16 -0800, billinr
wrote:

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA


Do the copy/paste values to a different column -- then work there.

Or, depending on the kind of result, you could use a formula to return the
portion of the answer that you want to different columns.
--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula text to columns

Maybe you can copy|paste special values into a different range?

billinr wrote:

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Formula text to columns

hi
you might may use of a helper column.
leave the below formula where it is (say a5) but in a blank column (say R5)
put the formula =A5. you can then copy and paste as value then to text to
columns in R5 keeping the original formula in A5 untouched.

Regards
FSt1

"billinr" wrote:

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default Formula text to columns

If you copy the results in the cell containing the fomula then paste
special/values in another cell, you do not affect the formula at all. You
can then use text to columns to separate the pasted values

Tyro

"billinr" wrote in message
...
I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result
into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula text to columns

Just do the work text-to-columns usually does for you. Say the lookup table
is:

1 hello world
2 happy day
3 smile often
4 help others
5 post frequently

with each phrase in a single cell. In A1, the formula:
=VLOOKUP(2,J1:K5,2)
returns:
happy day

So in B1 put:
=LEFT(A1,FIND(" ",A1,1)-1)
and in C1 put:
=RIGHT(A1,LEN(A1)-FIND(" ",A1,1))



In a way this is actually better than text-to-columns because it will
automatically parse the words as the VLOOKUP() changes
--
Gary''s Student - gsnu200771


"billinr" wrote:

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Formula text to columns

Thanks, Ron
That will give me the result I want, but I would have to run the copy/ paste
each time I use the sheet.
Can you suggest a macro or formula to make that happen automatically?

"Ron Rosenfeld" wrote:

On Mon, 3 Mar 2008 11:04:16 -0800, billinr
wrote:

I have a few formulas resulting from a vlookup:
=IF(ISERROR(VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE)),"",VLOOKUP(K17&" "&M17&" "&O17&"
"&Q17,J29:J73,1,FALSE))

This returns the correct answer, but when I try to separate the result into
columns, all I can see is the formula in the text to columns work box.
Since I want to leave this formula in place to use for future changes, I
don't want to use a copy/ paste values and lose the formula.
Is there a way to work with the values and still keep the formula?

TIA


Do the copy/paste values to a different column -- then work there.

Or, depending on the kind of result, you could use a formula to return the
portion of the answer that you want to different columns.
--ron

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Formula text to columns

On Mon, 3 Mar 2008 11:51:01 -0800, billinr
wrote:

Thanks, Ron
That will give me the result I want, but I would have to run the copy/ paste
each time I use the sheet.
Can you suggest a macro or formula to make that happen automatically?


You can try recording your copy/paste keystrokes to start off developing a
macro.

Or you can post more detail about your data setup, how it changes, and what
sort of results you require, and we can probably come up with something here.
--ron
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
hi - is there a formula that matches text in different columns? rkat Excel Worksheet Functions 2 August 11th 06 02:35 AM
Text to columns on a formula Potatosalad2 Excel Discussion (Misc queries) 1 June 28th 06 06:17 PM
Splitting text, like "Text to columns", but as a formula Chris Glen Excel Discussion (Misc queries) 3 May 6th 06 07:21 AM
Text to columns using a formula [email protected] Excel Discussion (Misc queries) 6 March 15th 06 08:29 PM
text to columns: is there a formula? nyc_doc Excel Worksheet Functions 1 August 3rd 05 01:18 AM


All times are GMT +1. The time now is 12:38 AM.

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"