hi forum!!
I have a spreadsheet with patient information that another company has asked for in a different format than they used to. instead of needing it as lines in a spreadsheet format they now want in separate sheets, divided by patient. Basically it's a form for each individual that they sent via a word doc that I copied into excel because I figured it'd be easier to transfer the data. Only problem is, I don't know the programming language at all. I've attached a spreadsheet example, where the names/demographic sheet is where I'm pulling the information from and the form sheet is where I want it transferred to. I need a script that does the following (and if anyone wants to just point me in the right direction on this, without doing all the heavy lifting, any level of assistance at all would be much appreciated!!) (note:my biggest struggle is how go to the next line when the script loops through, or specify whatever line it should be working on):
row X, if column A is NOTBLANK copy entire "form" sheet (so i can preserve the template)
then, in that newly copied sheet ("form (2)"), copy name, DOB, ID and first line of charges from "name_demographics" into correct fields on "form" sheet
if BLANK, create a new charge line in "form" sheet by copying row and inserting copied cells (<-- each patient will have a different amount of charges, so i don't want to run out of space for that)
copy charge code and amount from "name_demographics" sheet into "form (2)" sheet
next row, restart
I also don't know how to make it stop at the end (when there's no data in any of the lines... it'll be at a specified row though so i guess that helps).
thank you so much!
Bookmarks