I have pasted a sample data set below with required output format, Kindly let me know if the desired output can be generated via formula/Macro.
In my dataset fields are populated with 3 Keywords - Found, Not Found, Updated. I have to consolidate the headers for output field based on the keywords present for each row. Format is "Keywords" followed by "field names" with same keyword seperated by comma and it should end with "fixed." Thanks for any help.
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 48px"><col width="68"><col width="68"><col width="68"><col width="68"><col width="68"><col width="68"><col width="480"></colgroup><tbody>[TR]
[TD="bgcolor: #538ed5"]File No[/TD]
[TD="bgcolor: #538ed5"]Name[/TD]
[TD="bgcolor: #538ed5"]Street[/TD]
[TD="bgcolor: #538ed5"]city[/TD]
[TD="bgcolor: #538ed5"]state[/TD]
[TD="bgcolor: #538ed5"]country[/TD]
[TD="bgcolor: #538ed5"]zip[/TD]
[TD="bgcolor: #a5a5a5"]Expected_Output[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found Name, State fixed. Not Found Street, Country fixed. Updated City, Zip fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Found Street, Country fixed. Not Found City, Zip fixed. Updated Name, State fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Found City, Zip fixed. Not Found Name, State fixed. Updated Street, Country fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Found[/TD]
[TD]Updated[/TD]
[TD]Not Found[/TD]
[TD]Not Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found Name fixed. Not Found City, state, Country fixed. Updated Steet, Zip fixed.[/TD]
[/TR]
</tbody>[/TABLE]
<style type="text/css">
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
In my dataset fields are populated with 3 Keywords - Found, Not Found, Updated. I have to consolidate the headers for output field based on the keywords present for each row. Format is "Keywords" followed by "field names" with same keyword seperated by comma and it should end with "fixed." Thanks for any help.
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 48px"><col width="68"><col width="68"><col width="68"><col width="68"><col width="68"><col width="68"><col width="480"></colgroup><tbody>[TR]
[TD="bgcolor: #538ed5"]File No[/TD]
[TD="bgcolor: #538ed5"]Name[/TD]
[TD="bgcolor: #538ed5"]Street[/TD]
[TD="bgcolor: #538ed5"]city[/TD]
[TD="bgcolor: #538ed5"]state[/TD]
[TD="bgcolor: #538ed5"]country[/TD]
[TD="bgcolor: #538ed5"]zip[/TD]
[TD="bgcolor: #a5a5a5"]Expected_Output[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found Name, State fixed. Not Found Street, Country fixed. Updated City, Zip fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Found Street, Country fixed. Not Found City, Zip fixed. Updated Name, State fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found[/TD]
[TD]Found City, Zip fixed. Not Found Name, State fixed. Updated Street, Country fixed.[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Found[/TD]
[TD]Updated[/TD]
[TD]Not Found[/TD]
[TD]Not Found[/TD]
[TD]Not Found[/TD]
[TD]Updated[/TD]
[TD]Found Name fixed. Not Found City, state, Country fixed. Updated Steet, Zip fixed.[/TD]
[/TR]
</tbody>[/TABLE]
<style type="text/css">
<!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>