Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
misha_light pe Simpatie.ro
Femeie
25 ani
Bucuresti
cauta Barbat
26 - 47 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Sum Dynamic Columns and Dynamic Rows (INDIRECT)

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
I need a formula to sum the next 5000 rows (rows vary, but less than 5000 rows at a time), and atop of each table header I need a sum formula for the current column - if the end user copy/pastes it, I want it to be automatically good and don't want the end user to have to manually change the letters and/or other stuff as they might make mistakes.

The following formula sums row()+2 to row()+5000, and if dragged across columns it works just as well.
=SUM(INDIRECT(ADDRESS(ROW()+2; COLUMN()) & ":" & ADDRESS(ROW()+5000;COLUMN())))

Source: ChatGPT 3.5


 
   
Pagini: 1  
Mergi la