Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-29-2013, 10:37 AM
flyinghigher2011 flyinghigher2011 is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2013
Novice
help with complicated formula
 
Join Date: Jul 2013
Posts: 3
flyinghigher2011 is on a distinguished road
Default help with complicated formula

Hi everyone




i need some help with my worksheet, ive scoured many youtube videos and other sites to help but to no avail. i have attached my worksheet for people to take a look at to try and get a grasp of what im on about.


i need some formulas to work out time worked and it needs to incorperate overtime and if someone has a sick day, holiday or just a day off. i need this to be one formula, i also have a section that need to calc working day eg 13 or 15 so if someone works >=13hrs then the box needs to show 13hrs and if 13hrs and 01min it need to show 15. also i need a warning of some sort either by changing the cell colour to red or have pop up to day that if they use a 15hr then they have 2 more 15's left and if they use another the needs to say 1 more left and if last one is used then zero left. this need to calc per weeks. similarly for the driving hours. a driver may extend only twice per week.

oh and when holiday is entered it only pays 8 hours. all info is entered on the userform.

could someone help as im getting desperate now.


many thanks
Paul
Attached Files
File Type: xlsm working progress.xlsm (130.7 KB, 13 views)
Reply With Quote
  #2  
Old 07-29-2013, 11:53 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Hi

quite a large project you require. There are lots of similar solutions on the net. Google around a bit, free solutions enough.
Also your example is a xlsm file. Do you need a VBA answer ?
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 07-29-2013, 06:38 PM
BobBridges's Avatar
BobBridges BobBridges is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Yeah, Paul, I'm with Pecoflyer; this is a lot to pile into one formula. It may be possible (except for coloring the cell; that'll probably take conditional formatting), but even if it is you may be better off doing it with multiple "helping columns".

My recommendation is that you start with Pecoflyer's question, because we need to know whether you want to do this with or without VBA; the answers will differ depending on that. And second, that you tackle this a piece at a time. Start with a simple work-hours calculation. Then add in overtime. Then try to figure out how to handle vacations and holidays. And so on, one piece at a time.
Reply With Quote
  #4  
Old 07-29-2013, 10:16 PM
flyinghigher2011 flyinghigher2011 is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2013
Novice
help with complicated formula
 
Join Date: Jul 2013
Posts: 3
flyinghigher2011 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Do you need a VBA answer ?
I would love some VBA help if you could help that would be great.

thank you
Reply With Quote
  #5  
Old 07-29-2013, 10:19 PM
flyinghigher2011 flyinghigher2011 is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2013
Novice
help with complicated formula
 
Join Date: Jul 2013
Posts: 3
flyinghigher2011 is on a distinguished road
Default

Quote:
Originally Posted by Pecoflyer View Post
Hi

quite a large project you require. There are lots of similar solutions on the net. Google around a bit, free solutions enough.
Also your example is a xlsm file. Do you need a VBA answer ?
i have been hunting around for a while.

Quote:
Originally Posted by BobBridges View Post
try to figure out how to handle vacations and holidays.
ive been trying to workout how to do formula based on words and not numbers but ive not come across any.
Reply With Quote
  #6  
Old 07-29-2013, 11:36 PM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Cross post http://www.excelguru.ca/forums/showt...ted=1#post8595
Please read my signature
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #7  
Old 07-30-2013, 02:16 PM
BobBridges's Avatar
BobBridges BobBridges is offline help with complicated formula Windows 7 64bit help with complicated formula Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

WARNING: I just tried to open your sample .xlsm, flyinghigher, and my copy of Excel claims that what it found there isn't actually an .xlsm format. I didn't open it, of course, but it sounds like it's corrupted.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
help with complicated formula Formula Help OTPM Excel 2 05-22-2013 06:28 AM
Complicated question about multi-level list with body text rhino79 Word 5 08-26-2012 05:17 AM
help with complicated formula Help with Formula Corca Excel 6 02-22-2010 09:40 PM
Using calculated field - WHY IS IT SO COMPLICATED? Riorin Word 0 10-30-2009 12:20 PM
help with complicated formula If formula sixhobbits Excel 1 10-02-2009 08:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:27 PM.


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