Cut Paste macro required

JAVEDR

Board Regular
Joined
Sep 17, 2019
Messages
79
Office Version
  1. 2019
Platform
  1. Windows
  2. Mobile
  3. Web
Hello,
Steps below-

1. Required to sort column A, B, C & D
2. After sort Ankur entries in Column B need below Ravi entries in Column B.

Thanks for your suggestion's and reply


1HeaderHeaderHeader1HeaderHeaderHeader
2Data1RAVIAAA2Data1RAVIAAA
3Data2ANKURBBB4Data3RAVIAAA
4Data3RAVIAAA3Data2ANKURBBB
5Data4ANKURBBB5Data4ANKURBBB
6Data5VIVEKCCC6Data5VIVEKCCC
RAW DATAREQUIRED RESULT
 
@JAVEDR in future please do not mark a post as the solution, when it does not contain one.
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
I was practicing with this, I could get the one column to sort using custom lists, but could not get the other column sorting how you had it.
 
Upvote 0
I was practicing with this, I could get the one column to sort using custom lists, but could not get the other column sorting how you had it.
Hi Dave, thank you once again for your time on this.

Basically manually i used too follow this step to achieve result-

first I sort column A then column B then Column C then column D once sorted in column B group of Ankur entries I cut and paste below Ravi entries.

HeaderHeaderHeaderHeaderHeaderHeaderHeaderHeaderHeaderHeaderHeaderHeader
Data1RAVIAAAMULUNDData6ANKURAAABORIVALI-EASTData1RAVIAAAMULUND
Data2ANKURAAABORIVALI-WESTData2ANKURAAABORIVALI-WESTData3RAVICCCMULUND
Data3RAVICCCMULUNDData7ANKURAAABORIVALI-WESTData6ANKURAAABORIVALI-EAST
Data7ANKURAAABORIVALI-WESTData1RAVIAAAMULUNDData2ANKURAAABORIVALI-WEST
Data5VIVEKBBBData3RAVICCCMULUNDData7ANKURAAABORIVALI-WEST
Data6ANKURAAABORIVALI-EASTData5VIVEKBBBData5VIVEKBBB
RAW DATASORTING DATAFINAL RESULT
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top