Hi All
I need help . Can or not if i use this formula =IF(OR(B5="",C5=""),0,DAYS360($B5,$C5,TRUE)+1) , If unpaid leave, half-pay leave and study leave, total days cells will become 0 automatically without changing formula
Hi All
I need help . Can or not if i use this formula =IF(OR(B5="",C5=""),0,DAYS360($B5,$C5,TRUE)+1) , If unpaid leave, half-pay leave and study leave, total days cells will become 0 automatically without changing formula
Hello,
Not sure, what you are referring as without changing formula. See if this helps. In E5, paste the below formula and copy down
Note: Study Leave has a space in the end & half pay leaf has a typo i guess. Both needs to be corrected if needed.Please Login or Register to view this content.
In E5 Cell
Formula:Please Login or Register to view this content.
Drag it down...
If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
Mark your thread as Solved
If the suggestion helps you, then Click *below to Add Reputation
how about if there is additional 1 columns. If unpaid leave, half-pay leave and study leave, total column will be 360 and total day colum will become 0
Just reverse the true, false value in sixth sense formula,
=IF(OR(B5="",C5="",ISNUMBER(MATCH(D5,REASON,0))),DAYS360($B5,$C5,TRUE)+1,0) - in E5 and drag down
=IF(OR(B5="",C5="",ISNUMBER(MATCH(D5,REASON,0))),0,DAYS360($B5,$C5,TRUE)+1) - IN F5 and drag down
That's because the original formula which you don't want to change had DAYS360 +1
Try this altered sixth sense formula in E5 and drag down
Please Login or Register to view this content.
Try this...
Formula:Please Login or Register to view this content.
Try this...
Formula:Please Login or Register to view this content.
Sixth sense formula should work for you. Else wrap another if function in the original sixth sense formula
Please Login or Register to view this content.
Can or not in excel fix date based on year
A1 (YEAR) 2004
B1 (FROM) 1/1
C1 (TO) 2/7
I key in only 1/1 or 2/7 and the date change 1/1/2004 or 2/7/2004 based on year at cells A1
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks