Hi guys,
I wish to advancely format a an Excel doc which can be found here: http://arthur.selfnet.org/text.xlsx
I'll split the actions for a better understanding:
a) I wish to copy the text from the beginning of the cell until the beginning of the first open bracket "(" ex. in cell A5(sheet1), the text I wish to copy is: "1.tv Georgia" (sometimes a cell can contain 2 set of brackets ex. A86(sheet1), in this case I wish to copy all the text which contains the first set of brackets too ex. "STS (+2h)", so the copy delimiter would be the second open bracket "(" and paste it into cell B5(sheet1).
b) I wish to copy another part of text from A5(sheet1), this time the text is contained within the brackets and of which format is allways "(???.??)" (remember that on certain cells like A89(sheet1) this text with the same content format, is to be found on the second set of brackets) and paste it without the brackets in cell C5(sheet1).
c) I'll open the sheet2 of the same excel file which has been filled up with certain text. For each value of cell A1(sheet2) for example, it corresponds a certain text on cell B1(sheet2). These values are predefined and should be updated mannually, so there is no need of automation here.
d) continuing the big thing, I would like to replace the content of the cell C5(sheet1) with the correspondent value of the respective cell within the sheet2.
ex. If the value of the cell C5(sheet1) is "042.0E", the script will look for value 042.0E within the column A(sheet2) and it will find it as a match of the cell A2(sheet2). Then, will take the content of the corresponding cell B2(sheet2) and will replace the content of the cell C5(sheet1) with it.
e) (optional as I don't know if this is possible) I wish to create a table with this two columns B and C from the sheet1, sort them A->Z by the column C, and paste it as a table into sheet3.
That's it. Does this makes sense?
Can anyone help me with a script to do this? Thank you very much in advance.
P.S.: This issue was only raised here, on this forum. (I didn't write all these specs on another forum to waste people's valuable time for nothing)
I wish to advancely format a an Excel doc which can be found here: http://arthur.selfnet.org/text.xlsx
I'll split the actions for a better understanding:
a) I wish to copy the text from the beginning of the cell until the beginning of the first open bracket "(" ex. in cell A5(sheet1), the text I wish to copy is: "1.tv Georgia" (sometimes a cell can contain 2 set of brackets ex. A86(sheet1), in this case I wish to copy all the text which contains the first set of brackets too ex. "STS (+2h)", so the copy delimiter would be the second open bracket "(" and paste it into cell B5(sheet1).
b) I wish to copy another part of text from A5(sheet1), this time the text is contained within the brackets and of which format is allways "(???.??)" (remember that on certain cells like A89(sheet1) this text with the same content format, is to be found on the second set of brackets) and paste it without the brackets in cell C5(sheet1).
c) I'll open the sheet2 of the same excel file which has been filled up with certain text. For each value of cell A1(sheet2) for example, it corresponds a certain text on cell B1(sheet2). These values are predefined and should be updated mannually, so there is no need of automation here.
d) continuing the big thing, I would like to replace the content of the cell C5(sheet1) with the correspondent value of the respective cell within the sheet2.
ex. If the value of the cell C5(sheet1) is "042.0E", the script will look for value 042.0E within the column A(sheet2) and it will find it as a match of the cell A2(sheet2). Then, will take the content of the corresponding cell B2(sheet2) and will replace the content of the cell C5(sheet1) with it.
e) (optional as I don't know if this is possible) I wish to create a table with this two columns B and C from the sheet1, sort them A->Z by the column C, and paste it as a table into sheet3.
That's it. Does this makes sense?
Can anyone help me with a script to do this? Thank you very much in advance.
P.S.: This issue was only raised here, on this forum. (I didn't write all these specs on another forum to waste people's valuable time for nothing)