Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Zack
 
Posts: n/a
Default words means numbers

is there a way on a time sheet that when i put Holiday or Absent it will the
know that each of the words means 8 hours holiday and 0 hours for Absent on a
time sheet template
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Assume you put these words in column C in C2:C33

Since Absent is zero you only need to count Holidays

=COUNTIF(C2:C32,"Holiday")*8


--
Regards,

Peo Sjoblom

(No private emails please)


"Zack" wrote in message
...
is there a way on a time sheet that when i put Holiday or Absent it will
the
know that each of the words means 8 hours holiday and 0 hours for Absent
on a
time sheet template


  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

Zack

In a cell on your timesheet.........

=IF(A1="absent",0,IF(A1="holiday",8,A1))

If linking to another sheet..........

=IF(Sheet1!A1="absent",0,IF(Sheet1!A1="holiday",8, Sheet1!A1))


Gord Dibben Excel MVP

On Mon, 29 Aug 2005 13:51:50 -0700, "Zack"
wrote:

is there a way on a time sheet that when i put Holiday or Absent it will the
know that each of the words means 8 hours holiday and 0 hours for Absent on a
time sheet template


  #4   Report Post  
Zack
 
Posts: n/a
Default

ok does it mean you can put it anywhere on the spreadsheet, and then if i
type absent in a cell will it know it is 0
"Gord Dibben" wrote:

Zack

In a cell on your timesheet.........

=IF(A1="absent",0,IF(A1="holiday",8,A1))

If linking to another sheet..........

=IF(Sheet1!A1="absent",0,IF(Sheet1!A1="holiday",8, Sheet1!A1))


Gord Dibben Excel MVP

On Mon, 29 Aug 2005 13:51:50 -0700, "Zack"
wrote:

is there a way on a time sheet that when i put Holiday or Absent it will the
know that each of the words means 8 hours holiday and 0 hours for Absent on a
time sheet template



  #5   Report Post  
Zack
 
Posts: n/a
Default

when i insert the word absent in the cell then my overtime # goes to the value
January Total Hours Week 1 Overtime
Monday "absent" 8 #VALUE!



"Gord Dibben" wrote:

Zack

In a cell on your timesheet.........

=IF(A1="absent",0,IF(A1="holiday",8,A1))

If linking to another sheet..........

=IF(Sheet1!A1="absent",0,IF(Sheet1!A1="holiday",8, Sheet1!A1))


Gord Dibben Excel MVP

On Mon, 29 Aug 2005 13:51:50 -0700, "Zack"
wrote:

is there a way on a time sheet that when i put Holiday or Absent it will the
know that each of the words means 8 hours holiday and 0 hours for Absent on a
time sheet template





  #6   Report Post  
Gord Dibben
 
Posts: n/a
Default

Now why didn't I think of that? <g


Gord

On Mon, 29 Aug 2005 15:03:56 -0700, "Peo Sjoblom" wrote:

Assume you put these words in column C in C2:C33

Since Absent is zero you only need to count Holidays

=COUNTIF(C2:C32,"Holiday")*8


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
HOW DO I DISPLAY NUMBERS AS WORDS IN EXCEL 2003? Silvio Excel Discussion (Misc queries) 3 July 29th 05 08:21 PM
how to change numbers into words, Mukesh Dhoot Excel Discussion (Misc queries) 1 March 19th 05 11:48 AM
How do I convert numbers into words in excell worksheet? Surendra Excel Worksheet Functions 1 December 31st 04 12:17 PM
Words > Numbers (i.e. Vanity Phone Numbers) function Don Excel Worksheet Functions 1 December 29th 04 06:10 PM
how do i convert numbers to words MazenBy Excel Worksheet Functions 2 November 16th 04 05:28 PM


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