Forum Discussion
adding downward columns across an excel sheet
I'm going to take a guess here and venture to say you know how to SUM ranges. I'm guessing you're looking for a way to do this with a spill - a single input.
If this is the case, this may work for you:
=BYCOL(arr,LAMBDA(col,SUM(col)))
- mapua21Mar 28, 2023Copper Contributor=BYCOL(arr,(CDEFGHIJKLMN(col,SUM(col)))
thanks Patrick,
here is what I entered but a sign pops up saying "the formula is missing an opening or closing parenthesis"- mathetesMar 28, 2023Silver Contributor
To save Patrick2788 from having to respond, his formula read
=BYCOL(arr,LAMBDA(col,SUM(col)))
Yours is
=BYCOL(arr,(CDEFGHIJKLMN(col,SUM(col))) with the additional, extraneous opening parenthesis highlighted in red. It's that additional one that means you should have four at the end, as contrasted with his three. Or you can remove the red one, which is unnecessary.
HOWEVER, you also have some entirely different grouping of letters, different from his LAMBDA in yours...is that just something that popped up as you wrote your most recent post? For LAMBDA to work, you do need to be working with a Microsoft 365 subscription, by the way.
- mapua21Mar 29, 2023Copper Contributorthank you both for your help, I will check with some people I know here that I can show what I need to see if I can get a quick solution. In the meantime I have done it "longhand" so to speak.
thanks again for your effort, much appreciated.