Hi all,
Firstly, thank you for allowing me to join your forum.
I have Vlookup formula...
=IFNA(VLOOKUP(A12,Sheet1!$D$28:$N$76,7),0)
it works, it returns that value. See below. It's looking for the GL code 301000 on this sheet in a table on a second sheet, then returning the data in the 7th column. Simple. The cell below it is a simple = of it.
So then I try to copy the same formula, to some cells below it.
Now, these codes don't exist in the second sheet yet. They will at some point later in the year, as more transactions happen in the books (the second sheet is a trial balance), but you can see here, the cell labeled PO-10-02 is returning #Value.
I'm stuck. I want this sheet that you can see here to be static, and unchanging. It contains all the possible GL codes. The table the vlookup is searching through will change from month to month as different types of accounting transactions take place. I will just adjust the size of the area the vlookup is searching as necessary and copy the formula down again.
So, how do I stop the results from the vlookup for cells who's GL code doesn't exist from breaking any sums that are referencing them?
Many thanks.
Matt
Firstly, thank you for allowing me to join your forum.
I have Vlookup formula...
=IFNA(VLOOKUP(A12,Sheet1!$D$28:$N$76,7),0)
it works, it returns that value. See below. It's looking for the GL code 301000 on this sheet in a table on a second sheet, then returning the data in the 7th column. Simple. The cell below it is a simple = of it.
So then I try to copy the same formula, to some cells below it.
Now, these codes don't exist in the second sheet yet. They will at some point later in the year, as more transactions happen in the books (the second sheet is a trial balance), but you can see here, the cell labeled PO-10-02 is returning #Value.
I'm stuck. I want this sheet that you can see here to be static, and unchanging. It contains all the possible GL codes. The table the vlookup is searching through will change from month to month as different types of accounting transactions take place. I will just adjust the size of the area the vlookup is searching as necessary and copy the formula down again.
So, how do I stop the results from the vlookup for cells who's GL code doesn't exist from breaking any sums that are referencing them?
Many thanks.
Matt