drag upper cell value from non contiguous cell until empty cell is found vba

namariegaudi

New Member
Joined
Oct 14, 2016
Messages
14
I have a table that looks like this (see below). I want to put in a new column the value that says "Nombre:XXXXXX" until a new value of "Nombre:" is found and then drag that new value intul I have a new column with names repeated. I know some names roll over to other columns and would need to concatenate those first
Nombre:DETERGENTELUBROCLEAN387LT
05/Sep/20A1,025Factura00010,656.00
09/Sep/20A1,026Factura0001,035.00
13/Sep/20A1,027Factura00011,576.00
20/Sep/20A1,030Factura00010,816.00
20/Sep/20A1,031Factura00010,816.00
27/Sep/20A1,033Factura00010,816.00
28/Sep/20A1,036Factura0006,000.00
30/Sep/20A1,037Factura00010,816.00
Nombre:LUBRORUSTOFFPSMLT
20/Sep/20A1,031Factura000400
27/Sep/20A1,033Factura000400
30/Sep/20A1,037Factura000400
Nombre:LUBRODL200/MX/TRNLT
09/Sep/20A1,026Factura00011,000.00
20/Sep/20A1,030Factura00011,000.00
27/Sep/20A1,033Factura0006,000.00
28/Sep/20A1,036Factura0006,000.00
30/Sep/20A1,037Factura0009,000.00
Nombre:FLUIDOSINTENTICOLUBROSINT55LT
09/Sep/20A1,026Factura000800
28/Sep/20A1,036Factura000400
TotalCliente000117,931.00
Nombre:BARRILESMETALICOSSADECV
Nombre:TAMBORVACIO200LTPZA
30/Sep/20A1,038Factura000192

<colgroup><col><col span="4"><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,214,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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