overwrite headers after match

Starchaser

New Member
Joined
Mar 4, 2017
Messages
7
Hi everybody,

in my example I would like the following :

1. in sheet "Original" I want the headers to be compared with column A of sheet "Match". If there's a match, the header should be overwritten with the text of column B.

I allready figured out how to make the match (INDEX - MATCH formula), but I'm stuck with overwriting the headers

2. The columns marked with "-" should be deleted

Thank you for the advice

Sheet "match" :
ArticleART
Description FR-
Description DARTNAME
Supplier RefSUPCODE
BUYER PRBPR
REDUCTIONRED1
NETT-
SELLING PRSPR
SELLING PR VAT-
PACKAGE-
UNIT FR-
UNIT DUNIT
MIN Q ORDERMINQ
VOLUME FR-
VOLUME D-
VATVATCODE
BEBAT -
EZB-
HEADGRHDGRP
SUBSUBGRP
<colgroup><col width="149" style="width: 112pt; mso-width-source: userset; mso-width-alt: 5290;"> <col width="91" style="width: 68pt; mso-width-source: userset; mso-width-alt: 3242;"> <tbody> </tbody>

Sheet "Original" :
ArticleDescription FRDescription DSupplier RefBUYER PRREDUCTIONNETTSELLING PRSELLING PR VATPACKAGEUNIT FRUNIT DMIN Q ORDERVOLUME FRVOLUME DVATBEBAT EZBHEADGRSUB
<colgroup><col width="46" style="width: 34pt; mso-width-source: userset; mso-width-alt: 1621;"> <col width="93" style="width: 70pt; mso-width-source: userset; mso-width-alt: 3299;"> <col width="87" style="width: 65pt; mso-width-source: userset; mso-width-alt: 3100;"> <col width="80" style="width: 60pt; mso-width-source: userset; mso-width-alt: 2844;"> <col width="66" style="width: 50pt; mso-width-source: userset; mso-width-alt: 2360;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="38" style="width: 29pt; mso-width-source: userset; mso-width-alt: 1365;"> <col width="76" style="width: 57pt; mso-width-source: userset; mso-width-alt: 2702;"> <col width="105" style="width: 79pt; mso-width-source: userset; mso-width-alt: 3726;"> <col width="65" style="width: 49pt; mso-width-source: userset; mso-width-alt: 2304;"> <col width="55" style="width: 41pt; mso-width-source: userset; mso-width-alt: 1962;"> <col width="50" style="width: 37pt; mso-width-source: userset; mso-width-alt: 1763;"> <col width="91" style="width: 68pt; mso-width-source: userset; mso-width-alt: 3242;"> <col width="79" style="width: 59pt; mso-width-source: userset; mso-width-alt: 2816;"> <col width="74" style="width: 55pt; mso-width-source: userset; mso-width-alt: 2616;"> <col width="32" style="width: 24pt; mso-width-source: userset; mso-width-alt: 1137;"> <col width="50" style="width: 37pt; mso-width-source: userset; mso-width-alt: 1763;"> <col width="30" style="width: 22pt; mso-width-source: userset; mso-width-alt: 1052;"> <col width="58" style="width: 43pt; mso-width-source: userset; mso-width-alt: 2048;"> <col width="32" style="width: 24pt; mso-width-source: userset; mso-width-alt: 1137;"> <tbody> </tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,214,940
Messages
6,122,361
Members
449,080
Latest member
Armadillos

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