Good morning people,
i working for a company where i work flexi time, I have over the years used many spreadsheets to try and track my time. I am now trying to create a unique spreadsheet for me to use in the several situations that i come across during the working week.
Now to my problem. in the columns that i have created i would like to have a status column that indicates what sort of of day it for example:
1 = Standard Day
2 = Holiday
3 = Half Holiday
4 = Flexday
5 = Half Flexday
6 = Half Flex Half Holiday
etc, etc
but trying to put the code into one cell for working out what time you have gained in the day is starting to confuse the hell out of me. i have managed to get them working in individual cells but trying to put the code into one i am struggling with as i always seem to find errors and can not clear them.
what i have so far is:
=IF(I4=1,(IF(U4=TRUE,Flexi_End,G4))-(IF(T4=TRUE,Flexi_Start,E4))-Full_Day-Lunch_Duration)
=IF(I4=2,0)
=IF(I4=3,IF(Q4=TRUE,(IF(U4=TRUE,Flexi_End-Lunch_End-Half_Day,G4-Lunch_End-Half_Day)),IF(R4=TRUE,(IF(T4=TRUE,Lunch_Start-Flexi_Start-Half_Day,Lunch_Start-E4-Half_Day)))))
=IF(I4=4,-Full_Day)
=IF(I4=5,IF(Q4=TRUE,(IF(U4=TRUE,Flexi_End-Lunch_End-Full_Day,G4-Lunch_End-Full_Day)),IF(R4=TRUE,(IF(T4=TRUE,Lunch_Start-Flexi_Start-Full_Day,Lunch_Start-E4-Full_Day)))))
=IF(I4=6,-Half_Day)
=IF(I4=7,0)
=IF(I4=8,0)
=IF(I4=9,0)
=IF(I4=10,((IF(G4<CORE_END,MED_END,IF(G4>Flexi_End,Flexi_End,G4)))-(IF(E4>Core_Start,med_start,IF(E4<<FLEXI_START,FLEXI_START,E4))))-FULL_DAY-LUNCH_DURATION)[ CODE]
Flexi_Start,Flexi_Start,E4))))-Full_Day-Lunch_Duration)
now for all the formulars that end with a 0 i can simplify them with the OR function but what ever i do i cannot add them all on the same line. Is there something hidden in excel that will help me create a levelled code? or any pointers or a simplier way of what i am trying to do would be much appreciated.
Thank you in advance
Andy
I am on a Windows 7 Enterprise Laptop running Office 2010.
Edit: i was going to attach the spreadsheet but can't find the function to do that.
i working for a company where i work flexi time, I have over the years used many spreadsheets to try and track my time. I am now trying to create a unique spreadsheet for me to use in the several situations that i come across during the working week.
Now to my problem. in the columns that i have created i would like to have a status column that indicates what sort of of day it for example:
1 = Standard Day
2 = Holiday
3 = Half Holiday
4 = Flexday
5 = Half Flexday
6 = Half Flex Half Holiday
etc, etc
but trying to put the code into one cell for working out what time you have gained in the day is starting to confuse the hell out of me. i have managed to get them working in individual cells but trying to put the code into one i am struggling with as i always seem to find errors and can not clear them.
what i have so far is:
=IF(I4=1,(IF(U4=TRUE,Flexi_End,G4))-(IF(T4=TRUE,Flexi_Start,E4))-Full_Day-Lunch_Duration)
=IF(I4=2,0)
=IF(I4=3,IF(Q4=TRUE,(IF(U4=TRUE,Flexi_End-Lunch_End-Half_Day,G4-Lunch_End-Half_Day)),IF(R4=TRUE,(IF(T4=TRUE,Lunch_Start-Flexi_Start-Half_Day,Lunch_Start-E4-Half_Day)))))
=IF(I4=4,-Full_Day)
=IF(I4=5,IF(Q4=TRUE,(IF(U4=TRUE,Flexi_End-Lunch_End-Full_Day,G4-Lunch_End-Full_Day)),IF(R4=TRUE,(IF(T4=TRUE,Lunch_Start-Flexi_Start-Full_Day,Lunch_Start-E4-Full_Day)))))
=IF(I4=6,-Half_Day)
=IF(I4=7,0)
=IF(I4=8,0)
=IF(I4=9,0)
=IF(I4=10,((IF(G4<CORE_END,MED_END,IF(G4>Flexi_End,Flexi_End,G4)))-(IF(E4>Core_Start,med_start,IF(E4<<FLEXI_START,FLEXI_START,E4))))-FULL_DAY-LUNCH_DURATION)[ CODE]
Flexi_Start,Flexi_Start,E4))))-Full_Day-Lunch_Duration)
now for all the formulars that end with a 0 i can simplify them with the OR function but what ever i do i cannot add them all on the same line. Is there something hidden in excel that will help me create a levelled code? or any pointers or a simplier way of what i am trying to do would be much appreciated.
Thank you in advance
Andy
I am on a Windows 7 Enterprise Laptop running Office 2010.
Edit: i was going to attach the spreadsheet but can't find the function to do that.
Last edited: