Hello!
I have a scenario I am trying to solve and I hope this forum can help me.
I have 2 spreadsheets with data that I need to compare and flag if a certain fact is found.
There would be a table of information on each that looks like this:
<tbody>
</tbody>
The second spreadsheet may not contain the same number of rows as the first. If money is owed, then the row will appear in the second spreadsheet. If not then it will be absent.
I want to check to see whether the sum of the dollar amounts corresponding to each name on one spreadsheet is greater or equal to the sum of the dollar amounts corresponding to each name on the other spreadsheet. If this proves false, i'd like the font in the offending rows to turn bold and red.
Is there a way to do this using a macro or VBA script? If so, what would it look like?
Any help would be greatly appreciated!
Mark
I have a scenario I am trying to solve and I hope this forum can help me.
I have 2 spreadsheets with data that I need to compare and flag if a certain fact is found.
There would be a table of information on each that looks like this:
Number | Name | Amount |
1 | Louis CK | $100,000 |
2 | Sandler Adam | $50,000 |
3 | Rock Chris | $40,000 |
4 | Carrey Jim | $25,000 |
5 | Carrey Jim | $56,000 |
6 | Sandler Adam | $23,000 |
7 | Jocey Steve | $43,000 |
8 | Woods Tiger | $12,000 |
9 | Rock Chris | $15,000 |
10 | Rock Chris | $45,000 |
<tbody>
</tbody>
The second spreadsheet may not contain the same number of rows as the first. If money is owed, then the row will appear in the second spreadsheet. If not then it will be absent.
I want to check to see whether the sum of the dollar amounts corresponding to each name on one spreadsheet is greater or equal to the sum of the dollar amounts corresponding to each name on the other spreadsheet. If this proves false, i'd like the font in the offending rows to turn bold and red.
Is there a way to do this using a macro or VBA script? If so, what would it look like?
Any help would be greatly appreciated!
Mark