LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Same forumula returns both 0 & N/A

Here is the formula I am using. It's virutally the same except for the logical test at the beginning of IF.

=IF(B2=$O$1,((VLOOKUP(A2,Reference!$A$16:$C$35,(IF (VLOOKUP($A$1,Reference!$A$2:$C$13,3,FALSE)=1,2,3) ),FALSE))/52*(VLOOKUP($A$1,Reference!$A$2:$B$13,2,FALSE))*C2 ),0)

In this case is returns 0 when B2 is empty.

=IF(B2<$O$1,((VLOOKUP(A2,Reference!$A$16:$C$35,(I F(VLOOKUP($A$1,Reference!$A$2:$C$13,3,FALSE)=1,2,3 )),FALSE))/52*(VLOOKUP($A$1,Reference!$A$2:$B$13,2,FALSE))*E2 ),0)

In this case, when B2 is empty it results in N/A. Ideally it would return 0 or - (without custom field formatting) or Hiding Error results.

$O$1 is text: Book Media

Any ideas?
 
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
Need help with a look up forumula I haven't seen before Steven Leuck Excel Worksheet Functions 3 November 19th 07 07:00 PM
If forumula for 4 conditions Charles Tippie[_2_] Excel Discussion (Misc queries) 4 September 10th 07 08:34 PM
New Forumula Issue AlienBeans Excel Discussion (Misc queries) 4 May 31st 06 09:37 PM
shortening a forumula Mike_sharp Excel Discussion (Misc queries) 4 May 4th 05 04:54 PM
Help with FORUMULA LoriM Excel Discussion (Misc queries) 0 January 7th 05 07:31 PM


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

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

About Us

"It's about Microsoft Excel"