Okay here we go.
What I have is a excel workbook with a lot of data from columns A to AZ filled with data. What i am trying to do is create a vba code that will take data from two of these columns, and display them on another worksheet.
For example this is what the excel sheet looks like with less columns
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]14545523[/TD]
[TD]adsf[/TD]
[TD]achr[/TD]
[TD]dsaf[/TD]
[/TR]
[TR]
[TD]13252352[/TD]
[TD]sadf[/TD]
[TD]cond[/TD]
[TD]asdf[/TD]
[/TR]
[TR]
[TD]25231552[/TD]
[TD]asdf[/TD]
[TD]rlse[/TD]
[TD]adsf[/TD]
[/TR]
[TR]
[TD]12532352[/TD]
[TD]adsf[/TD]
[TD]rlse[/TD]
[TD]asdf[/TD]
[/TR]
[TR]
[TD]25236364[/TD]
[TD]asff[/TD]
[TD]btfr[/TD]
[TD]asfd[/TD]
[/TR]
</tbody>[/TABLE]
What i would like is a code that could look in column c and identify everything that is not cond or rlse, and throw that into a new column on a different sheet. I would also like whatever corresponding cell in column A data to be transferred into a column on a new work sheet.
This is then the result i would like to see with this data specifically:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]14545523[/TD]
[TD]achr[/TD]
[/TR]
[TR]
[TD]25236364[/TD]
[TD]btfr[/TD]
[/TR]
</tbody>[/TABLE]
Please help!!
What I have is a excel workbook with a lot of data from columns A to AZ filled with data. What i am trying to do is create a vba code that will take data from two of these columns, and display them on another worksheet.
For example this is what the excel sheet looks like with less columns
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[TD]Column C[/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]14545523[/TD]
[TD]adsf[/TD]
[TD]achr[/TD]
[TD]dsaf[/TD]
[/TR]
[TR]
[TD]13252352[/TD]
[TD]sadf[/TD]
[TD]cond[/TD]
[TD]asdf[/TD]
[/TR]
[TR]
[TD]25231552[/TD]
[TD]asdf[/TD]
[TD]rlse[/TD]
[TD]adsf[/TD]
[/TR]
[TR]
[TD]12532352[/TD]
[TD]adsf[/TD]
[TD]rlse[/TD]
[TD]asdf[/TD]
[/TR]
[TR]
[TD]25236364[/TD]
[TD]asff[/TD]
[TD]btfr[/TD]
[TD]asfd[/TD]
[/TR]
</tbody>[/TABLE]
What i would like is a code that could look in column c and identify everything that is not cond or rlse, and throw that into a new column on a different sheet. I would also like whatever corresponding cell in column A data to be transferred into a column on a new work sheet.
This is then the result i would like to see with this data specifically:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]14545523[/TD]
[TD]achr[/TD]
[/TR]
[TR]
[TD]25236364[/TD]
[TD]btfr[/TD]
[/TR]
</tbody>[/TABLE]
Please help!!