formula question

  • Thread starter Thread starter tom
  • Start date Start date
T

tom

Hello,
I am trying to write a formula that first looksup a number and then runs a
calculation from that number. Here is a look at what I have so far:

First Part:
=IF(ISNA(VLOOKUP($A5,'907100'!$G:$K,5,FALSE)),"",(VLOOKUP($A5,'907100'!$G:$K,5,FALSE)))

Second Part: IF(ISERROR(B5/T$2),"",(B5/T$2))

B5 is where I am writing the formula... I am not sure how to combine them
into one formula.

Thank you,
 
Hello,
I am trying to write a formula that first looksup a number and then runs a
calculation from that number. Here is a look at what I have so far:

First Part:
=IF(ISNA(VLOOKUP($A5,'907100'!$G:$K,5,FALSE)),"",(VLOOKUP($A5,'907100'!$G:$K,5,FALSE)))

Second Part: IF(ISERROR(B5/T$2),"",(B5/T$2))

B5 is where I am writing the formula... I am not sure how to combine them
into one formula.

Thank you,

Try this:

=IF(ISERROR(VLOOKUP($A5,'907100'!$G:$K,5,FALSE)/T$2),"",VLOOKUP($A5,'907100'!$G:$K,5,FALSE)/T$2)

Hope this helps / Lars-Åke
 
Thanks Lars,

Silly me, While waiting on a response I figured it out. Pretty simple
stuff, if I would of taken my time!!

Cheers,
 
Back
Top