# Combining text and results

#### sarahrosenberg

##### Board Regular
I am trying to display the min and max of a column in one cell. For example, the cell would read "From (MIN) to (MAX)" Is this possible?

### Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
On 2002-10-15 14:36, sarahrosenberg wrote:
I am trying to display the min and max of a column in one cell. For example, the cell would read "From (MIN) to (MAX)" Is this possible?

="From "&MIN(Range)&" to "&MAX(Range)

With parens...

="From ("&MIN(Range)&") to ("&MAX(Range)&")"

It should be

="From "&MIN(A1:A20)&" to "&MAX(A1:A20)

On 2002-10-15 14:36, sarahrosenberg wrote:
I am trying to display the min and max of a column in one cell. For example, the cell would read "From (MIN) to (MAX)" Is this possible?

Yes.

Pali, Your formula worked great except for one thing. I am trying to display a range for a field that contains dates. When I used your formula, it converted the dates into a 5-digit number string. Do you know how to fix this?

="From "&TEXT(MIN(A1:A20),"m/d/yy")&" to "&TEXT(MAX(A1:A20),"m/d/yy")

On 2002-10-15 14:39, paliman wrote:
It should be

="From "&MIN(A1:A20)&" to "&MAX(A1:A20)
Pali, Your formula worked great except for one thing. I am trying to display a range for a field that contains dates. When I used your formula, it converted the dates into a 5-digit number string. Do you know how to fix this?

On 2002-10-15 14:49, Mark W. wrote:
="From "&TEXT(MIN(A1:A20),"m/d/yy")&" to "&TEXT(MAX(A1:A20),"m/d/yy")

Perfect. Thank you!

On 2002-10-15 14:49, Mark W. wrote:
="From "&TEXT(MIN(A1:A20),"m/d/yy")&" to "&TEXT(MAX(A1:A20),"m/d/yy")

Perfect. Thank you!

On 2002-10-15 14:49, Mark W. wrote:
="From "&TEXT(MIN(A1:A20),"m/d/yy")&" to "&TEXT(MAX(A1:A20),"m/d/yy")

Perfect. Thank you!

Replies
3
Views
271
Replies
3
Views
441
Replies
5
Views
213
Replies
8
Views
550
Replies
8
Views
324

1,211,738
Messages
6,103,637
Members
447,874
Latest member
liljunga

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back