how to increment google docs heading assignments while retaining relationships? - google-docs

i've got a big doc with lots of headings assigned
i'd like to select a load of text, and change all heading1 to heading2, all heading2 to heading3, etc. so that the relationships stay the same they're all just one higher (or lower)
eg before:
*HEADING 1
some text
*Heading 2
more text
after:
*Heading 1
*Heading 2
some text
*Heading3
more text
basically i want to add a new category 'above' the existing text
is anything like this possible?

Related

Expanding columns in Power Query that does not duplicate column to .1 .2 .3 etc

I am completely new to this and I have never touched Power Query in my whole life, but I am surprised on how far I've gotten from fletching data from a website.
My goal is to expand all dynamically my columns (high, hightime, low and lowtime), but it creates column duplication that is automatically renamed which I DO NOT WANT. It would be a pain to manually move over 3000 columns.
My list of items are all in different columns, but I want only the new column stated above in bold.
This is a drawing of what I want it to look like
After all that, I will Transpose the whole table so each columns would be the "Item name".
Expand info picture
This is what it looks like inside a "Record"

Create relationship between two lookup columns in a sharepoint list

I have a Sharepoint List 'TeamValues' that defines values that should appear in another list.
TeamValues List:
Title Team Sub-Team
1 A Blue
2 A Green
3 B Yellow
4 C Silver
5 C Gold
I have a list that users can edit and in this list I want to lookup 'TeamValues' list and create a dropdown list for users to select a value from the Team column. This needs to be unique so in this case the values that should appear are: A,B,C
Once they select a value I need a second column to populate a drop down list that users can select E.g. If they select Team: A, then the second drop down should show: Blue, Green as the options.
How can I do this using Sharepoint? I don't have any code access and only have the sharepoint GUI to work with.
Is this possible?
I have created a lookup choice column Team that looks at my TeamValues List however this is showing all values e.g. A,A,B,C,C. I have created a lookup choice column for the subteam that also shows every value. I dont know how to link these together or get a relationship between the two choice drop downs/ remove duplicate values. I tried the following option: 'the Enforce unique values is not displayed.' which did not work
No code applicable
I am sorry to say that but I think there is no OOB functionality to show distinct values of lookup column and to do this kind of relation without any code. I also did some research just to be sure but I could not find anything like that.
If You would consider some code You can always use javascript jsLink technology to achieve this. It's not that hard. It's a JS file that You can add to some lib on sharepoint site and then You can add this JS to webpart manually without any deploy or other. After that with javascript You can overwrite the default behavior of any control/column and do this kind of relation or show only distinct values.

Datacap how to create a field array and merge or avoid splitted excel sheets

Im trying to get the rows of an excel document. What i have achieved.
1-. Retrieve .xls, .xlsx files
2-. Convert those files to TIFF images
3-. Enhance image for better text recognition
4-. Identify Pages
5-. Create the Documents
6-. Recognize Page and Fields
7-. Populate Fields (this is were is my problem)
For example, in a table like
Name | Age | Size
Juan | 26 | 1.90m
Max | 25 | 1.85m
Victor | 26 | 1.65m
My project can find the keyword Name, Age & Size, and in the settings i can tell him, ok the value is down a line and group the leading and trailing words, but it will only fill the fields name, age and size with the first values below and will ignore the others, and datacap does not seems to have a field array type.
In the image, you can see that there is only one way add fields, and they are scalar (just one value), Add multiple only adds multiple fields at once, not a field of multiple values haha.
This is how my fields get retrieved
Another problem i face is that my excel sheet gets splitted in order to fill a document format, and i was expecting the whole sheet to be converted in 1 document not 4
In the image, those 4 pages are from the same sheet (in the excel)
IBM docs still lacks information, there are some pages that only has its title and zero information lol.
agreed for point 1, it does not support any field like array or something which is more of a advanced level. This feature is really needed and we may see something from IBM going ahead.
Coming back to second point, datacap will be converting the excel according to the print pages like when you print that excel. you have to add the ruleset to merge those in single file.. The most common way to do that is to use tiffmerge ootb given by datacap.

Flat File Schema Wizard

I have an example of a tab delimited flat file like this:
Expense Report Id Name Geography StartDate EndDate TotalExpense
123456789 JJ Thompson Atlanta 6/12/2011 6/18/2011 454.10
ExpenseDate Guests (Separated by comma) CompanyAffiliation Establishment Project
6/14/2011 "Norm McDonald, Gary Shandling" Two Guys Hamburgers Little Debbie's MumboJumbo
6/16/2011 IBN Yo MumboJumbo Conceirge
6/18/2011 Jimi Hendrix The Experience Electric Ladyland MumboJumbo Client
I have to convert an xml schema to look like this tab delimited flat file. Any idea how when using the flat file schema wizard to keep the headers in there? I can do it w/out the headers no problem
One option is to create a top level header element that is max occurs 1 and min occurs 1 that has a field for each column header with a default value. You would need to map a non repeating node on the left to this header element so that it is created.

Can I get relational data into an Excel Pivot Table

I have a sheet (let's go with wines as an example) that lists every bottle of wine in my cellar, when I bought it, how much I paid etc.
There's a column that describes the wine in comma-separated tags such as "Fruity, White".
I've created a pivot table from that data, with the description as a filter column. However I can't filter it by "White". I have to find every description that contains "White" such as "Dry, White", "White, Crisp" etc.
Being from an RDBMS background, my natural inclination is to put the tags in their own table keyed against the wine row so there's zero-or-more tag rows per wine row.
How, how on earth can I use that to filter the wine rows?
Yes you can do it within Excel and the description fields can remain as "Dry, White" etc as you do not need to split the comma separated values.
Lets say the Table source comprises a text column for Description, a number column for Value and a number column for Year Bought.
Your pivot is setup with the the following
Fields: Description, Value and Year Bought.
Column labels: Year Bought
Row Labels: Description
Sum of values: Sum of Value
There is a drop down label filter on the row labels - click on this and there should be an option to select Label Filters. Select this and then select Contains. You can enter say "White" which will select all your descriptions that contain white e.g. "Dry, White", "White, Crisp". The filter includes ? to represent a single character and * to represent any series of characters.
There are similar label filters for "begins with" and "ends with" as well as there negation.
I tried this in Excel 2007 and it should also work in 2003. I think in Excel 2003 you could even combine the filters e.g. contains "White" and does not contain "Dry" but in 2007 I could not find a way of doing this.
Forgive me if I'm stating the obvious, but the reason you're having problems here is that the description column is not in 1NF, and the Excel pivot interface isn't flexible enough to allow pattern-based searching.
The simplest option will be to normalise the CSV into a series of columns, each of which represents a single attribute - one column for wine colour, one for sweetness, one for country of origin and so on - and apply the filter across multiple columns. However, if (as your comment on the question suggests) wine is a metaphor for your real problem, you may not have the luxury of revisiting the design of the source data.
Another possibility might be to use a macro (or a database query - I'm not clear from your question whether you have implemented the tag system already) to pre-filter the input data on the pivot table's source sheet based on the tag values you want to search for, then re-refresh the pivot table based on that data.
A third possibility is the VBA used in this question, which looks like it will custom-filter the pivot table's visible rows.
=IF(ISERR(FIND("WHITE",UPPER(B5))),0,1)
create an extra column and add a formula. There are 2 tricks to this. One is to search for WHITE in the description column using upper - to beat the fact that excel find is case sensitive. Two is that it returns a value error if the string does not exist - so iserr will allow you to trap that and return in this example 0 if it doesn't or 1 if it does. You could substitute white and blank for 1 and 0.
you could write a script that loops through the data and adds new lines for each comma separated item in the description column. This would allow the pivot table to filter better.

Resources