Forum Discussion
RanzieJ
Aug 11, 2022Copper Contributor
EXCEL - HOW TO MOVE MULTIPLE DATA (ONLY) FROM COLUMN TO OTHER COLUMN BLANK
Good day, can i ask for help regarding my problem in excel?
i want to move/cut data from "Credit account" to the left "Debit Account" . I have a hundred transactions 😞 i cant move it one by one.
Thank You!
- SekoleyteIron Contributor
Hi there.
Filter the credit account and choose the range like this:
Then fill them left like that:
- LorenzoSilver Contributor
- Harun24HRBronze Contributor
RanzieJ You need VBA coding to cut/move data. Give a try on below sub. Assuming you Credit Account column is B. You have to adjust Range("B2:B200") for you real case.
Sub MoveData() Dim rng As Range For Each rng In Range("B2:B200") If rng <> "" Then rng.Offset(, -1) = rng rng.Clear End If Next rng End Sub
- RanzieJCopper ContributorWoahh, i think this is too advance. Can you teach me step by step, please? 😞
- sivakumarrjBrass Contributor
Simply select Column B & Column C,
Under Data heading Click filter button
Select Column B with Blanks
Next Select Column C with Cash or Cash in Hand
Now it will display with rows of Cash
Type formula in Cell B5 = C5(Cash)
then copy formula and then do special paste with values
after that you delete the b column