How to save Excel table as Word doc in multiple pages - pagination

I have an Excel sheet whose size is 100 rows and 10 columns.
How can I save this excel sheet to MS Word doc such that:
Each page in the word doc must contain a table of consecutive 25 rows from the excel sheet.
(First page contains first 25 rows, second page contains next 25 rows etc).
Can I specify the row height, column width, Font type and Font size while exporting to Word?

I guess a 'neat' answer is not available, or you would have heard by now! But there are several workarounds:
Most obvious: Select and paste 25 rows at a time (only involves repeating 4 times!) If you want a title row/rows on each Word page then hide appropriate rows before copying.
Copy and paste entire table and insert 3 Page Breaks where required, or enough blank rows to force next 'block' onto the subsequent page. If that leaves borders around empty cells, reformat those rows without borders.
Both 1. and 2. allow changes to column/row spacing, font size/type etc.
Insert as images, 25 rows at a time (with or without headers, to suit) and either Page Break or use extra lines to get the spacing suitable.
3.will not give the flexibility of 1. and 2. (so you might want to ensure font type etc is suitable before copying) but the size of images can be increased or reduced to suit. Images also have the disadvantage that not all formatting is copied faithfully.

Related

How not to print a part of a an Excel table?

I have a worksheet where user selects some rows from a table and prints it. I want to print everything that is blurred on the image plus the first column of the table (in orange).
Only the rows that have value 1 in the 2nd column, i.e. the selected rows.
Everything is fine tuned to fit on one A4 page.
How can I achieve to print only certain parts of the table?
Before you suggest Print Area, I tried that, selected everything apart from the 2nd column of the table and suddenly the whole print structure collapses and something that is supposed to take one page is now spread over 4 pages.

How to Make An Excel Graph Without Hardcoding the Data Range

I have a graph getting data from a simple 2-row date and production amt. associated with that specific date. However, we are constantly adding more and more rows to this and I would like the graph to be self-updating every time we add more rows instead of having to change the formula's data range every single time we update the sheet.
Right now the formula we're using for the graphs is:
=SERIES(,'PRODUCTION SITE A'!$A$4:$A$125,'PRODUCTION SITE A'!$B$4:$B$125,1). Here's an example spreadsheet on Google Sheets to make it more visible what exactly I'm doing.
You can graph and chart dynamic ranges by putting the data in a Formatted Table. Highlight everything from [Date - Amt Produced] down to the last row of data (not including Total), and click "Format As Table".
Now, when you add lines to the data, the Table will expand - as will the graph! If it does not automatically expand, you can manually expand the table (and thus the graph) by simply clicking inside the Table, then clicking "Resize Table" in the Table Tools>Design tab.
Notably, if there is a blank line directly below the Table, entering data there will cause the Table to automatically expand its size to include the new data. If you have a Total row directly below the Table, you may have to "Insert" a row above the Total row, then enter data. My suggestion would be to move the Total somewhere else (perhaps above the Table?), so that you can simply type in the next blank line below the Table and have the Table adjust its size for you without the Total getting in the way.

Insert an Incremental Dynamic Value in Visio

I have a large spreadsheet with rows that do get rearranged a few times of a year (few hundred lines). I also have a Visio document that basically maps these rows with simple boxes and connectors. Boxes are basically a value from one column (say column B), and connectors represent values from another column (say column F).
I have also added row Id's on each of these connectors, aside from the value column F, however, as I said, the rows do get rearranged, so I was wondering if there was a way to create a variable and use it as part of a text in each of these connectors to go incrementally. This is to avoid modifying the row Id's when new ones are added, or they get rearranged.
I'm not looking for Visio to parse the Excel sheet. Simply to have a dynamically incremental variable that I can use to shift these numbers up and down in my Visio, so when I see the old value of, e.g. Val_from_Column_F (3), and now the same row has been moved to, say, row 12, now I need to display, Val_from_Column_F (12) -- a difference of 9. And have every other value in Visio to get incremented by 9 accordingly. That way, every row after 3, gets incremented equally by 9 and represents the current rows in the spreadsheet.

(Excel) Neither Offset nor Index/Match prevented a table's referenced cell from moving

I have a report that consists of 3 different input, and 3 corresponding output tabs for 3 different sources of information. Each source needed a Macro to change the formatting of the data. One of these sources needs data for individual days, so as it formats the data into a table, it is copying and inserting the cells on top of the previous day's data. Once 5 days of data has been converted and stacked in the output tab, a final tab has essentially all the formula's, dubbed the "Conversion" tab. In this tab there are 3 tables for each source of data (the output tabs) and a fourth that takes the data from these 3 tables, and combines them into what a final macro copies and pastes the values from into a new sheet.
The problem lies in that sheet that stacks the data by inserting the new rows. I've done everything from Index and match, Offset and match, simple offset, Vlookup (obviously, that's the go-to at first) and even Defined the name of new formula's, but the cell that the Conversion tab's table references keeps moving down as new data comes in. I need to reference Array 'CampPerf Output'!B116:B135
no matter what. What formula can I use or backdoor trick can I use so that my lookup looks at the exact same array every time?
The macro that converts the data has to be a repeatable action so I can assign it to a button (This report must be made as simple as possible, as Non-Excel Users need to be capable of "paste data, click button, click other button, ta-da!")
Thanks for any help!
Use this as your range reference:
INDEX('CampPerf Output'!$1:$1048576,116,2):INDEX('CampPerf Output'!$1:$1048576,135,2)
This will always return the range array in 'CampPerf Output'!B116:B135 no matter how many rows or columns are added or removed.

Excel: Add number to upper right corner of box of merged cells

I have an excel form which displays a six generation family pedigree chart. Each box for a person's data is merged together from 3 columns and 7 rows. 4 lines of text fit into each box, the 1st line is name, the 2nd birth date and place, the 3rd marriage date and place and the 4th death date and place.
The rightmost two columns are the triple great grandparents of the root person and sometimes a 2nd chart is needed to show their ancestors. The 2nd chart tile is Chart mm-nn where mm is the chart number where the person appears as a GGG grandparent and nn is their number in that chart.
How can I put a number in the upper right corner of these boxes in my chart?
I thought of appending the number to the person's name and flush it right. If possible, it must be with some exotic format string. But each box has 4 text lines and the flush right formatting needs only apply to the 1st.
Perhaps make the numbers as little graphics and overlay them? Chop up the base cells even smaller and merge them into 4 separate lines with the 1st line shorter than the others with a small number box at the end of it?
Ideas?
Jim
The short answer to your question is: no, that's not possible. This is Excel not MS Word. Hence, you can set any given cell only to be left-justified or right-justified. You cannot have both for one cell.
Yet, maybe any of the following work-around might be of help in your case. Of course, I can't be sure since you haven't provided any screenshots of the desired out-come (like a mock-up). But here we go:
This is where you are coming from. A merged box of three columns by seven rows containing four lines of text.
(1) One solution might be to have three different merged areas. The following example consists of three merged areas. The first two rows and the first two columns make up the name. The last column on the first two rows is merged to contain the number and the rest is one merged box again containing the dates and the places.
Note, that you can only see the difference to the original since I selected in this example the top right merged area (consisting of the number only). Otherwise, there wouldn't be any (visually apparent) difference.
(2) Another solution could be to manually insert as many spaces after the name as necessary to make it seem as if it were right-justified. The problem here is (of course) that this changes with the font, the font-size, if the font is bold (or italic) or not, and also the current zoom-factor for the sheet. Hence, this solution would soon wear you out as you would have to manually adjust all the cells constantly. I just wanted to point out this solution for the sake of completeness.
(3) The following solution consists of a text box shape on top of the cell. So, basically I am leaving your original cell (consisting of three columns and seven rows) as is and simply put a shape on top of that cell. The following screenshot shows the result in the top part and the text box being selected in the bottom part (so you can see how this one comes together).
(4) The following work-around is probably the solution you've been looking for and you want to go with. This one is moving away from the cells on the sheet and relies only on text-boxes which are shown on top of the sheet (and thus on top of the cells). Here you can "merge" several text boxes into a group. The group will move and size as a whole. At the same time this group consists of several text boxes and as such may consist of left-justified text boxes and right-justified text boxes as you can see in the screencast below.

Resources