Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default Concatenate in a Cell (&) and working with the numbers.

I have this function on E1,

=TEXT(B1-A1),"$ #,##0.00")&" - "&TEXT(D1/C1),"0.00%")

I cannot work with the numbers that E1 provides because they are formatted
as text.

Is there a way to format the numbers in two different ways ($,%), just like
my function, but to actually be able to work with these??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Concatenate in a Cell (&) and working with the numbers.

You may be able to parse your string into pieces, but I'd just use two cells to
hold the formulas and then format those cells nicely--not using the =text()
function.

If you absolutely have to use that formula that results in a string, then how
about adding a couple more cells with just the plain old formulas in them.

You could even insert a couple of rows/columns and hide them so they're out of
the way.

GEM wrote:

I have this function on E1,

=TEXT(B1-A1),"$ #,##0.00")&" - "&TEXT(D1/C1),"0.00%")

I cannot work with the numbers that E1 provides because they are formatted
as text.

Is there a way to format the numbers in two different ways ($,%), just like
my function, but to actually be able to work with these??


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
GEM GEM is offline
external usenet poster
 
Posts: 90
Default Concatenate in a Cell (&) and working with the numbers.

Ok, thank you very much!! But is there a way to use them inside the same cell
and leave them as a working number not as text??

"Dave Peterson" wrote:

You may be able to parse your string into pieces, but I'd just use two cells to
hold the formulas and then format those cells nicely--not using the =text()
function.

If you absolutely have to use that formula that results in a string, then how
about adding a couple more cells with just the plain old formulas in them.

You could even insert a couple of rows/columns and hide them so they're out of
the way.

GEM wrote:

I have this function on E1,

=TEXT(B1-A1),"$ #,##0.00")&" - "&TEXT(D1/C1),"0.00%")

I cannot work with the numbers that E1 provides because they are formatted
as text.

Is there a way to format the numbers in two different ways ($,%), just like
my function, but to actually be able to work with these??


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Concatenate in a Cell (&) and working with the numbers.

One cell can only hold one number. You can make into text as you have done
and then represent the 2 numbers but now if you want the numbers back you
either have to recalculate the values or parse out the numbers (parsing out
the numbers will be a lot more work than it is worth).

So the short answer to your question is no...

--
HTH...

Jim Thomlinson


"GEM" wrote:

Ok, thank you very much!! But is there a way to use them inside the same cell
and leave them as a working number not as text??

"Dave Peterson" wrote:

You may be able to parse your string into pieces, but I'd just use two cells to
hold the formulas and then format those cells nicely--not using the =text()
function.

If you absolutely have to use that formula that results in a string, then how
about adding a couple more cells with just the plain old formulas in them.

You could even insert a couple of rows/columns and hide them so they're out of
the way.

GEM wrote:

I have this function on E1,

=TEXT(B1-A1),"$ #,##0.00")&" - "&TEXT(D1/C1),"0.00%")

I cannot work with the numbers that E1 provides because they are formatted
as text.

Is there a way to format the numbers in two different ways ($,%), just like
my function, but to actually be able to work with these??


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Concatenate in a Cell (&) and working with the numbers.

You can use a complex formula to parse the values that you want. But you'll
have to use that complex formula in every cell that needs that number.

It's not worth the trouble in my opinion.

GEM wrote:

Ok, thank you very much!! But is there a way to use them inside the same cell
and leave them as a working number not as text??

"Dave Peterson" wrote:

You may be able to parse your string into pieces, but I'd just use two cells to
hold the formulas and then format those cells nicely--not using the =text()
function.

If you absolutely have to use that formula that results in a string, then how
about adding a couple more cells with just the plain old formulas in them.

You could even insert a couple of rows/columns and hide them so they're out of
the way.

GEM wrote:

I have this function on E1,

=TEXT(B1-A1),"$ #,##0.00")&" - "&TEXT(D1/C1),"0.00%")

I cannot work with the numbers that E1 provides because they are formatted
as text.

Is there a way to format the numbers in two different ways ($,%), just like
my function, but to actually be able to work with these??


--

Dave Peterson


--

Dave Peterson
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
Concatenate Formula not working helen Excel Discussion (Misc queries) 6 March 11th 09 01:12 PM
Concatenate with Line Feed not working Cummings Excel Discussion (Misc queries) 3 April 8th 08 02:42 PM
Concatenate function not working for me [email protected] Excel Discussion (Misc queries) 2 June 29th 07 03:51 PM
Working with range of numbers in a cell and searching same Penny Excel Discussion (Misc queries) 0 May 3rd 06 04:52 PM
Working with range of numbers in a cell and searching same Penny Excel Worksheet Functions 0 May 3rd 06 04:12 PM


All times are GMT +1. The time now is 07:26 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"