Quote: Feed it into a spreadsheet via delimited text if Lua can't do spreadsheet directly.
This isn't really a spreadsheet issue. Loading up a whole new program to do something this simple is just a waste of resources.
Quote: If you are willing to do so, it might be easier to index your table differently, so that the first index is the year, the second the month, and the third the day.
That's pretty much how I have it set up now. %Y is the current year in 4 digit format, %m is the month, and %d is the day. The first option you listed is what I'm doing already, I just thought there might be a function I couldn't find to adjust the date on a per day basis. My main problem with this is if I have the program shut down for a few days (shocking, but it happens on occasion), or if there are no sales for a day. In that situation, a date is skipped.
I suppose I could just have year and yday as the index values, and just have some check for a leap year. |