Dynamic rows with Formulas (adding below)

che40000

New Member
Joined
Mar 14, 2011
Messages
3
Tried searching for this but couldn't find exactly what I needed.

I have a page of data that users input for stats. Because the user inputs multiple items for the same client I have formulas on another page that add up hours and events of that one client.

However, I would like that second sheet to show, dynamically, only the amount of rows needed for how many clients we served, instead trying to guess that we will serve 500 or 1000 for the month (slows down the sheet tremendously)

In other words,is there some kind of way to add more formula-celled rows below when either the row above is filled, or contingent on another cell that counts non-duplicate clients?

Thank you!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Fazza

MrExcel MVP
Joined
May 17, 2006
Messages
9,368
Hi,

It sounds like some code would be suitable.

And that the formulas are inefficient - so, a different approach might be best.

Perhaps a pivot table? This site has some good info http://www.datapigtechnologies.com/ExcelMain.htm

With a pivot table inefficient formulas are avoided and you don't need code for creating formulas.

HTH
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,957
Messages
5,834,583
Members
430,298
Latest member
Stanles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top