Your formula is kinda wacky. If you post a .zip sample of your file, it will be easier to fix it for you.
I'll give it a shot:
1. You do not need two IFs to start it off. =IF(ISNUMBER($B33) should suffice
2. LEFT($C33="P") should be LEFT($C33)="P"
3. You have too many conditional "answers". Here is the progression of the formula:
a. If B33 is a number, then match B33 in AcctNum. If not, then IF the first letter of C33 is a P, match B33 with Acctline. If C33 is not a P, then match B33 with reportLine. I'm not sure how invalid and valid play into the equation.
Again, post a .zip sample, and I'm sure we can figure it out.
Bookmarks