Cells will become 0 automatically without changing formula

1. 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

2. Re: 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

``Please Login or Register  to view this content.``
Note: Study Leave has a space in the end & half pay leaf has a typo i guess. Both needs to be corrected if needed.

3. Re: Cells will become 0 automatically without changing formula

In E5 Cell
Formula:
`Please Login or Register  to view this content.`

Drag it down...

4. Re: Cells will become 0 automatically without changing formula

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

5. Re: Cells will become 0 automatically without changing formula

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

6. Re: Cells will become 0 automatically without changing formula

Originally Posted by elayaz
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
Why cells B5 & C5 blank at cells E5 have 1 not 0

7. Re: Cells will become 0 automatically without changing formula

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.``

8. Re: Cells will become 0 automatically without changing formula

Originally Posted by elayaz
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.``
if i use this formula 1/1/2013 - 2/7/2013 in e5 181 day. i want 182 day because i count 1 month average 30 day. 1/1/2013 - 30/6/2013 = 180 day, 1/7/2013 - 2/7/2013 = 2 day. All day is 182.

9. Re: Cells will become 0 automatically without changing formula

Try this...

Formula:
`Please Login or Register  to view this content.`

10. Re: Cells will become 0 automatically without changing formula

Originally Posted by :) Sixthsense :)
Try this...

Formula:
`Please Login or Register  to view this content.`
how to include word automatically in E5. Example : 182 day

11. Re: Cells will become 0 automatically without changing formula

Originally Posted by redza
how to include word automatically in E5. Example : 182 day
Try this...

Formula:
`Please Login or Register  to view this content.`

12. Re: Cells will become 0 automatically without changing formula

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.``

13. Re: Cells will become 0 automatically without changing formula

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

14. Re: Cells will become 0 automatically without changing formula

Originally Posted by elayaz
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.``
formula that is correct

15. Re: Cells will become 0 automatically without changing formula

Originally Posted by redza
Can or not in excel fix date based on year
Since it is a new question please mark this thread as solved and start a new thread.

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

X vBulletin 4.1.8 Debug Information

• Page Generation 0.08151 seconds
• Memory Usage 9,302KB
• Queries Executed 16 (?)
Template Usage (36):
• (5)bbcode_code
• (6)bbcode_quote
• (1)footer
• (1)forumrules
• (1)gobutton
• (15)memberaction_dropdown
• (1)navbar
• (4)navbar_noticebit
• (6)option
• (2)postbit_attachment
• (15)postbit_legacy
• (15)postbit_onlinestatus
• (15)postbit_wrapper
• (1)spacer_close
• (1)spacer_open
• (1)tagbit_wrapper

Phrase Groups Available (6):
• global
• inlinemod
• postbit
• posting
• reputationlevel
Included Files (39):
• ./vbseo.php
• ./env.php
• ./vbseo/includes/functions_vbseo.php
• ./vbseo/includes/functions_vbseo_pre.php
• ./vbseo/includes/functions_vbseo_url.php
• ./vbseo/includes/functions_vbseo_createurl.php
• ./vbseo/includes/functions_vbseo_db.php
• ./vbseo/includes/functions_vbseo_vb.php
• ./vbseo/includes/functions_vbseo_seo.php
• ./vbseo/includes/functions_vbseo_misc.php
• ./vbseo/includes/functions_vbseo_crr.php
• ./vbseo/includes/functions_vbseo_cache.php
• ./vbseo/includes/functions_vbseo_hook.php
• ./vbseo/includes/functions_vbseo_startup.php
• ./includes/config.php
• ./global.php
• ./includes/class_bootstrap.php
• ./includes/init.php
• ./includes/class_core.php
• ./includes/functions.php
• ./includes/class_friendly_url.php
• ./includes/class_hook.php
• ./includes/functions_cforum.php
• ./includes/functions_bigthree.php
• ./includes/class_postbit.php
• ./includes/class_bbcode.php
• ./includes/functions_reputation.php
• ./includes/class_bootstrap_framework.php
• ./vb/vb.php
• ./vb/phrase.php
• ./packages/vbattach/attach.php
• ./vb/types.php
• ./vb/cache.php
• ./vb/cache/db.php
• ./vb/cache/observer/db.php
• ./vb/cache/observer.php
• ./includes/functions_notice.php

Hooks Called (49):
• init_startup
• friendlyurl_resolve_class
• database_pre_fetch_array
• database_post_fetch_array
• global_bootstrap_init_start
• global_bootstrap_init_complete
• cache_permissions
• fetch_foruminfo
• global_state_check
• global_bootstrap_complete
• global_start
• style_fetch
• global_setup_complete
• friendlyurl_redirect_canonical
• bbcode_fetch_tags
• bbcode_create
• postbit_factory
• postbit_display_start
• cache_templates
• template_register_var
• parse_templates
• notices_check_start
• notices_noticebit
• process_templates_complete
• reputation_image
• postbit_imicons
• bbcode_parse_start
• bbcode_parse_complete_precache
• bbcode_parse_complete
• postbit_attachment
• postbit_display_complete
• memberaction_dropdown
• tag_fetchbit_complete