Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Helen Black
 
Posts: n/a
Default Converting text to a number


I am trying to do a sheet containing Holidays and Absence my problem is
that if you only have a 1/2 day holiday my formula is counting it as a
full day I need to do.
H = 1 day holiday
HH = Half day holiday
So ideally if they had 1 1/2 days holiday it would show as 1.5 but I do
not know how to do this.
I would be really grateful if some one could help me and show me
whether to use countif or not and how to do the formula.

Thanks

Helen


--
Helen Black
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Try:

=COUNTIF(A:A,"H")+COUNTIF(A:A,"HH")/2

HTH
Jason
Atlanta, GA

-----Original Message-----

I am trying to do a sheet containing Holidays and

Absence my problem is
that if you only have a 1/2 day holiday my formula is

counting it as a
full day I need to do.
H = 1 day holiday
HH = Half day holiday
So ideally if they had 1 1/2 days holiday it would show

as 1.5 but I do
not know how to do this.
I would be really grateful if some one could help me and

show me
whether to use countif or not and how to do the formula.

Thanks

Helen


--
Helen Black
.

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
Defining a number in a cell by text then subtracting it by the tex Crowraine Excel Worksheet Functions 1 December 16th 04 07:49 AM
Converting text to number - how?? yahoo Excel Discussion (Misc queries) 3 December 15th 04 11:01 PM
Formatting a cell as "text" in the number catagory. Ed Excel Worksheet Functions 3 December 7th 04 07:12 PM
What defines number or text Danny J New Users to Excel 3 December 7th 04 07:27 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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