Combining text and results

sarahrosenberg

Board Regular
Joined
Aug 27, 2002
Messages
190
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?
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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)&")"
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
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.
 

sarahrosenberg

Board Regular
Joined
Aug 27, 2002
Messages
190

ADVERTISEMENT

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?
 

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
="From "&TEXT(MIN(A1:A20),"m/d/yy")&" to "&TEXT(MAX(A1:A20),"m/d/yy")
 

sarahrosenberg

Board Regular
Joined
Aug 27, 2002
Messages
190

ADVERTISEMENT

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?
 

Watch MrExcel Video

Forum statistics

Threads
1,122,518
Messages
5,596,630
Members
414,082
Latest member
sasmita

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top