I have a bit of a conundrum. I'm not sure the best forum to ask this question, so feel free to point me in the right direction if it's not here.I have a giant Google doc that looks like this:...this is a line with some text, 1this is a line with some more text, 1here is another line with some text, 0here is another line with some text, 1here is yet another line with text, 0and finally here is a line with text, 1...The lines with text can be anywhere from a few words to a few paragraphs. However, they always end in either a 1 or 0. These lines where take from a spreadsheet, and I can access them as text block in a cell with an adjacent column containing 1 or 0.The excel would look something like:-----------------block of text | 0block of text | 1block of text | 0block of text | 0block of text | 1------------------The problem I face:Everything with a 1 should be right aligned on this document.Everything with a 0 should be left aligned on this document.I'm hoping there is a way to do this (either my writing a function/using a tool on the spreadsheet or selecting relevant text in the doc). I suspect trying to select the lines in the doc may be more difficult, since some text block span multiple paragraphs but only have one numeric indicator.
Formatting/Ingesting text in Google Docs and Google Spreadsheets
google spreadsheets;google documents