Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default how to solve this by countif

anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<1

thank you
driller
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default how to solve this by countif

=SUMPRODUCT(--(holidays<=D4),--(holidays<1))
see

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

http://mcgimpsey.com/excel/formulae/doubleneg.html

happy new year
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"dribler2" wrote in message
...
anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<1

thank you
driller



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default how to solve this by countif

What does the 1 represent? Sunday?

=SUMPRODUCT(--(holidays<=D4),--(WEEKDAY(holidays)<1))

Or:

=SUMPRODUCT(--(holidays<=D4),--(TEXT(holidays,"ddd")<"Sun"))

Biff

"dribler2" wrote in message
...
anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<1

thank you
driller



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default how to solve this by countif

Thanks Sir Bernard

happy holidays
more full power
driller


"Bernard Liengme" wrote:

=SUMPRODUCT(--(holidays<=D4),--(holidays<1))
see

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

http://mcgimpsey.com/excel/formulae/doubleneg.html

happy new year
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"dribler2" wrote in message
...
anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<1

thank you
driller




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default how to solve this by countif

Thank you Sir Biff
Happy holidays
more full power
driller2


"T. Valko" wrote:

What does the 1 represent? Sunday?

=SUMPRODUCT(--(holidays<=D4),--(WEEKDAY(holidays)<1))

Or:

=SUMPRODUCT(--(holidays<=D4),--(TEXT(holidays,"ddd")<"Sun"))

Biff

"dribler2" wrote in message
...
anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<1

thank you
driller




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
sumproduct vs. countif Coal Miner Excel Discussion (Misc queries) 1 June 15th 06 09:34 PM
Countif Formula /Sort Bug??? orcfodder Excel Discussion (Misc queries) 2 January 12th 06 10:04 AM
COUNTIF help Ant Excel Worksheet Functions 4 August 10th 05 09:02 PM
Combining IF and COUNTIF based on two columns maxtrixx Excel Discussion (Misc queries) 5 March 31st 05 06:21 PM
Countif - Countif maswinney Excel Worksheet Functions 3 November 15th 04 11:06 PM


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