Hi,
Thanks for looking at this.
That's interesting. Yes, there are formulas in the cells, with some cells showing "FALSE" as there is nothing to vlookup.
Here are the cell values:
Y6 - "11" ---> "=IF(COUNTA(U8),VLOOKUP(U8,Tables!$E$2:$F$17,2,0))"
Y7 - "5" ---> "=IF(COUNTA(U7),VLOOKUP(U7,Tables!$E$2:$F$17,2,0))"
Y8 - "FALSE" ---> "=IF(COUNTA(U8),VLOOKUP(U8,Tables!$E$2:$F$17,2,0))"
Y9 - "FALSE" ---> "=IF(COUNTA(U9),VLOOKUP(U9,Tables!$E$2:$F$17,2,0))"
Y11 - "5" ---> "=IF(COUNTA(U11),VLOOKUP(U11,Tables!$E$2:$F$17,2,0))"
I just tried to run the function with the value 5 in place of the "FALSE" value. So:
Y6 - "11" ---> "=IF(COUNTA(U8),VLOOKUP(U8,Tables!$E$2:$F$17,2,0))"
Y7 - "5" ---> "=IF(COUNTA(U7),VLOOKUP(U7,Tables!$E$2:$F$17,2,0))"
Y8 - "5" ---> "=IF(COUNTA(U8),VLOOKUP(U8,Tables!$E$2:$F$17,2,0))"
Y9 - "5" ---> "=IF(COUNTA(U9),VLOOKUP(U9,Tables!$E$2:$F$17,2,0))"
Y11 - "5" ---> "=IF(COUNTA(U11),VLOOKUP(U11,Tables!$E$2:$F$17,2,0))"
This resulted in:
VBA
= 6.875
Excel
= 6.8
I should also note that when I take away the second range:
It works fine, regardless of the "FALSE" values.
See the link to the uploaded file below.
Bookmarks