Help!

D

Doug

How can I modify this function so that If it returns a 0 due to no change in
data, it will not interrupt Conditional Formatting? I have CF set to show 2
standard dev and above, but it won't work with this formula.

=(VLOOKUP($Q842,Import!$Q:$CA,3,FALSE)/(VLOOKUP($Q842,'Old
Import'!$Q:$CA,3,FALSE)))-1
 
B

Bob Phillips

Do you mean

=IF(ISNA((VLOOKUP($Q842,Import!$Q:$CA,3,FALSE)/(VLOOKUP($Q842,'Old
Import'!$Q:$CA,3,FALSE)))),0,
VLOOKUP($Q842,Import!$Q:$CA,3,FALSE)/(VLOOKUP($Q842,'Old
Import'!$Q:$CA,3,FALSE))-1)
 
D

Doug

I just tried this and it returns zeros all through the column. Can you see
what I did wrong?

=IF(ISNA((VLOOKUP($S3,Import!$P:$CA,4,FALSE)/(VLOOKUP($S3,'Old
Import'!$P:$CA,4,FALSE)))),0,
VLOOKUP($S3,Import!$P:$CA,4,FALSE)/(VLOOKUP($S3,'Old
Import'!$P:$CA,4,FALSE))-1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top