Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nevermore627
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

Try this (untested):

=CONCATENATE (format(A1*.9,"$0.00"), " - ", format(A1*1.1,"$0.00"))

nevermore627 wrote:
I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

I think you're getting that VBA mixed up with worksheet functions:

=CONCATENATE (Text(A1*.9,"$0.00"), " - ", text(A1*1.1,"$0.00"))

Or drop the =concatenate() function and use the & operator:

=Text(A1*.9,"$0.00") & " - " & text(A1*1.1,"$0.00")




Mark Lincoln wrote:

Try this (untested):

=CONCATENATE (format(A1*.9,"$0.00"), " - ", format(A1*1.1,"$0.00"))

nevermore627 wrote:
I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nevermore627
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

I tried it and I only get an general error message which highlights the
whole formula. Thanks

Mark Lincoln wrote:
Try this (untested):

=CONCATENATE (format(A1*.9,"$0.00"), " - ", format(A1*1.1,"$0.00"))

nevermore627 wrote:
I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
nevermore627
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

Thanks, Dave - both of those work like a charm. I appreciate the help!
Mike

Dave Peterson wrote:
I think you're getting that VBA mixed up with worksheet functions:

=CONCATENATE (Text(A1*.9,"$0.00"), " - ", text(A1*1.1,"$0.00"))

Or drop the =concatenate() function and use the & operator:

=Text(A1*.9,"$0.00") & " - " & text(A1*1.1,"$0.00")




Mark Lincoln wrote:

Try this (untested):

=CONCATENATE (format(A1*.9,"$0.00"), " - ", format(A1*1.1,"$0.00"))

nevermore627 wrote:
I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



--

Dave Peterson




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark Lincoln
 
Posts: n/a
Default How do I concatenate two currency cells to show a price range?

Oops! Serves me right for not testing. At least I had the right idea.
<g

Dave Peterson wrote:
I think you're getting that VBA mixed up with worksheet functions:

=CONCATENATE (Text(A1*.9,"$0.00"), " - ", text(A1*1.1,"$0.00"))

Or drop the =concatenate() function and use the & operator:

=Text(A1*.9,"$0.00") & " - " & text(A1*1.1,"$0.00")




Mark Lincoln wrote:

Try this (untested):

=CONCATENATE (format(A1*.9,"$0.00"), " - ", format(A1*1.1,"$0.00"))

nevermore627 wrote:
I have one median price, which I would like to change to a range (from
90% to 110% of original value).

Example: Cell A1 is formatted for currency and has a value of 3.50
(symbol set to none)
Cell A2 should be a dollar value range, from 90% to 110% of the value
of A1. The formula I have been using in A2 is this:

=CONCATENATE ("$",A1*.9, "-", "$",A1*1.1)

It works somewhat, but drops 0's and doesn't pay attention to digits.
When I try to format A2 to currency, it doesn't change.

For example, if A1 = 3.75, A2 = $3.375 - $4.125
if A1 = 4.00, A2 = $3.6 - $4.4

Does anybody know how to make cell A2 say "$3.38 - 4.13" or "$3.60 -
$4.40" instead?

Thanks in advance
Mike Simard



--

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
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
How to concatenate adjacent cells in a range without using &? Ark Excel Worksheet Functions 4 October 16th 05 06:38 PM
Display first, second, etc Nonblank Cells in a Range Jeremy N. Excel Worksheet Functions 12 September 25th 05 01:47 PM
monitoring a changing range of cells kevin Excel Discussion (Misc queries) 1 June 3rd 05 05:39 PM
monitoring a changing range of cells Kevin Excel Worksheet Functions 1 June 3rd 05 04:54 PM


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