#1   Report Post  
Posted to microsoft.public.excel.misc
LC LC is offline
external usenet poster
 
Posts: 8
Default Count as ½

I am creating a holiday spreadsheet whereby X equals one days' holiday and
X/2 equals a half days holiday. I can't figure out the formula to get the
sheet to count these to get a total of remaining days. I'm not very good
with formulas and I can't make sense of the Help function - so please respond
in very simple terms!!
Thanks so much.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Count as ½

=COUNTIF(rng,"X")+COUNTIF(rng,"X/2")/2

counts the number of holidays

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"LC" wrote in message
...
I am creating a holiday spreadsheet whereby X equals one days' holiday and
X/2 equals a half days holiday. I can't figure out the formula to get the
sheet to count these to get a total of remaining days. I'm not very good
with formulas and I can't make sense of the Help function - so please
respond
in very simple terms!!
Thanks so much.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Count as ½

If it isn't too late to change your mind then I really wouldn't start from
here because it would be far simpler to have 1 = 1 holiday and 1/2 = half a
holiday. However if you can't or dont want to do that try:-

=A3-(COUNTIF(A4:A14,"=x")+COUNTIF(A4:A14,"=x/2")/2)

has the number of holiday in A3 and the number taken either x or x/2 in the
range A4 to A14. Change to suit.

Mike

"LC" wrote:

I am creating a holiday spreadsheet whereby X equals one days' holiday and
X/2 equals a half days holiday. I can't figure out the formula to get the
sheet to count these to get a total of remaining days. I'm not very good
with formulas and I can't make sense of the Help function - so please respond
in very simple terms!!
Thanks so much.

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
Count Employee Work Time - Don't Double-count Overlapping Apts. J Excel Worksheet Functions 0 April 27th 07 05:52 AM
Excel 2000, count, sort a list & count totals? sunslight Excel Worksheet Functions 1 April 9th 07 05:46 PM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
Count Intervals of 2 Numeric values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 12 September 24th 05 10:58 PM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM


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