I have been thinking of a spreadsheet like this for ages, but I never actually made it. Until today. Lots of people probably have little tools like this saved for their own use, but I've never actually seen anyone share one, so here it goes.
This is a Google Sheet that simply takes a list of table entries and their corresponding ranges and does the math to get the ranges ready in readable format.
Here it is: https://docs.google.com/spreadsheets/d/1-UsxxiB5VMaYJseEtQfcZGpEO-m8FqrSmWnJEhEAPTc/edit?usp=sharing
(Make a copy of your own use, of course)
Step 1) All you need to do to use this is copy and paste your own data into it. It takes two columns of input: the right hand column (B) is your actual entries, expressed in text (I'd recommend maybe just putting stubs here if you have especially complicated text, especially stuff with formatting or "non-standard" characters in the sense of not being alphanumeric in standard English.) The left-hand column (A) takes your range of numbers that correspond to that entry. When you enter values into these columns the sheet might get confused for awhile, that's fine.
Note: the tool does not know what sizes dice come in, it doesn't even know what rolls are. it's just adding numbers. so if you have 4 entries for a d4 table they just get numbers 1 2 3 and 4 (and you can probably do that by hand, so you don't need this any way.)
Columns A and B can extend as far down as you need them to, you'll just need to adjust the other columns to match.
Step 2) Sort Column B (your entries) in whatever way you want your entries to be sorted by. If you look at most RPG tables (at least, most I've encountered), they're actually sorted alphabetically by entry and then the result ranges filled in to match. (Here's the OSE SRD for an example.) To sort Column B alphabetically (what you should do as the default unless you know better), select the top left data entry (column A row 2). Then go to Data - Sort Range - Advanced Range Sorting Options. Here, click sort by Column B A to Z. When you do this, it should change the sheet a lot. In particular, Columns B and G should be the same text, sorted the same way.
Step 3) If you have more entries than were originally on the sheet, you need to drag the entries in columns D, E, F and G down to match your number of entries in columns A and B. Doing this is a simple drag operation. Click ONCE on the top left entry in column D, let go of the mouse button, then click once again and drag your cursor right to column G, then down as many rows as these columns already contain data (by default, down to row 12.) Release the mouse again. Click on the little blue dot in the lower right corner, then drag it DOWN as many more rows as you have you have data in column A. (So if you had 15 rows of data in Column A, drag down to the 15th row in these three columns.)
When you're doing this, it should look like this or similar after the first drag select. You can see the blue dot at the lower right for the second drag select.