Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel Formula Gurus - Help!

Thread Tools
 
Search this Thread
 
Old 25 April 2006, 05:04 PM
  #1  
Chris L
Scooby Regular
Thread Starter
 
Chris L's Avatar
 
Join Date: May 2000
Location: MY00,MY01,RX-8, Alfa 147 & Focus ST :-)
Posts: 10,371
Likes: 0
Received 0 Likes on 0 Posts
Default Excel Formula Gurus - Help!

Here's an interesting one for you. Got a simple spreadsheet for working out holidays. Basically it is a grid 31 columns wide and 12 rows deep, representing a calendar year.

Each column is added by =COUNTIF(B3:B14,"H"), where 'H' = a holiday and counts as one. Can I adjust the forumla to add in another character that would represent a half day and therefore have a value of 0.5?

Does that make sense???

Chris
Old 25 April 2006, 06:06 PM
  #2  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

=SUM(COUNTIF(B3:B14,"H")+((COUNTIF(B9:B14,"D")/2)))

Where D would be your half day character
Old 26 April 2006, 04:51 PM
  #3  
Chris L
Scooby Regular
Thread Starter
 
Chris L's Avatar
 
Join Date: May 2000
Location: MY00,MY01,RX-8, Alfa 147 & Focus ST :-)
Posts: 10,371
Likes: 0
Received 0 Likes on 0 Posts
Default

Bob you're a star!

Thanks mate
Old 27 April 2006, 08:28 AM
  #4  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

no problem mate
Old 28 April 2006, 01:08 AM
  #5  
bob269
Scooby Regular
 
bob269's Avatar
 
Join Date: Mar 2003
Posts: 2,654
Likes: 0
Received 1 Like on 1 Post
Default

Originally Posted by bob269
=SUM(COUNTIF(B3:B14,"H")+((COUNTIF(B9:B14,"D")/2)))

Where D would be your half day character
Lol, hope you spotted the typo in that formula, should be B3 on the 2nd bit
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
Ganz1983
Subaru
5
02 October 2015 09:22 AM



Quick Reply: Excel Formula Gurus - Help!



All times are GMT +1. The time now is 12:36 PM.