Excel Chart title will not accept a date concatonated to a string - excel

I'm trying to include a date in my excel chart title by putting a formula inside the title formula box:
="Some text "&TEXT(NOW(),"mmm dd")
I've tried putting the date into a cell, and referencing the cell, but that doesn't work:
="Some text "&TEXT(Statistik!$H$26,"mmm dd")
Strangely, I can put a date into the chart title:
=Statistik!$H$26
But as soon as I add text ("eg "&), it gives me an error message that there is something wrong in the formula. If I paste the same formula into a cell, it works fine. =Concatonate doesn't work either.

All credit to Rory. Put the whole formula into a cell, then just refer to that cell.
Concatenation within the title cell of the excel chart does not work. The title cell needs to be a single reference to another cell, eg, =A1, in which any concatenation occurs, eg, ="Some text "&TEXT(Statistik!$H$26,"mmm dd").

Related

Replace cell value with it's visible value

I have a list, that Excel keeps formatting as a date. The cells show the following (so this is the "visible" value):
06-14
06-01
05-14
10-01
....
These are not to be dates. However, Excel keeps formatting them as such, so the formula bar for the first one shows 06/14/2020. I want the formula bar to show 06-14 (or, to be technical, this is okay too '06-14). I don't want a date in the Formula bar.
I've tried VBA, but none of these do it:
Cells(1,1).Value = Cells(1,1).Text
Cells(1,1).Value = Cells(1,1).Value
It keeps the date in the formula bar.
Changing the cell's format to say Text just puts the full date number in the cell, e.g. 44138.
You're close, just do:
Cells(1,1).Value = "'" & Cells(1,1).Text

How to put todays date and time in excell cell

Within an Excel cell, I want to have the current (dynamic) date time printed.
I tried with following format:
TEXT(TODAY(); "ddmm");TEXT(TIME(HOUR(NOW());MINUTE(NOW());SECOND(NOW()));"mmss")
The format cell is not formatted as text. However, when I select the cell I have exactly that what is typed iso 07111533
I tried already with TEXT(TODAY(); "ddmm") and then my cell is filled with 0711, which is ok.
Expected result should be something like 07113815
Actual result:
TEXT(TODAY(); "ddmm");TEXT(TIME(HOUR(NOW());MINUTE(NOW());SECOND(NOW()));"mmss")
You're over-complicating:
=TEXT(NOW(),"ddmm") & TEXT(NOW(),"mmss")

In Excel, issue with Concatenating formula in Chart title with a string

I am having an issue naming my excel chart title using a combination of a cell reference and text. Whether I try the CONCATENATE function or just the ampersand operator, excel doesn't like it and I cannot figure out why.
Using ='Input Data'!$B$3:$F$3 & " DollarvsDepth", I receive the error "There's an error in the formula you entered"
Using =CONCATENATE('Input Data'!$B$3:$F$3, "DollarvsDepth") I get "That function isn't valid"
I would like to be able to name the chart from the text from a merged cell B3 through F3 on the 'Input Data' sheet, as well as some static text. Is this possible?
I am posting this to follow up on the comment I left above. The issue here seems to be that Excel does not like having a chart title referencing a cell which contains a formula. So, one workaround might be to create a new cell which just references your current cell with a formula. This may not be the most ideal solution, but it is one to consider.
When dealing with a merged cell, only the top-left cell reference is valid.
='Input Data'!$B$3 & " DollarvsDepth"
Try:
=CONCATENATE('Input Data'!B3, " ", 'Input Data'!C3," ",'Input Data'!D3," ",'Input Data'!E3," ",'Input Data'!F3," ","DollarvsDepth")
Input Sheet:
Output Sheet:

Append % sign to this excel cell which uses a function

I have this cell in Excel 2013. The contents of the cell is;
=xlqChangePercent($D2,$AP$1)
This function returns 1.00 which is displayed in the cell. I want this cell to display 1.00%. I tried =xlqChangePercent($D2,$AP$1)% but the cell becomes 0.01. How do I get the cell to display 1.00%?
Either append /100 to your formula and format % (retains content as a number) or format the cell with a custom format of:
#.00"%"
which results in a text string.
Format the cell to percentage - either use the menu or right-click on the cell and choose format.

How to convert the result (as displayed) in the cell to text in Excel

I have formatted a cell in Excel as Scientific with 1 decimal place then I inserted a number in it like (0.41). After pressing enter the result displayed is (4.1E-01). My aim is to put this result in a cell with text format so that when I double click the cell, I can copy/modify the text (4.1E-01) as I want.
I tried to format that cell as text but the result gets back to 0.41. I also tried to copy the cell and paste the value only using "Special Paste" into a text-formatted cell but the result keeps returning to 0.41. Do you have a suggestion on how to solve this issue?
Thanks in advance
This is a bit of a work around unless you want to use VBA. In an adjacent cell type this formula:
=TEXT(A1,"0.00E+00")
Now you can copy that cell and paste values only and get just the text:
2.22E+27
If your okay with VBA use this:
Range("A2").Value = Range("A1").Text

Resources