View Single Post
  #2  
Old June 4th, 2010, 11:42 PM posted to microsoft.public.excel.misc
Lars-Åke Aspelin[_4_]
external usenet poster
 
Posts: 74
Default formula question

On Fri, 4 Jun 2010 14:46:14 -0700, tom
wrote:

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