realniceguy5000
Board Regular
- Joined
- Aug 19, 2008
- Messages
- 148
Hello, I currently have the 1st formula below which has been working just fine, however now that we have duplicate lot numbers in a column and it now returns the same value for both item numbers. What I would like is it to look at an additional column to separate these type of problems. Here is the formula I need to edit:
Basically I need to merge the formula above with this one below
Could someone help me complete this? Thanks as always for the help. Mike
Code:
=IF(ISERROR(VLOOKUP(E2&"",OFFSET('Lot Scans'!$A$1,0,0,COUNTA('Lot Scans'!$A:$A),5),5,FALSE)),0,VLOOKUP(E2&"",OFFSET('Lot Scans'!$A$1,0,0,COUNTA('Lot Scans'!$A:$A),5),5,FALSE))
Code:
=IF(ISERROR(VLOOKUP(D2&"",OFFSET('Lot Scans'!$B$2,0,0,COUNTA('Lot Scans'!$B:$B),4),4,FALSE)),0,VLOOKUP(D2&"",OFFSET('Lot Scans'!$B$2,0,0,COUNTA('Lot Scans'!$B:$B),4),4,FALSE))