Word - Excel table caption - excel

I have added a table from Excel to Word. The table is too large for one page and is divided into two pages. Now when I add a caption, this is only displayed at the top of page 1, but nothing on page 2. How can I edit it so I can put something like
"Page1"
Table1: Sales
(table)
*Page2*
**++Table1: Sales (continued)++**
(table continues)

Its a bit of a cludge, but you can put the caption in the first row of the table itself, and turn on "Repeat as header row at top of each page".
Merge all cells and turn off borders in the first row, caption then looks like its outside the table.
Easy way to get the caption into the table is to insert it normally, then cut and paste it into the table.

Use Headers inplace of caption. Use a different header for the first page and yet another one for the 2nd page. Use page numbers in the format "page x of y" in the fotter to make it more accesible.
You may also make the single table as two tables. If your single table is too large, to fit in one page vertically, word will put it in 2 or more pages. This however will not result in the repeating of the caption or even the column headers. This obtion is however available in Excel where you go to page setup and select the rows and columns to repeat at the top.
When u break you single table into two tables, one for each page you can customize the caption for each table seperately. You can also than repeat the column headers.

Related

Export ssrs report to excel in 1 sheet

I have two tablix in ssrs. I want all the data in the first Tablix in sheet 1, but when I export my ssrs report to excel, it breaks it down to 10 sheets.The second tablix is on the 11th sheet, which i want to be the second sheet. I Added "a page break after" on the first tablix but it is still splitting up the data from the first tablix. How do i go about this?
There must be a Page Break on a Row or Column Group in the first table that is causing it to create pages for each Group.
Click on the table and click on the drop down by the Grouping for each Group at the bottom and go to the Group Properties.
Then go to the Page Break tab and make sure that the Page Break property box is unchecked.

Insert Table header Row when column value changes

I have a table of overdue customer invoices. Each customer could have several overdue invoices and I want to collate these into separate customer tables, with a sum total of due amount.
I want this to be in one worksheet, with the header row above each customer table.
Therefore, I'm looking for a VBA macro that will go through the data in column A and when it sees a change, from one customer number to the next, it totals up the values for that customer and inserts the header row, ready for the next customer. And continues on...
Example sheet Here
Sheet(tab)1 shows raw data, sheet2 shows how the formatted data should look.
I'm stumped sorry and any help or direction appreciated. Hope the info is clear.
To get started I suggest you search google "creating vba macros read and write column"
Are you familiar with VBA macro? If not, you could use a combination of index, and match formula.
Otherwise VBA solution logic, in VBA editor - which is accessible by Alt +F11:
Click on the sheet you want your VBA code to apply to and start writing your function. For example a function to check a cell range called "myFunction" would be as follows,
A single example:
Sub myFunction ()
If range.("A1").value = "Customer1" then
Range("B1:E1").Insert([Shift], [CopyOrigin])
end If
Sub End
More work required to check condition on event, dynamic insert, and will need to be wrapped in a loop. The below are tutorials specific to the job you need to program your macro for.
VBA copy and paste code if condition is met tutorial here : https://youtu.be/qGZQIl9JJk4
VBA insert tutorial here : https://powerspreadsheets.com/excel-vba-insert-row/#Excel-VBA-Constructs-to-Insert-Rows
VBA How to SUM Totals At Bottom of a Column Dynamically : https://youtu.be/_0Vcnb3xdOM
The first question is-- What VBA have you tried?
Next, change col A heading to Customer, and col E heading to Amount
because these are the desired output headings .
Next, did you know that by dropping down View, and then Macros,
that there is a RECORD button? Click it.
Finally, it records your pressing Insert / PivotTable on a New sheet.
Drag the Amount field down to the Values box
After you drag each of the other fields to the Rows box,
left click on it in the Rows box, and select FieldSettings --
Subtotals tab -- Automatic for Customer, None for the others
Layout tab -- Show item labels in tabular form for each field
and just for Customer field--Insert page break after each item
At the end, click on any cell of the pivot, select PivotTableOptions --
Totals&Filters tab -- unclick Column totals
Click PageLayout,
then Margins -- make them narrow
then Sheet -- Rows to print at the top
Maybe Header -- Custom Header
Finally click on View / Macro
StopRecording
Presto, now the VBA has been captured.
Ok, so all you have to do is insert a Subtotal. Check out these screen shots.
Before:
After:
Depending on which version of Excel you are using, would probably determine how to navigate to the Subtotal button. Google for that, if you can't fine it. Should be super-simple.

Hiding Tablix in SSRS report using Expressions

I have a report in which there are two tables from the same dataset, and i want to hide second table when the report runs at first, then when i click on the Product id i want to display the second table
Anyone help?enter image description here
I'm not sure you can do this by clicking on a textbox within a table as it might be out of scope, but if your first tablix is just a single line then you could just use a series of textboxes to emulate the 1st tablix.
Once you have done this, set the ToggleItem property of the 2nd tablix to be the name of the textbox that contains the ProductID.
I've just tested this and it works as expected.
...and if that does not help...
If your 1st tablix shows mutliple rows, you might want to consider adding a second row to it with the columns you require from your 2nd tablix and setting the toggleitem property of the 2nd row.

Dynamic Filters in Excel

I'm using Office 2013, and working on a worksheet in Excel.
My question is, is there a way to create a dynamic filter in Excel?
To explain in more detail, I have a dynamic worksheet, where upon opening the user will get a few drop-down options. After the user has selected one option from each of the drop-downs, the worksheet will display a table of data based on the user's inputs. The user can change their selections from the drop-downs after the table has been displayed, and can also clear their selections. If they clear their selection, the table will disappear.
Now, the first column in the result Table will contain Text values, but can also contain blanks. These values or blanks are all decided based on the user's selections in the previously mentioned drop-downs, which are displayed permanently to the left of the table. I want to add a filter to this first column of the result table (and to the rest of the table with it) such that only the non blank cells are displayed in the table every time the drop-downs are changed.
As I understand your need correct, I can give you this solution:
For getting a better result make your range to Table.
Select Power View from Insert items;
A sheet Power View 1 will added to your workbook;
From right pane select Table1 and its fields;
From Filter pane select as you want for filtering.

Can I make the Column section not expand to fill the page in iReport

If my report only generates a handful of rows of data (not pages, just rows) then I would like to have my totals row appear immediately after the last row of data, instead of being forced to the bottom of the page. How do I do that? I have tried a page footer and a column footer and they both appear at the bottom of the page rather than right below the last line of data.
On the root report properties there is a property called "Float column footer". If you turn that on, that should do the trick. Also make sure the data that you need to float up is in the column footer band.

Resources