Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default Conditional if a date is valid

I have the following formula already working:

=P19-(IF(AND(P4:P18)=7,0.5,0)*P22)-IF(P4<=5,P4,P4-0.5)-IF(P14<=5,P14,P14-0.5)

currently I have to manually correct p4 and p14 to match if the row where 4
and 14 are Sundays. I.e. If during this payroll, Sunday falls on A5 I
should manually change p4 to p5.

How could I do this automatically, if my dates are in Column A?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Conditional if a date is valid

Hi,

What does A5 have to do with your formula? There are no refernces in the
formula to A5, in fact your formula doesn't refer to any cell in column A.
So what do dates in column A have to do with it?

--
Thanks,
Shane Devenshire


"Connie" wrote:

I have the following formula already working:

=P19-(IF(AND(P4:P18)=7,0.5,0)*P22)-IF(P4<=5,P4,P4-0.5)-IF(P14<=5,P14,P14-0.5)

currently I have to manually correct p4 and p14 to match if the row where 4
and 14 are Sundays. I.e. If during this payroll, Sunday falls on A5 I
should manually change p4 to p5.

How could I do this automatically, if my dates are in Column A?

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 formatting for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
Conditional formatting to highlight the lowest valid value PaladinWhite Excel Worksheet Functions 1 March 25th 08 11:35 PM
Retain Conditional Format When Condition Is No Longer Valid Rob Excel Discussion (Misc queries) 6 December 20th 07 06:26 PM
How to valid the date with given condition? Eric Excel Discussion (Misc queries) 1 August 17th 07 04:33 AM
How to check valid Date value? hstijnen Excel Worksheet Functions 1 August 14th 06 01:25 PM


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