#1   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 83
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   Report Post  
Posted to microsoft.public.excel.misc
tom tom is offline
external usenet poster
 
Posts: 570
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
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie Formula Question - how to get formula to repeat in each subsequent row? [email protected] New Users to Excel 2 January 10th 10 05:02 PM
Formula Question Ben Excel Worksheet Functions 2 September 27th 08 12:58 PM
Formula question bgrearick Excel Discussion (Misc queries) 1 December 31st 06 09:24 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
question regarding the IF formula Nelly Excel Discussion (Misc queries) 2 November 8th 05 11:49 PM


All times are GMT +1. The time now is 11:30 PM.

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

About Us

"It's about Microsoft Excel"