1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

is there a way to modify formulas based on inputs?

Our take

If you’re looking to modify formulas based on dynamic inputs, there’s a way to streamline your experience. Instead of manually adjusting your SUM formula each time you want to change the number of rows, you can use a cell reference to dictate how many rows to sum. For example, if you input the desired number of rows in a specific cell, you can then incorporate that cell into your formula using the INDIRECT function.

let's say i want to sum 4 rows in one column. so i'd type something like =SUM(A1:D1)

but what if i want to suddenly sum 10 rows? i'd have to go in and re-type the formula to =SUM(A1:J1) or drag that box to sum more rows.

i'm wondering if there's a way i could type in a number in a cell, and a formula could use that to determine how many rows to select.

submitted by /u/badabingbadaboomie
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with

#rows.com#AI formula generation techniques#formula generator#Excel compatibility#Excel alternatives for data analysis#Excel alternatives#cloud-based spreadsheet applications#formulas#SUM#rows#cell#columns#inputs#modify#number#automation#selection#calculate#function#dynamic