Change Excel chart legend text entry without editing the data? - excel

I have a Powerpoint presentation that I need to refine and it includes some charts from Excel (I did not make them). However, those charts were copypasted and the originals are no longer available - but some legend text entries are wrong because the data were modified in the meantime. Is there a way to change ONLY the entries without going on Excel and selecting the data? Basically doing it visually in some way? The data on Excel are still the same, it's only the name of the series the charts refer to that has changed, but doing the charts from scratch all over again would require quite a lot of time because the format of the original Excel tables is now completely different.
Essentially the charts are just fine, the colours are also fine, it's just one legend entry that is wrong.

Copy as an image then edit using a picture editor.
But how was the data updated as you state it was modified then you say the data is still the same.
You could even make a dummy chart and create the legends in the correct font and size, then copy those and paste on the original image, done with an eye for detail and it won't be noticeable.

Related

How to fit 40x40 Excel Table into Word without going over the margins?

I have a 40x40 Excel Table that I want to paste into Word. However, I cannot do that without going over the margins and moving to the next page. It works with bitmap but data becomes unreadable. Is there any efficient way to see a big table on one page? Thanks.

Add and save 'background' information or text in an Excel or Powerpoint file

I don't really know how to express what I'm looking for, so I'll give a bit of context:
I have and add-in for Excel and PowerPoint that allows the user to insert shapes into the worksheet/slide with specific sizes, colors and values to form a stylized chart. I don't use the integrated charts because my company needs some weird styles and parameters that I can only replicate using shapes.
The problem is that once the shapes are in the worksheet/slide the user cannot go back to the add-in and change the chart values or series. For example, a user can't redefine the values and instead of $50 put $90 and update automatically the chart (as with the Office charts that we all know and love).
So what I thought as a solution is to have a 'background text file' or something like that with a dictionary of the charts and the shapes that are part of it; also the values and other characteristics like the x and y axis values. This way, when the user goes back to the add-in, he/she can retreive all the info from the original chart and change values, parameters or whatever is neeeded -- using the shapes' dictionary.
In essence, I want to program something like Think-cell but in Visual Basic.
Any suggestion is very welcomed!

Extra column inserted before other columns when exporting to excel

I know how tricky it is to align things in a way that allows a clean export to excel, however, on this one I am stumped and have never seen it before.
Anyone know why the excel rendering extension insists on inserting a column like in the attached image?
Things that I have tried.
Set the table's position to 0,0.
Removed all borders and padding.
Set the report margins to 0,0,0,0
NOTE : I am using the EXCELOPENXML rendering format as opposed to EXCEL in order to support *.xlxs.
Groupings:
First Column in the Designer:
The report was being rendered as a sub report and was placed in a rectangle and aligned right in the main report, however, the rectangle was one twip off from left align. Once I aligned the rectangle in the main report, the phantom column disappeared.

Change format of all data labels of a single series at once

I have an Excel 2010 chart, with several series. I have added data labels to one of the series. I want to change the font size of all labels of that series at once. Can it be done?
Note that if the contents of data labels are combinations of the three standard options in the Format Data Labels dialog ("Series Name", "X Value", or "Y Value"), I simply change the font size in the ribbon and it works.
But if data labels contain cell references (i.e., formulas), I could only change the font size of one label at a time.
I guess a macro would help. I tried something a while ago, and faced a sequence of problems (do not remember exactly which).
Anyone knows of a shorter/alternative solution?
It appears I found the cause.
Referring to the figure, whenever any of the cells referred to by the data labels is empty (e.g., deleting the contents of D4), I cannot change the font size.
If I reinstate D4, I can change the font size again. This is reproducible for the simple worksheet/chart of the figure.
According to this,
Workaround 1: Fill up all empty cells referred to. Change the format of labels. Remove added contents.
Workaround 2: Change to a dummy range for the data labels, which has no empty cells. Change the format of labels. Switch back to your intended range.
This might require The XY Chart Labeler, an excellent add-in by Rob Bovey.
This does not always work (there are cases where one cannot change font even with all non-empty cells), so there should be another possible cause for the problem (besides the one reported).
A workaround:
For the workbook, Save As... (you can even use the same workbook name). The problem goes away.
But if you close the file and open it again, the problem reappears.
Most of the times it works.
A workaround (found prior to #1):
A very poor solution, but which possibly saves quite a few keystrokes/mouse clicks in many cases. Select the whole chart, and change the font size in the ribbon. It will change all text. Then recover the font size of all other text but the data labels.
It won't work in charts with more than one series with such data labels, if you want them to have different sizes!
A quick way to solve this is to:
Go to the chart and left mouse click on the 'data series' you want to edit.
Click anywhere in formula bar above. Don't change anything.
Click the 'tick icon' just to the left of the formula bar.
Go straight back to the same data series and right mouse click, and choose add data labels
This has worked in Excel 2016. Purely by luck I worked this out saving a great deal of time and frustration.

How to extract each color bar and copy them in a table?

I made a diagram to show unique columns with several colors in each, as shown in the picture.
I have hundreds of that to make and I have no idea about how to do that.
I would like to know if it's possible to extract each color bar separately and copy them under "Icons". I am not sure if the word "extract" is the correct term, but I would like to display a raw-image of that color bar.
Maybe a formula?
I am able to use Office Excel and Libreoffice Calc.
Thank you so much.
These are instructions to do this manually, but this would be an ideal project to apply VBA and automate these tasks.
The idea is to create each category of stacked bar as its own individual chart, which can then be exported or copied to an image file.
This is based on the "spark lines" concept, which is small, eye-catching graphics embedded within the text of a document, as opposed to large graphics. MS added some sparklines functionality in recent versions of Office apps, and although MS "spark lines" doesn't support stacked bar chart type, the same thing can still be accomplished with a little work.
Step 1: Select one row of the data and do Insert Chart, stacked bar.
Step 2: Select data and Switch Rows & Columns.
Step 3: Delete the gridlines, axes, chart border, etc., .
Step 4: Expand the Plot Area so that it covers the entire Chart Area, and format the data series to 0% gap width.
Step 5: Apply your colors to each point in the series.
Step 6: Resize the chart to fit on a cell.
Finally now that you have created some ChartObjects you can manipulate them. ChartObjects can be Exported as image files, or copy/paste-special as images, bmp, or enhanced metafiles, etc.

Resources