Good afternoon,
I wonder if someone would be able to help me with an issue that I am having.
I have two worksheets in a workbook.
Each row in Column C contains values on either sheet that are sometimes different, and sometimes are the same:
Example:
Sheet1 Sheet2
C C
1 1
2 3
3 2
2 2
5 2
I am trying to create a macro to compare each row in column C on sheet1 and sheet2. And total the results be displayed in cells C2 - C4on Sheet 3. C2 represents "matching", C3 represents "Sheet1 Bigger", C4 represents "Sheet1 Smaller"<SHEET2"< p>
Therefore, the results for the simple example above would appear like so:
Sheet3
C
2
2
<SHEET2 p 1<>1
One final point (as if this wasn't tricky enough ), occasionally a row will have no data - in either sheet - for column C, and so I would like that row to be ignored and not be included in the "matching" result.
I am clueless as to where to start and would be very grateful if someone could help me.
Thank you,
Paul
I wonder if someone would be able to help me with an issue that I am having.
I have two worksheets in a workbook.
Each row in Column C contains values on either sheet that are sometimes different, and sometimes are the same:
Example:
Sheet1 Sheet2
C C
1 1
2 3
3 2
2 2
5 2
I am trying to create a macro to compare each row in column C on sheet1 and sheet2. And total the results be displayed in cells C2 - C4on Sheet 3. C2 represents "matching", C3 represents "Sheet1 Bigger", C4 represents "Sheet1 Smaller"<SHEET2"< p>
Therefore, the results for the simple example above would appear like so:
Sheet3
C
2
2
<SHEET2 p 1<>1
One final point (as if this wasn't tricky enough ), occasionally a row will have no data - in either sheet - for column C, and so I would like that row to be ignored and not be included in the "matching" result.
I am clueless as to where to start and would be very grateful if someone could help me.
Thank you,
Paul