#1   Report Post  
Posted to microsoft.public.excel.newusers
Chi Chi is offline
external usenet poster
 
Posts: 69
Default formula

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter U for Unplanned Absence. If I enter U, U, and U, then the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day off.
However, the problem comes when the employee takes a half- day off. What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,624
Default formula

How are you designating a half-day off in your worksheet?

In article ,
Chi wrote:

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter U for Unplanned Absence. If I enter U, U, and U, then the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day off.
However, the problem comes when the employee takes a half- day off. What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi

  #3   Report Post  
Posted to microsoft.public.excel.newusers
Chi Chi is offline
external usenet poster
 
Posts: 69
Default formula

I really have no clues. I hope I can use the same worksheet for full day off.

I need another fomular for half day off, but I don't know how to update the
formula (= COUNTIF($B10:$AF10,"U") so that I will work for the hald day off.

Please give me some ideas or weblinks so that I can learn.
Thanks
Chi

"JE McGimpsey" wrote:

How are you designating a half-day off in your worksheet?

In article ,
Chi wrote:

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter âœU❠for Unplanned Absence. If I enter U, U, and U, then the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day off.
However, the problem comes when the employee takes a half- day off. What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi


  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default formula

You'll need another reference for the half day ... so use something like
"U/2".

Then try this:

=COUNTIF(B10:AF10,"U")+COUNTIF(B10:AF10,"U/2")/2

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Chi" wrote in message
...
I really have no clues. I hope I can use the same worksheet for full day
off.

I need another fomular for half day off, but I don't know how to update the
formula (= COUNTIF($B10:$AF10,"U") so that I will work for the hald day
off.

Please give me some ideas or weblinks so that I can learn.
Thanks
Chi

"JE McGimpsey" wrote:

How are you designating a half-day off in your worksheet?

In article ,
Chi wrote:

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter ?oU? for Unplanned Absence. If I enter U, U, and U, then
the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day off.
However, the problem comes when the employee takes a half- day off. What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi




  #5   Report Post  
Posted to microsoft.public.excel.newusers
Chi Chi is offline
external usenet poster
 
Posts: 69
Default formula

Hi,

Thank you for giving me the fomular. I really appreciate for your help.
However, it doesn't work. I enterred U/2 in the cell, the result was 1. I
hope that if I enterred U/2 in the cell, the result will be 1/2 instead of 1.
Please help.

Thanks
Chi

"RagDyeR" wrote:

You'll need another reference for the half day ... so use something like
"U/2".

Then try this:

=COUNTIF(B10:AF10,"U")+COUNTIF(B10:AF10,"U/2")/2

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Chi" wrote in message
...
I really have no clues. I hope I can use the same worksheet for full day
off.

I need another fomular for half day off, but I don't know how to update the
formula (= COUNTIF($B10:$AF10,"U") so that I will work for the hald day
off.

Please give me some ideas or weblinks so that I can learn.
Thanks
Chi

"JE McGimpsey" wrote:

How are you designating a half-day off in your worksheet?

In article ,
Chi wrote:

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter â?oUâ? for Unplanned Absence. If I enter U, U, and U, then
the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day off.
However, the problem comes when the employee takes a half- day off. What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi







  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default formula

What formula did you use ... *exactly*?
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Chi" wrote in message
...
Hi,

Thank you for giving me the fomular. I really appreciate for your help.
However, it doesn't work. I enterred U/2 in the cell, the result was 1. I
hope that if I enterred U/2 in the cell, the result will be 1/2 instead of

1.
Please help.

Thanks
Chi

"RagDyeR" wrote:

You'll need another reference for the half day ... so use something like
"U/2".

Then try this:

=COUNTIF(B10:AF10,"U")+COUNTIF(B10:AF10,"U/2")/2

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Chi" wrote in message
...
I really have no clues. I hope I can use the same worksheet for full day
off.

I need another fomular for half day off, but I don't know how to update

the
formula (= COUNTIF($B10:$AF10,"U") so that I will work for the hald day
off.

Please give me some ideas or weblinks so that I can learn.
Thanks
Chi

"JE McGimpsey" wrote:

How are you designating a half-day off in your worksheet?

In article ,
Chi wrote:

Hi,

I used COUNTIF function to create an attendance-tracking sheet.

I use letter â?oUâ? for Unplanned Absence. If I enter U, U, and U,

then
the
number 3 will appear in the formula cell: = COUNTIF($B10:$AF10,"U").

There is no problem with the formula if the employee takes full day

off.
However, the problem comes when the employee takes a half- day off.

What
formula I should use if the employee takes a half day off ?

Please help

Thank you
Chi





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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 03:15 AM.

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"