Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default If/Or/VLookup Formula

The VLookup portion of this formula works. I tacked on the OR portion and
cant get things to operate. If cell T40 is zero, or has a (legitimate)
#DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.

=(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12 ,2)))

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,758
Default If/Or/VLookup Formula

Maybe...

=(IF(OR(T40=0,ISERROR(t40)),"",VLOOKUP(T40,$AT$8:$ AU$12,2)))

Phil Hageman wrote:

The VLookup portion of this formula works. I tacked on the OR portion and
cant get things to operate. If cell T40 is zero, or has a (legitimate)
#DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.

=(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12 ,2)))


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 268
Default If/Or/VLookup Formula

=IF(OR(ISERROR(T40),T40=0,T40=""),"",VLOOKUP(T40,$ AT$8:$AU$12,2))

"Phil Hageman" wrote:

The VLookup portion of this formula works. I tacked on the OR portion and
cant get things to operate. If cell T40 is zero, or has a (legitimate)
#DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.

=(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12 ,2)))

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 81
Default If/Or/VLookup Formula

Kassie and Dave,

Thanks for your answer - both formulas worked. Appreciate the help.

Phil

"Kassie" wrote:

=IF(OR(ISERROR(T40),T40=0,T40=""),"",VLOOKUP(T40,$ AT$8:$AU$12,2))

"Phil Hageman" wrote:

The VLookup portion of this formula works. I tacked on the OR portion and
cant get things to operate. If cell T40 is zero, or has a (legitimate)
#DIV/0! Error, I want cell T40 blank, otherwise execute the VLookup.

=(IF(OR(T40=0,ISERROR,""),VLOOKUP(T40,$AT$8:$AU$12 ,2)))

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
How do I combine a VLOOKUP formula and a NETWORKDAYS formula? Tracy Excel Worksheet Functions 2 October 15th 09 04:14 PM
Alternative formula to the vlookup formula? Victor Excel Worksheet Functions 2 May 12th 08 04:38 PM
convert vlookup formula to link formula AFA Excel Worksheet Functions 0 February 20th 08 04:24 AM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM
a possible vlookup formula....help changetires Excel Discussion (Misc queries) 0 June 23rd 06 02:05 AM


All times are GMT +1. The time now is 04:58 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"