jski21
Board Regular
- Joined
- Jan 2, 2019
- Messages
- 155
- Office Version
- 2016
- Platform
- Windows
Good day all,
I'm using the text string below to determine if a percentage (E27) falls between two percentages and if so, combine it with text. The text is a percentage (ChartData!C13) and a calculated time frame (ChartData!B14):
=IF(AND($E$27>=0,$E$27<=0.25),"Monthly spend to reach "&TEXT(ChartData!C13,"0%")& " ("&DATEDIF($A$2,ChartData!B14,"M")&" mnths)","-")
If E27 is between the percentages, the text message will be visible. If not, the cell will only display a dash. My conundrum is when I click in the cell with the formula, the entire formula appears. Here's the formatting on each of these cells:
E27 = Percentage
ChartDataC13! = Percentage
A2 = Date (mmmm, dd, yyyy)
ChartDataB14! = Date (*m/dd/yyyy)
Cell with this formula = Text
My assumption is the differing formats within the text string are conflicting and are gumming up the works. Any solutions or advice would be most helpful.
Cheers,
jski21
I'm using the text string below to determine if a percentage (E27) falls between two percentages and if so, combine it with text. The text is a percentage (ChartData!C13) and a calculated time frame (ChartData!B14):
=IF(AND($E$27>=0,$E$27<=0.25),"Monthly spend to reach "&TEXT(ChartData!C13,"0%")& " ("&DATEDIF($A$2,ChartData!B14,"M")&" mnths)","-")
If E27 is between the percentages, the text message will be visible. If not, the cell will only display a dash. My conundrum is when I click in the cell with the formula, the entire formula appears. Here's the formatting on each of these cells:
E27 = Percentage
ChartDataC13! = Percentage
A2 = Date (mmmm, dd, yyyy)
ChartDataB14! = Date (*m/dd/yyyy)
Cell with this formula = Text
My assumption is the differing formats within the text string are conflicting and are gumming up the works. Any solutions or advice would be most helpful.
Cheers,
jski21