Why not get the lisp to do all the work if you make a list of all text can sort, then group by dia into sub lists, then get length and add up so output to excel as result required. For me working on smarter excel defuns including write direct to excel say the results in this case.
40dia 1050
30dia 935
25dia 1234
hi again everyone, i tried @Steven Pnew code and yes it worked for me, its indeed very good , it will do my job , thanks very much again @Steven P, i wish nice weekends for all and hope to write you again.
Hi, I have a lisp to create a point to point wall, but I wish I could draw more than one line without the lines breaking or losing my current functions, hope you can help me, I am very new to lisp.
wall point to point.lsp