CALC: How do I separate multiple cell notation? Make A1:A3 become A1,A2,A3

Basically just list all the cells individually. This makes it so that I can move cells around without changing the SUM.

You’d have to do that manually. However, you can move the entire cell range A1:A3 at once and the reference gets adjusted to the new target.

Yeah, I know that moving it all will change reference, but I need to move individual things.

So if I have 300 things in an array, I just have to click on each thing individually. That’s incredibly cumbersome. It’s difficult to believe that something as powerful as Calc can’t do such a seemingly basic task without being tedious.

Having to treat extremely scattered cells with SUM might indicate a bad design of the sheet.

Be careful! No spreadsheet SUM function will actually cope with any arbitrary number of parameters. My recent test shows the last 144 values added. Is this a bug? Somewhere a maximum length of such a list will be specified. I don’t know whether or not also is specified how a function should answer if the limit was violated … Be careful!

May I supply you with something to start with:
A1;A2;A3;A4;A5;A6;A7;A8;A9;A10;A11;A12;A13;A14;A15;A16;A17;A18;A19;A20;A21;A22;A23;A24;A25;A26;A27;A28;A29;A30;A31;A32;A33;A34;A35;A36;A37;A38;A39;A40;A41;A42;A43;A44;A45;A46;A47;A48;A49;A50;A51;A52;A53;A54;A55;A56;A57;A58;A59;A60;A61;A62;A63;A64;A65;A66;A67;A68;A69;A70;A71;A72;A73;A74;A75;A76;A77;A78;A79;A80;A81;A82;A83;A84;A85;A86;A87;A88;A89;A90;A91;A92;A93;A94;A95;A96;A97;A98;A99;A100;A101;A102;A103;A104;A105;A106;A107;A108;A109;A110;A111;A112;A113;A114;A115;A116;A117;A118;A119;A120;A121;A122;A123;A124;A125;A126;A127;A128;A129;A130;A131;A132;A133;A134;A135;A136;A137;A138;A139;A140;A141;A142;A143;A144;A145;A146;A147;A148;A149;A150;A151;A152;A153;A154;A155;A156;A157;A158;A159;A160;A161;A162;A163;A164;A165;A166;A167;A168;A169;A170;A171;A172;A173;A174;A175;A176;A177;A178;A179;A180;A181;A182;A183;A184;A185;A186;A187;A188;A189;A190;A191;A192;A193;A194;A195;A196;A197;A198;A199;A200;A201;A202;A203;A204;A205;A206;A207;A208;A209;A210;A211;A212;A213;A214;A215;A216;A217;A218;A219;A220;A221;A222;A223;A224;A225;A226;A227;A228;A229;A230;A231;A232;A233;A234;A235;A236;A237;A238;A239;A240;A241;A242;A243;A244;A245;A246;A247;A248;A249;A250;A251;A252;A253;A254;A255;A256;A257;A258;A259;A260;A261;A262;A263;A264;A265;A266;A267;A268;A269;A270;A271;A272;A273;A274;A275;A276;A277;A278;A279;A280;A281;A282;A283;A284;A285;A286;A287;A288;A289;A290;A291;A292;A293;A294;A295;A296;A297;A298;A299;A300;A301;A302;A303;A304;A305;A306;A307;A308;A309;A310;A311;A312;A313;A314;A315;A316;A317;A318;A319;A320;A321;A322;A323;A324;A325;A326;A327;A328;A329;A330;A331;A332;A333;A334;A335;A336;A337;A338;A339;A340;A341;A342;A343;A344;A345;A346;A347;A348;A349;A350;A351;A352;A353;A354;A355;A356;A357;A358;A359;A360;A361;A362;A363;A364;A365;A366;A367;A368;A369;A370;A371;A372;A373;A374;A375;A376;A377;A378;A379;A380;A381;A382;A383;A384;A385;A386;A387;A388;A389;A390;A391;A392;A393;A394;A395;A396;A397;A398;A399;A400

Simply delete the tail you don’t need and then start moving “things”.

What you suppose to be a simple task is not, in fact. Concatenating 400 cell addresses was.

Now for 400 cells in a row:

A1;B1;C1;D1;E1;F1;G1;H1;I1;J1;K1;L1;M1;N1;O1;P1;Q1;R1;S1;T1;U1;V1;W1;X1;Y1;Z1;AA1;AB1;AC1;AD1;AE1;AF1;AG1;AH1;AI1;AJ1;AK1;AL1;AM1;AN1;AO1;AP1;AQ1;AR1;AS1;AT1;AU1;AV1;AW1;AX1;AY1;AZ1;BA1;BB1;BC1;BD1;BE1;BF1;BG1;BH1;BI1;BJ1;BK1;BL1;BM1;BN1;BO1;BP1;BQ1;BR1;BS1;BT1;BU1;BV1;BW1;BX1;BY1;BZ1;CA1;CB1;CC1;CD1;CE1;CF1;CG1;CH1;CI1;CJ1;CK1;CL1;CM1;CN1;CO1;CP1;CQ1;CR1;CS1;CT1;CU1;CV1;CW1;CX1;CY1;CZ1;DA1;DB1;D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R1;MS1;MT1;MU1;MV1;MW1;MX1;MY1;MZ1;NA1;NB1;NC1;ND1;NE1;NF1;NG1;NH1;NI1;NJ1;NK1;NL1;NM1;NN1;NO1;NP1;NQ1;NR1;NS1;NT1;NU1;NV1;NW1;NX1;NY1;NZ1;OA1;OB1;OC1;OD1;OE1;OF1;OG1;OH1;OI1;OJ1;OK1;OL1;OM1;ON1;OO1;OP1;OQ1;OR1;OS1;OT1;OU1;OV1;OW1;OX1;OY1;OZ1;PA1;PB1;PC1;PD1;PE1;PF1;PG1;PH1;PI1;PJ1;PK1;PL1;PM1;PN1;PO1;PP1;PQ1;PR1;PS1;PT1;PU1;PV1;PW1;PX1;PY1;PZ1;QA1;QB1;QC1;QD1;QE1;QF1;QG1;QH1;QI1;QJ1;QK1;QL1;QM1;QN1;QO1;QP1;QQ1;QR1;QS1;QT1;QU1;QV1;QW1;QX1;QY1;QZ1;RA1;RB1;RC1;RD1;RE1;RF1;RG1;RH1;RI1;RJ1;RK1;RL1;RM1;RN1

Hi

I agree with already given good advices (data organization, number of function parameters).

However, if the affected ranges are not too big (still 100 cells in the attached example) you can get the result in two steps as in the attached example.

  1. generate a matrix with a formula ="A"&ROW(A2:A101)&";" (validate with Ctrl+Shift+Enter) - Note: I use the “;” as an argument separator. Adapt it to your environment.
  2. Select the Result range (Ctrl+/ keypad to select the current matrix), Right click then Merge Cells and answer Yes to the question “Should the contents of the hidden cells Be Moved Into the first cell?”

You get the list of arguments that you can copy to edit your formula.

In the Separate.ods attached example:

  • the formula and the data is in column A,
  • the matrix column B,
  • the result of the merge is in column C,
  • and the new formula in D1