Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Greater than 5 days formula

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Greater than 5 days formula

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Greater than 5 days formula

Thanks bj. What if I only want to count working days?

"bj" wrote:

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 96
Default Greater than 5 days formula

Use the WORKDAY function in your If statement. It is in the Analysis
Toolpack addin if it isn't in your Excel already.

Hope that helps.

"Rachael F" wrote:

Thanks bj. What if I only want to count working days?

"bj" wrote:

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Greater than 5 days formula

=if(networKdays(B1,A1,holiday_range_if _wanted)5,"Failed","Passed")
you have to have the analysis toolpac added for this to work.
the holiday range is optional. Check help for more info.

"Rachael F" wrote:

Thanks bj. What if I only want to count working days?

"bj" wrote:

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 16
Default Greater than 5 days formula

Thanks bj.

Leading on from my original question, how can the formula
'=if(networKdays(B1,A1,holiday_range_if _wanted)5,"Failed","Passed")' be
changed to incorporate the following:

if A1 is blank, base the calculation on C1 instead




"bj" wrote:

=if(networKdays(B1,A1,holiday_range_if _wanted)5,"Failed","Passed")
you have to have the analysis toolpac added for this to work.
the holiday range is optional. Check help for more info.

"Rachael F" wrote:

Thanks bj. What if I only want to count working days?

"bj" wrote:

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Greater than 5 days formula

=if(A1="",if(networKdays(B1,C1,holiday_range_if
_wanted)5,"Failed","Passed"),if(networKdays(B1,A1 ,holiday_range_if
_wanted)5,"Failed","Passed"))

would be one option

"Rachael F" wrote:

Thanks bj.

Leading on from my original question, how can the formula
'=if(networKdays(B1,A1,holiday_range_if _wanted)5,"Failed","Passed")' be
changed to incorporate the following:

if A1 is blank, base the calculation on C1 instead




"bj" wrote:

=if(networKdays(B1,A1,holiday_range_if _wanted)5,"Failed","Passed")
you have to have the analysis toolpac added for this to work.
the holiday range is optional. Check help for more info.

"Rachael F" wrote:

Thanks bj. What if I only want to count working days?

"bj" wrote:

=if(A1B1+5,"Failed","Passed")

"Rachael F" wrote:

I would like help with a formula for the following:

If A1 is more than 5 working days greater than B1 = 'Failed'
If A1 is equal to or less than 5 working days greater than B1 = 'Passed'

Many thanks.

Rachael

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
Re Change 5 week days to 7 days in this formula pano Excel Worksheet Functions 7 February 1st 07 04:20 PM
Greater than formula Angela Excel Worksheet Functions 2 January 22nd 07 01:47 PM
Greater than formula Tracey Excel Worksheet Functions 2 January 5th 06 09:02 PM
Greater than formula! nekteo Excel Worksheet Functions 2 December 29th 05 05:09 PM
formula for Greater of C or D X E [email protected] Excel Discussion (Misc queries) 2 October 11th 05 07:26 PM


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