A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

formula question



 
 
Thread Tools Display Modes
  #1  
Old June 4th, 2010, 10:46 PM posted to microsoft.public.excel.misc
Tom
external usenet poster
 
Posts: 1,359
Default formula question

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,

  #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
  #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
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.