View Single Post
  #3  
Old June 5th, 2010, 12:21 AM posted to microsoft.public.excel.misc
Tom
external usenet poster
 
Posts: 1,359
Default formula question

Thanks Lars,

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

Cheers,


"Lars-Åke Aspelin" wrote:

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
.