Don't know how a database would simplify things, perhaps this one piece of the larger puzzle, but certainly not the whole thing. The whole thing is for transmission line data calculations. Calculations start out in MathCAD, far too complex to even begin to think about doing in excel. The results go into an excel component, saved off as individual files. Then those files are opened, various bits copied and pasted as links into the summary spreadsheet. What was seen above is a bit of mutual coupling portion. Each chunk where the values in Q and R are the same is a single section of the line, sections need to stay in order so I can't sort or pivot table. Database would seem to greatly increase the complexity of getting segment data out of MathCAD into a complete line summary.