formatting output within formula

J88L

New Member
Joined
Nov 7, 2005
Messages
16
I've seen it done where you can format the output of a formula within that formula. For instance, you might want to return just the month from cell A1, but perhaps in three letter format, or in two digit (01, 02, 03... 12) format. I've searched for help on this topic unsuccessfully. Does anyone have a suggestion of where to find a "how to" on how to do this?

I know I can format the cell to do it, but I want to be able to do it as part of a formula so it can be used in a CONCATENATE formula and look the way I want it to.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi,

I think you should use TEXT function. Check it out in help file.

But you could ofcourse just format the cell as well.
 
Upvote 0
TEXT! That was what I was looking for. Thank you very much - I'm going to go clean up a whole pile of code now. :LOL:
 
Upvote 0

Forum statistics

Threads
1,215,731
Messages
6,126,538
Members
449,316
Latest member
sravya

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
Back
Top