[Python] Script Python: na fórmula do Google Sheets aparece '=SUM e não executa a fórmula de...

Discussão em 'Python' iniciado por Stack, Junho 22, 2025.

  1. Stack

    Stack Membro Participativo

    Segue script executado:

    Adiciona totais


    LINHA_TOTAL = ULTIMA_LINHA_DADOS + 1
    updates.extend([
    {'range': f"A{LINHA_TOTAL}", 'values': [["TOTAIS"]]},
    *[{'range': f"{col}{LINHA_TOTAL}", 'values': [[f"=SUM({col}{PRIMEIRA_LINHA_DADOS}:{col}{ULTIMA_LINHA_DADOS})"]]}
    for col in ['D', 'E', 'F', 'G', 'J', 'K', 'L']
    ]])

    Na fórmula do sheets está aparecendo este string '=D2*0.15 e por isso não executa, quem pode me ajudar nisso?

    Continue reading...

Compartilhe esta Página