Forum Discussion
EExmannhotmailcom
Jul 10, 2024Copper Contributor
Problem with moving formula to new column
Problem with moving formula to new column, it affects the next formula in the same row. Which makes the second formula incorrect!
Current formula: "=(CW786-BS786)/(AANTAL.LEGE.CELLEN(BS786:CW786)+1)" move 3 position to right
New formula: "=(CZ786-BS786)/(AANTAL.LEGE.CELLEN(BS786:CZ786)+1)" changes columns like they should be changed.'
I move the formula by selecting the formula; then hit shift-DEL skip three or any number of columns to left and insert it on the new position by shift-INS.
The same happens for a different number of columns; and it also works for left and right move.
PROBLEM: Next formula in same row is affected:
before move: "=(dc786-cw786)/(AANTAL.LEGE.CELLEN(cw786:dc786)+1"
After moving of first formula (3 positions to the right) gives:
"=(dc786-cz786)/(AANTAL.LEGE.CELLEN(cx786:dc786)+1"; while it should read:
"=(dc786-cz786)/(AANTAL.LEGE.CELLEN(cz786:dc786)+1".
Notice the change in columns in first and second part of the formula; the first part is changed correctly, but the second part of the formula is off by one column (CX instead of CZ).
Error in Excel?
This makes that I must correct the second formula by hand, because it is changed by moving the first formula; the change is incorrect in the second part.
Does anyone experience the same or has anyone a solution for me.
Probleem met het verplaatsen van de formule naar een nieuwe kolom. Dit heeft invloed op de volgende formule in dezelfde rij. Wat de tweede formule onjuist maakt!
Huidige formule: "=(CW786-BS786)/(AANTAL.LEGE.CELLEN(BS786:CW786)+1)" verplaats 3 posities naar rechts
Nieuwe formule: "=(CZ786-BS786)/(AANTAL.LEGE.CELLEN(BS786:CZ786)+1)" verandert kolommen zoals ze zouden moeten worden gewijzigd.'
Ik verplaats de formule door de formule te selecteren; druk dan op shift-DEL, sla drie of een willekeurig aantal kolommen naar links over en plaats het op de nieuwe positie met shift-INS.
Hetzelfde gebeurt voor een ander aantal kolommen; en het werkt ook voor bewegingen naar links en naar rechts.
PROBLEEM: De volgende formule in dezelfde rij wordt beïnvloed:
vóór de verplaatsing: "=(dc786-cw786)/(AANTAL.LEGE.CELLEN(cw786:dc786)+1"
Na verplaatsing van de eerste formule (3 posities naar rechts) geeft:
"=(dc786-cz786)/(AANTAL.LEGE.CELLEN(cx786:dc786)+1"; terwijl het zou moeten luiden:
"=(dc786-cz786)/(AANTAL.LEGE.CELLEN(cz786:dc786)+1".
Let op de verandering in kolommen in het eerste en tweede deel van de formule; het eerste deel is correct gewijzigd, maar het tweede deel van de formule wijkt één kolom af (CX in plaats van CZ).
Fout in Excel?
Dit zorgt ervoor dat ik de tweede formule met de hand moet corrigeren, omdat deze wordt gewijzigd door de eerste formule te verplaatsen; de verandering in het tweede deel is niet correct is.
Heeft iemand hetzelfde probleem, of heeft iemand een oplossing voor mij.
I can't reproduce the problem.
If I use Shift+Delete and Shift+Insert or Ctrl+X and Ctrl+V to cut and paste, the formula remains exactly the same: the cell references are unchanged. This also holds if I simply drag a cell three columns to the right.
If I use Ctrl+C and Ctrl+V to copy and paste, all cell references are shifted 3 columns to the right.
- EExmannhotmailcomCopper ContributorHi Hans,
Can't explain it either. I created a new worksheet, copied the raw-data in. Moved the formula,
3 to the right: Oké.
5 to the right, Oké.
3 to the right, Oké.
7 to the LEFT bingo error in the second part of the formula where I try to determine the number of empty cells, to create the correct output.
But normally I would only move the formula to the right.
In this case I wanted to reproduce the error.
Kind regards, Eddy - EExmannhotmailcomCopper ContributorHallo Hans,
Thanks for your reply.
I doesn't resolve my problem, but i'm not telling story's it actually happens, and don't know why.
Sometimes it's oke, but most of the times I have to go and correct the second formula, why? Don't know. Dos speed of the processor - busy processor influence this, can't imagine, but its a computer!
Kind regards EddyI don't doubt your experience, but I cannot explain it.