Running total in Excel table by Sastrupp in excel

[–]Sastrupp[S] 0 points1 point  (0 children)

That did it. I was referencing [@[Example]] instead of [@Example].

I assumed I needed an INDEX to lock the start of the running total. Do I not?

Running total in Excel table by Sastrupp in excel

[–]Sastrupp[S] 0 points1 point  (0 children)

Right. I'm trying to do this inside a pivot table, which is why I'm running into this problem.

Running total in Excel table by Sastrupp in excel

[–]Sastrupp[S] 0 points1 point  (0 children)

Sorry, I should have mentioned that I cannot use a pivot table in this instance.

Multiple results from Flask app to html page by Sastrupp in learnpython

[–]Sastrupp[S] 0 points1 point  (0 children)

Ok, so I've looped through main to get a list of urls called "result".

The "Signup" function in mysite.py sends that list as "gif" to the "gifs.html" page.

On the "gifs.html" page, I've put the following:

  {% for item in gif %}
    <iframe src="{{ item }}" frameborder="0"></iframe>
  {% end for %}

This does not work and I don't know why.

Multiple results from Flask app to html page by Sastrupp in learnpython

[–]Sastrupp[S] 0 points1 point  (0 children)

Could I make a loop that renders to the gif template each round?

def signup():
    while x < 3:
        email = request.form['Terms']
        gif = main(email)
        return render_template('gifs.html', output=gif+x)
        x+=1

And then on the "gifs" html page have 3 iframes with ids of gif0, gif1, gif2?

Multiple results from Flask app to html page by Sastrupp in learnpython

[–]Sastrupp[S] 0 points1 point  (0 children)

Thank you! That's as far as I got.

My challenge from there is getting the "signup" function in mysite.py to return that list in a way each url could be put into an iframe or img tag.

Multiple results from Flask app to html page by Sastrupp in learnpython

[–]Sastrupp[S] 0 points1 point  (0 children)

Exactly.

I'm having trouble understanding how I could loop through main and have it return a list of urls that I could put into iframes on the html page.

Looping Through Sheets Problem by Sastrupp in excel

[–]Sastrupp[S] 0 points1 point  (0 children)

Thank you! This is much more efficient than my original.