Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default More than 3 conditional statements or macro or ??

have a spreadsheet where the cells are formated for time. I have set up 3
conditional formating formulas, (1) colors the cell gray if it is a weekend,
(2) colors the cell green if it is a US holiday, (3) colors the cell yellow
if the value in it indicates the person was more than 3 minutes late for work.
My boss wants to make the following additions: if the person is sick the
cell is pink, if the person is on vacation is it orange, if the person takes
a personal day it is light blue, if the person is taking FMLA it is purple.
And he wants to be able to enter a number in hours for that event (ie., FMLA
= 4 hours, vacation = 8 hours, sick = 2 hours, etc.)
Any ideas anyone? Is there some VB code I could use? How would I test for
FMLA vs. vacation vs personal, etc.?

Next questions will be regarding how to total each category.

Thanks for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default More than 3 conditional statements or macro or ??

http://www.xldynamic.com/source/xld.....Download.html

--
HTH

Bob

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

"rstruhs" wrote in message
...
have a spreadsheet where the cells are formated for time. I have set up 3
conditional formating formulas, (1) colors the cell gray if it is a
weekend,
(2) colors the cell green if it is a US holiday, (3) colors the cell
yellow
if the value in it indicates the person was more than 3 minutes late for
work.
My boss wants to make the following additions: if the person is sick the
cell is pink, if the person is on vacation is it orange, if the person
takes
a personal day it is light blue, if the person is taking FMLA it is
purple.
And he wants to be able to enter a number in hours for that event (ie.,
FMLA
= 4 hours, vacation = 8 hours, sick = 2 hours, etc.)
Any ideas anyone? Is there some VB code I could use? How would I test
for
FMLA vs. vacation vs personal, etc.?

Next questions will be regarding how to total each category.

Thanks for your help!



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
Conditional IF statements sike11 via OfficeKB.com Excel Worksheet Functions 9 January 19th 07 08:15 PM
Conditional statements in MS-Query? Jim Moberg Excel Discussion (Misc queries) 0 October 5th 06 07:27 PM
Conditional Statements Robert Albrecht Excel Discussion (Misc queries) 2 October 3rd 06 08:29 PM
combining conditional statements wrosie Excel Worksheet Functions 4 November 29th 05 09:59 AM
iF STATEMENTS WITHIN CONDITIONAL FORMATS E Halliday Excel Worksheet Functions 4 February 23rd 05 01:05 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"