BC-GT
New Member
Hi All,
I've given up trying to find why this doesn't work and just need to get it working!
I need to lookup prices for products I have codes for that may (or may not) appear in any one of a number of price-list sheets in various files.
I want to use the vlookup values if not zero and not the #N/A error and otherwise continue looking through the other sheets until I do get a legitimate value.
This seems to work except where ISNA is involved, is this a known issue and is there an answer to getting around it?
The gist of my formula is:
IF(OR(VLOOKUP(...sheet1...)=0,ISNA(...sheet1...),"This Text!",VLOOKUP(...sheet1...) *1.3)
where I should either be seeing a valid value or the text (this will be replaced by nested searches through the other sheets once I can solve this bit - unless someone has a tidier idea?) but I am still getting an #N/A returned.
If I try either part without the OR the text shows when it should. As soon as I try both with the OR it goes pear-shaped... (even where the simpler version returns a zero).
I had very little hair to being with but can someone save what little I have left as the only other option I can see is incredibly tedious and massively time-consuming?
Thanks!
I've given up trying to find why this doesn't work and just need to get it working!
I need to lookup prices for products I have codes for that may (or may not) appear in any one of a number of price-list sheets in various files.
I want to use the vlookup values if not zero and not the #N/A error and otherwise continue looking through the other sheets until I do get a legitimate value.
This seems to work except where ISNA is involved, is this a known issue and is there an answer to getting around it?
The gist of my formula is:
IF(OR(VLOOKUP(...sheet1...)=0,ISNA(...sheet1...),"This Text!",VLOOKUP(...sheet1...) *1.3)
where I should either be seeing a valid value or the text (this will be replaced by nested searches through the other sheets once I can solve this bit - unless someone has a tidier idea?) but I am still getting an #N/A returned.
If I try either part without the OR the text shows when it should. As soon as I try both with the OR it goes pear-shaped... (even where the simpler version returns a zero).
I had very little hair to being with but can someone save what little I have left as the only other option I can see is incredibly tedious and massively time-consuming?
Thanks!