My excel sheet contains different areas on the same sheet, for example:
region1: region2:
John 2 A 1
John 1 B 2
Sue 1 C 3
Sue 2 D 4
Alice 5 E 5
Bob 1 F 6
I want to add new elements to one of these regions without affecting other regions. I tried to use the method rowShift(), but it also removes the complete lines. Is there a way by which you can shift specific cells and insert rows in regions such as this: In my example, I want to add another row to region1 (also preserving all the old rows) and it will become:
region1: region2:
newval newval A 1
John 2 B 2
John 1 C 3
Sue 1 D 4
Sue 2 E 5
Alice 5 F 6
Bob 1
source
share