Better way to check data between tabs

Nanaia

Active Member
Joined
Jan 11, 2018
Messages
304
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Searching through the forum history I see others have had similar questions without an answer, but persistence prevails so here goes...
The CHECKER tab looks at the OrigCSV tab then at the RevCSV tab and says CHANGED if there is a difference between the two. A sample of the formula used is:
Excel Formula:
=IF(RevCSV!I2=OrigCSV!I2,"","CHANGED")
The relevant Original information is copied to the CHECKER tab in one column (for example, column A) with the next column (column B in the example) indicates whether the original information was changed in the revision.

The issue I'm running into is the RevCSV tab sometimes has lines added or removed in the middle so everything after those additions/removals will show CHANGED because the formula looks at row 2 in the ORIG tab and compares is to row 2 in the REV tab. Is there a way to have it look at the reference cell in the CHECKER tab (column A) and have it search the entire column in the RevCSV tab to find the data instead of only a specific row? Then carry the search across to the other columns? Goodness that sounds terrible. I hope it makes at least a little sense. I've managed to get XL2BB on the computer and copied the tabs for examples in hopes that it helps.

CSV Checker.xlsx
A
1
CHECKER


CSV Checker.xlsx
A
1OPF ID
OrigCSV


CSV Checker.xlsx
T
919.189
RevCSV
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
can you use the match-function and check within a range ?
20220224_01.xlsm
I
2okay
Blad2
Cell Formulas
RangeFormula
I2I2=IF(ISNUMBER(MATCH(REVcsv!I2,OrigCSV!$I$1:$I$1000,0)),"okay","CHANGED")
 
Upvote 0
can you use the match-function and check within a range ?
20220224_01.xlsm
I
2okay
Blad2
Cell Formulas
RangeFormula
I2I2=IF(ISNUMBER(MATCH(REVcsv!I2,OrigCSV!$I$1:$I$1000,0)),"okay","CHANGED")
@BSALV That works for column B on the checker. Do you have any suggestions on how that would be incorporated into the other columns? The Mark number (column A in the checker) would be the linchpin. No matter what row the mark number is in on the RevCSV the information needs to be checked against the original. Would IFS accomplish that? Or maybe IFS AND?
 
Upvote 0

Forum statistics

Threads
1,214,942
Messages
6,122,367
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top