Spreadsheet Comparison
Closed
DCecil07
Posts
30
Registration date
Monday March 15, 2010
Status
Member
Last seen
September 15, 2010
-
Apr 30, 2010 at 09:27 PM
DCecil07 Posts 30 Registration date Monday March 15, 2010 Status Member Last seen September 15, 2010 - May 7, 2010 at 09:51 AM
DCecil07 Posts 30 Registration date Monday March 15, 2010 Status Member Last seen September 15, 2010 - May 7, 2010 at 09:51 AM
Related:
- When you wrote incorrect functions, what did you learn about spreadsheet data?
- Spreadsheet function - Guide
- Tmobile data check - Guide
- We weren't able to confirm your identity from the video you submitted. you can submit a new video and we'll review it again. learn more. - Instagram Forum
- Google spreadsheet right to left - Guide
- We weren't able to confirm your identity from the video you submitted. you can submit a new video and we'll review it again. learn more. thanks, the instagram team ✓ - Instagram Forum
5 responses
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
May 4, 2010 at 09:07 PM
May 4, 2010 at 09:07 PM
my macro should work whatever the number of rows and columns provided there is not blank cell.
for j=1 to rlast
checks every row and within each row
for k=1 to clast
checks every column
that means every cell in the data base.
so it is not clear where the error occurs. how to help without seeing the organisation of your data. for security reasons can you not replace the data entries by fictitious data. and upload. small extract will do. full data base may not be necessary. configuration and not the values need be seen.
for j=1 to rlast
checks every row and within each row
for k=1 to clast
checks every column
that means every cell in the data base.
so it is not clear where the error occurs. how to help without seeing the organisation of your data. for security reasons can you not replace the data entries by fictitious data. and upload. small extract will do. full data base may not be necessary. configuration and not the values need be seen.
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Apr 30, 2010 at 11:47 PM
Apr 30, 2010 at 11:47 PM
I am afraid my previous reply was not recorded property. that is why this duplicate
try this macro (you have to use save the file as .xlsm)
try this macro (you have to use save the file as .xlsm)
Sub test() Dim rlast As Integer, clast As Integer, j As Integer, k As Integer Worksheets("sheet3").Activate Cells.Interior.ColorIndex = xlNone rlast = Range("A1").End(xlDown).Row clast = Range("A1").End(xlToRight).Column For j = 1 To rlast For k = 1 To clast If Worksheets("sheet3").Cells(j, k) <> Worksheets("sheet1").Cells(j, k) Then Worksheets("sheet3").Cells(j, k).Interior.ColorIndex = 3 End If Next k Next j End Sub
DCecil07
Posts
30
Registration date
Monday March 15, 2010
Status
Member
Last seen
September 15, 2010
May 3, 2010 at 12:52 PM
May 3, 2010 at 12:52 PM
For the code below, you have 'For J' and 'For K'. If the actual spreadsheet I am working with has to compare the entire sheet, how would I figure that into the code?
I am getting a 'Run-Time Error '6'' for this one. "Overflow"
Please help.
I am getting a 'Run-Time Error '6'' for this one. "Overflow"
Please help.
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
May 3, 2010 at 09:05 PM
May 3, 2010 at 09:05 PM
it works in the sample spreadsheet you have given earlier. there was not bug.
can you upload your actual spreadsheet in
https://authentification.site
delete the password. and post the url where the sheet is uploaded.
can you upload your actual spreadsheet in
https://authentification.site
delete the password. and post the url where the sheet is uploaded.
Didn't find the answer you are looking for?
Ask a question
DCecil07
Posts
30
Registration date
Monday March 15, 2010
Status
Member
Last seen
September 15, 2010
May 4, 2010 at 12:01 PM
May 4, 2010 at 12:01 PM
The spreadsheet that I provided was just an example. The actual data that I have contains personal data that I cannot post over the internet. The actual spreadsheet that I have contains more data that the sample given. It could contain more info at times too. I would need something that would take 'Sheet 1' and it's entirety as well as 'Sheet 2' and compare.
May 7, 2010 at 09:51 AM