February 20, 2019
October 5, 2010
If there's some relationship or way to identify what you want to sum then you can do this.
But looking at the examples in your workbook, you say that in F5 you want the sum of C11+C28+C46 but I don't see how you know you want to do this.
How will the formula know that it needs to sum C11+C28+C46? What relationship or property identifies these cells as the ones you need to sum?
February 20, 2019
Thank you for your reply, that is the reason i have had a problem to find the right function for that, i don't even know if it is possible to do that without using macros, but i would like to avoid macros if it is possible. Basically, the values in C column are pipe fittings, i am working on a spreadsheet so if there is a pipe let's say 75 meters long, every 5 meters, the fittings change, and i would like the user to be able to choose on each length what the fittings are from that C column. So i'm wondering if that's possible to choose each time what to sum in one reference cell B1, and then transfer it to the F column? Since it would be too complicating if each time the user would have to choose what to sum in every single cell in the F column (the length can be way more that 75 meters in some cases). Also, the number of fittings can change on each cell of the F column, sometimes you have to sum 3 values from C column, sometimes one etc.
If there is a way i can choose what i want to sum in only one reference cell (B1) and then each cell in F column would take that value from B1, it would be very convenient. Or if there another convenient way that could make this easier i would highly appreciate it.
I attached a new excel file if that helps to understand it better.
June 25, 2016