Move descriptions

Status
Not open for further replies.

Panoos64

Well-known Member
Joined
Mar 1, 2014
Messages
882
Hi all, I would like to write a VBA code so that, to run through col. “F” and rows down and where exist bold descriptions should move them to adjacent cells in col. “A”​
Therefore, that the code should start from “F11”. Below I present the original data and the expected result. Thanking you in advance

ORIGINAL DATA


A
B
C
D
E
F
G
H
J
9
Date
TYPE
CODE
DEPARTMENT/REF.
ENTRY #
DEPARTMENT
DESCRIPTION
AMOUNT
10
11
17-07-16
RUR
202060
RESTAURANT 120125
120125
RESTAURANT
LEMONADE SQUASH
120.25
12
22-07-16
ISS
202075
RESTAURANT 121255
121255
RESTAURANT
REFRESHMENTS
250.48
13
RESTAURANT TOTAL
370.73
14
15
12-06-18
PUR
202088
POOL BAR 121230
121230
POOL BAR
ORANGE SQUASH
108.95
16
17-06-18
ISS
202095
POOL BAR 121345
121345
POOL BAR
GRENADINE SYRUP
95.45
17
13-07-18
PUR
202009
POOL BAR 122478
122478
POOL BAR
ICE TEA
150.45
18
POOL BAR TOTAL
354.85

<tbody>
</tbody>



EXPECTED RESULT



A
B
C
D
E
F
G
H
J
9
Date
TYPE
CODE
DEPARTMENT/REF.
ENTRY #
DEPARTMENT
DESCRIPTION
AMOUNT
10
11
17-07-16
RUR
202060
RESTAURANT 120125
120125
RESTAURANT
LEMONADE SQUASH
120.25
12
22-07-16
ISS
202075
RESTAURANT 121255
121255
RESTAURANT
REFRESHMENTS
250.48
13
RESTAURANT TOTAL
370.73
14
15
12-06-18
PUR
202088
POOL BAR 121230
121230
POOL BAR
ORANGE SQUASH
108.95
16
17-06-18
ISS
202095
POOL BAR 121345
121345
POOL BAR
GRENADINE SYRUP
95.45
17
13-07-18
PUR
202009
POOL BAR 122478
122478
POOL BAR
ICE TEA
150.45
18
POOL BAR TOTAL
354.85

<tbody>
</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Status
Not open for further replies.

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

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