Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text in formula
I want to display the sentence "Average Total Accounts: Oct - Apr"
based on a formula. A23 = November-05 So far, I have the formula ="Average Total Accounts: "&TEXT(A23-1, "mmm") which displays "Average Total Accounts: Oct", so I know I'm close. Where I'm having a problem is adding the " - " between Oct and Apr and adding the formula to display Apr. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text in formula
="Average Total Accounts: "&TEXT(A23-1, "mmm")&" -
"&TEXT(DATE(YEAR(A23),MONTH(A23)+5,1),"mmm") -- Kind regards, Niek Otten "StephanieH" wrote in message ... I want to display the sentence "Average Total Accounts: Oct - Apr" based on a formula. A23 = November-05 So far, I have the formula ="Average Total Accounts: "&TEXT(A23-1, "mmm") which displays "Average Total Accounts: Oct", so I know I'm close. Where I'm having a problem is adding the " - " between Oct and Apr and adding the formula to display Apr. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text in formula
Yay. Thanks Niek.
"Niek Otten" wrote: ="Average Total Accounts: "&TEXT(A23-1, "mmm")&" - "&TEXT(DATE(YEAR(A23),MONTH(A23)+5,1),"mmm") -- Kind regards, Niek Otten "StephanieH" wrote in message ... I want to display the sentence "Average Total Accounts: Oct - Apr" based on a formula. A23 = November-05 So far, I have the formula ="Average Total Accounts: "&TEXT(A23-1, "mmm") which displays "Average Total Accounts: Oct", so I know I'm close. Where I'm having a problem is adding the " - " between Oct and Apr and adding the formula to display Apr. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Convert text to formula - Help pleaaase | Excel Discussion (Misc queries) | |||
text in formula explaining formula not to print | Excel Worksheet Functions | |||
Formulas dealing with text data | Excel Worksheet Functions | |||
Using the text from a cell as a range name in a formula | Excel Discussion (Misc queries) | |||
Concatenation formula loses text wrap formatting | Excel Discussion (Misc queries) |