Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
How to include a ceiling in a summation?
Post Flair (click to view more posts with a particular flair)
Post Body

Presently trying to model a clicker game where the cost increases 0.03% each time something is bought. I think this will ultimately not matter at large enough numbers, but I have no idea how to squeeze in that I need to take the ceiling at every step because, well, the first couple of purchases are 5/6/7 not 5/5.15/5.3045.

Currently the formula I'm using is:

=CEILING(SERIESSUM(1.03,0,1,INDEX(C3*SIGN(ROW(INDIRECT("1:"&(C9-C8)))))))

Row 3 being cost, row 8 being the current level (i.e. 252), row 9 being the next milestone (i.e. 500).

I'm sure that I could create some sort of abomination involving hard-coding values for each generator that matters and then cutting back to the formula when there's no noticeable effect by the lack of rounding, or I could just deal with the fact that my numbers are up to 20% lower at lower values, likely secure in the knowledge that it will result in few inefficiencies that matter... But I don't quite want to hack it that way.

Author
Account Strength
100%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,725
Link Karma
324
Comment Karma
5,335
Profile updated: 1 week ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago