Such would probably require MGP approval... (Yes - even if it is given away - the SRD specifically doesn't apply to software). Its ok to create for personal use and not distribute... its not too difficult a thing even without programming - i.e. simple formulas in Excel will do the job.
To do a 1d6 simply paste the following in a cell (including the equal sign):
=1+FLOOR(RAND()*6, 1)
Edit any other cell (press delete or type and press enter/arrows) and unless you've turned off auto-recalc the roll cell will refresh (F9 also causes I believe).
Likewise, d66 would be
=((1+FLOOR(RAND()*6, 1)) *10) +(1+FLOOR(RAND()*6, 1))
Make yourself some tables - like a trade goods table with d66, trade good, tonage multiplier, base price... then use
=LOOKUP(d66 cell, lookup cell range - i.e. 11 to 66, result range - i.e. Basic Electronics to Exotics)
Just using the first two formulas and the LOOKUP function along with multiply will say select random goods. I.e.:
=1d6 cell *LOOKUP(d66 cell, column cells 11 to 66, base price cells 10,000 to X)
Where I used X as base price for exotics so price will show as #VALUE!, though a conditional (IF) statement could handle this more elegantly.
Some people like to put the lookup tables on a seperate sheets (bottom tabs) naming them for each table (ModPrice, TradeGoods, CommonGoods, PlanetGoods) - p.s. I seperated avail, purchase DM, sale DM colums for each world type (i.e. 3 per) plus added a common column with my trade goods table.
It may seem difficult - but its pretty simple really, just a bit tedious (I tested all this for this post it took me less time than writing this

)...