Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2017, 02:28 AM
LynnMac2016 LynnMac2016 is offline AND/OR/IF function ! Windows 7 64bit AND/OR/IF function ! Office 2007
Advanced Beginner
AND/OR/IF function !
 
Join Date: Mar 2016
Posts: 30
LynnMac2016 is on a distinguished road
Default AND/OR/IF function !

Hi

I haven't been on the forum for a while but in desperate need of help.

I have a spreadsheet that I use to track if my team is meeting specific targets. I need a formula that will do the following:-

1. Will return the number of working days from start to end date. Now I have a basic one that is working i.e. =IF(A2="","",IF(ISTEXT(A2),0,NETWORKDAYS(A2,P2,Hol idays))



2. However, the target number of working days is different dependent on whether the team are preparing a variation letter or a contract. So if it's a variation letter that is being prepared then the team have 5 working days to action. However, if it is a contract, they have 8 weeks from employee's start date to complete this. How can I tweak the formula I am using which is =IF(KR2="","",IF((KR2<=5),"Yes","No")), to allow for 8 weeks if it's a contract?

3. There are three different types of contract i.e. Permanent Contract, Temporary Contract No Right to Revert and Temporary Contract with Right to Revert. This value is in cell KL2 as a drop down pick list.

Thoughts, musings?

I'm at a loss.

Lynn
Reply With Quote
  #2  
Old 02-11-2017, 03:04 AM
xor xor is offline AND/OR/IF function ! Windows 10 AND/OR/IF function ! Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I am not sure what you want.

Is it the formula =IF(KR2="","",IF((KR2<=5),"Yes","No")) that you gives you problems?

Can't you try to describe what exactly you want returned if certain criteria are met?
Reply With Quote
  #3  
Old 02-11-2017, 03:24 AM
LynnMac2016 LynnMac2016 is offline AND/OR/IF function ! Windows 7 64bit AND/OR/IF function ! Office 2007
Advanced Beginner
AND/OR/IF function !
 
Join Date: Mar 2016
Posts: 30
LynnMac2016 is on a distinguished road
Default

Thanks for the quick response.

I have a networkdays formula which is working fine ... i then have the formula to show if days are <=5 then target met. This is fine for a letter but if it's a contract then the target is 8 weeks (40 working days)...so need a fix for this formula

=IF(KR2="","",IF((KR2<=5),"Yes","No"))

the type of document to be prepared is in cell KL2 and is a drop down...so user would pick from following list

Permanent Contract
Temporary Contract No Right to Revert
Temporary Contract with Right to Revert
Variation Letter
Sessional Worker Letter

So 5 day KPI for last 2 and 40 for the first 3...

I don't know if I'm making any sense...I hope so!

Lynn
Reply With Quote
  #4  
Old 02-11-2017, 05:16 AM
xor xor is offline AND/OR/IF function ! Windows 10 AND/OR/IF function ! Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Don't know if this is of any help.
Attached Files
File Type: xlsx LynnMac.xlsx (16.1 KB, 11 views)
Reply With Quote
  #5  
Old 02-13-2017, 12:52 AM
LynnMac2016 LynnMac2016 is offline AND/OR/IF function ! Windows 7 64bit AND/OR/IF function ! Office 2007
Advanced Beginner
AND/OR/IF function !
 
Join Date: Mar 2016
Posts: 30
LynnMac2016 is on a distinguished road
Default

Hi

I'm so sorry for confusing things...I have attached an example of my spreadsheet with an explanation of what I'm trying to do...hope this helps...

Thank you for responding.

Lynn
Attached Files
File Type: xlsx LynnMac2016.xlsx (16.0 KB, 10 views)
Reply With Quote
  #6  
Old 02-13-2017, 01:52 AM
xor xor is offline AND/OR/IF function ! Windows 10 AND/OR/IF function ! Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Is it better now?
Attached Files
File Type: xlsx LynnMac2016_2.xlsx (19.5 KB, 12 views)
Reply With Quote
  #7  
Old 02-14-2017, 02:00 AM
xor xor is offline AND/OR/IF function ! Windows 10 AND/OR/IF function ! Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Can't you try to (manually) give more examples in the sheet og expected results maybe with an extra cell for start date for some candidates? I find it a bit difficult to understand what you want.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
AND/OR/IF function ! Restrict Editing function disable insert textbox function IanM_01 Word 5 11-21-2015 02:29 AM
AND/OR/IF function ! #REF! Error in calling VBA function disappears when function is copied lcaretto Excel Programming 2 05-26-2014 07:19 PM
Creating a graph for Future Value function (FV function) bmoody Excel 2 11-06-2013 10:52 AM
AND/OR/IF function ! IF function msheyworth Excel 2 03-28-2013 02:15 AM
if function help jim831 Excel 2 10-29-2010 07:06 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft