List header columns.

Tom.Jones

Well-known Member
Joined
Sep 20, 2011
Messages
526
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Mobile
List header columns.

In Sheet 1 there are 3 columns (say C, D and E). In each row, starting with row 2, there are 3 items, usually identical. What formula should be used, so if the 3 items in a row are the same then the formula returns "YES". If one of the cells is a different item, then list the header for the column in row 1. All items in columns C, D and E are the result of some formulas. So, there may be empty cells (""), or cells with errors.

Col C..........Col D............Col E
Header1.....Header2......Header3
AA..............AA................AA.................YES
DD..............(empty)........DD..................Header2
MM.............MM..............TT...................Header3
MM.............#N/A...........MM.................Header2
KK...............KK...............KK....................YES
................
................

Thanks.
 

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"

Forum statistics

Threads
1,224,828
Messages
6,181,213
Members
453,024
Latest member
Wingit77

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