Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Nested if statement problem!


Hi i have been given a nested if statement by Aaron as below and
modified it to the bottom statement so that it accumilates 8hrs ever
instance it finds in a named range however the only part that works i
the first section for 8hours but not the latter for 12 hours, can yo
help?

Thanks!

Simon

IF(COUNTIF(Hols1,"Bloggs J"),COUNTIF(Hols1,"Blogg
J")+8,IF(COUNTIF(Hols2,"Bloggs J"),COUNTIF(Hols1,"Bloggs J")+12,0))

=IF(COUNTIF(Hols1,"Bloggs J"),COUNTIF(Hols1,"Blogg
J")*8,IF(COUNTIF(Hols2,"Bloggs J"),COUNTIF(Hols2,"Bloggs J")*12,0)

--
Simon Lloy
-----------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670
View this thread: http://www.excelforum.com/showthread.php?threadid=39090

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Nested if statement problem!


All sorted now thanks to Toppers!

=COUNTIF(Hols1,"Bloggs J")*8+COUNTIF(Hols2,"Bloggs J")*1

--
Simon Lloy
-----------------------------------------------------------------------
Simon Lloyd's Profile: http://www.excelforum.com/member.php...nfo&userid=670
View this thread: http://www.excelforum.com/showthread.php?threadid=39090

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
Nested IF statement WIJ Excel Discussion (Misc queries) 3 October 27th 09 05:39 AM
Nested if statement ? Angelaf Excel Worksheet Functions 3 April 14th 08 02:28 PM
NESTED IF STATEMENT jmsbert Excel Worksheet Functions 10 October 10th 05 04:25 PM
Problem with nested IF_OR statement DOOGIE Excel Worksheet Functions 7 June 24th 05 03:27 AM
7+ nested if statement? Turi Excel Worksheet Functions 3 December 20th 04 07:55 PM


All times are GMT +1. The time now is 01:52 AM.

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"