List header columns.

Tom.Jones

Well-known Member
Joined
Sep 20, 2011
Messages
507
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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,214,653
Messages
6,120,750
Members
448,989
Latest member
mariah3

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