Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default IF function - missing 1 IF and more

Hello this is my formula

=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week=-37.5,"",IFVLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)
Week = named ranged for 37.5 (normal working hours in a week) if the
person has not submitted the report I do not want the answer to be -37.50 but
"" (blank) if the person submitted the report and did not work overtime or
worked less than 37.5 the answer should also be blank, if the person did
work overtime then the hours less 37.50 Example hours worked 45.50 so
overtime would be 8 hours . thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF function - missing 1 IF and more


Wanna Learn;232425 Wrote:
Hello this is my formula

=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week=-37.5,"",IFVLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)
Week = named ranged for 37.5 (normal working hours in a week) if
the
person has not submitted the report I do not want the answer to be
-37.50 but
"" (blank) if the person submitted the report and did not work overtime
or
worked less than 37.5 the answer should also be blank, if the person
did
work overtime then the hours less 37.50 Example hours worked
45.50 so
overtime would be 8 hours . thanks


Does this help ?

=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)<=37.5,"",V LOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=64887

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default IF function - missing 1 IF and more

Thanks This works , except if the person did not submit the report I get
#NA. If the person did not submit the report I want it to be blank so I
added the following to the formula
=IF(ISERROR(VLOOKUP(B3,TB!B3:J125,9,FALSE)),"
",IF(VLOOKUP($B3,TB!$B$10:$J$125,9,FALSE)<=37. 5,"
",VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)) I still bet #NA thanks in
advance


"Pecoflyer" wrote:


Wanna Learn;232425 Wrote:
Hello this is my formula

=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week=-37.5,"",IFVLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)
Week = named ranged for 37.5 (normal working hours in a week) if
the
person has not submitted the report I do not want the answer to be
-37.50 but
"" (blank) if the person submitted the report and did not work overtime
or
worked less than 37.5 the answer should also be blank, if the person
did
work overtime then the hours less 37.50 Example hours worked
45.50 so
overtime would be 8 hours . thanks


Does this help ?

=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)<=37.5,"",V LOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=64887


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default IF function - missing 1 IF and more


Wanna Learn;232510 Wrote:
Thanks This works , except if the person did not submit the report I
get
#NA. If the person did not submit the report I want it to be blank so
I
added the following to the formula
=IF(ISERROR(VLOOKUP(B3,TB!B3:J125,9,FALSE)),"
",IF(VLOOKUP($B3,TB!$B$10:$J$125,9,FALSE)<=37. 5,"
",VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)) I still bet #NA thanks
in
advance


"Pecoflyer" wrote:


Wanna Learn;232425 Wrote:
Hello this is my formula


=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week=-37.5,"",IFVLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)
Week = named ranged for 37.5 (normal working hours in a week)

if
the
person has not submitted the report I do not want the answer to be
-37.50 but
"" (blank) if the person submitted the report and did not work

overtime
or
worked less than 37.5 the answer should also be blank, if the

person
did
work overtime then the hours less 37.50 Example hours

worked
45.50 so
overtime would be 8 hours . thanks


Does this help ?


=IF(VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)<=37.5,"",V LOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week)


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster

------------------------------------------------------------------------
Pecoflyer's Profile: 'The Code Cage Forums - View Profile: Pecoflyer'

(http://www.thecodecage.com/forumz/me...pecoflyer.html)
View this thread: 'IF function - missing 1 IF and more - The Code

Cage Forums' (http://www.thecodecage.com/forumz/sh...ad.php?t=64887)



A little faster would be
=IF(or(countif(B3,TB!B3:B125)=0,VLOOKUP($B3,TB!$B$ 10:$J$125,9,FALSE)<=37.
5),"",VLOOKUP($B3,TB!$B$3:$J$125,9,FALSE)-Week))


--
Pecoflyer

Cheers -
*'Membership is free' (http://www.thecodecage.com)* & allows file
upload -faster and better answers

*Adding your XL version* to your post helps finding solution faster
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=64887

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
XIRR - Function Missing OS Excel Discussion (Misc queries) 1 May 11th 08 02:38 AM
Missing function in Excel Marie-Eve Excel Worksheet Functions 3 August 8th 07 04:49 PM
Function Missing Savillehead Excel Discussion (Misc queries) 2 March 22nd 07 11:45 AM
Excel Missing Function gdb Setting up and Configuration of Excel 1 January 15th 05 09:45 PM
Missing function in Excel 2003 Galldrian Excel Discussion (Misc queries) 2 November 30th 04 12:34 PM


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