So I have a function in a spreadsheet that needs to target a dynamic range.
It's a custom function but if you imagine it as the SUM function it will work the same.
So lets say I have a cell that is "=SUM(CD97:CD288)"
In the future I'll add another row of data but I want to avoid having to go in manually and changing it to "=SUM(CD97:CD289)"
What I'm about to propose isn't the correct syntax (I tried it as a shot in the dark) but I think it illustrates what I want well enough:
"=SUM(CD98:CD97.End(xlDown))" -- I know that's VBA and doesn't belong in a formula (right?) but how can I do this?
If you have any questions let me know, thanks for the help!
Bookmarks