+ Reply to Thread
Results 1 to 13 of 13

=if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc's

  1. #1
    Registered User
    Join Date
    04-15-2013
    Location
    Bukoba, Tanzania
    MS-Off Ver
    Excel 2007
    Posts
    9

    =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc's

    Hi,

    I have the formula =IF(B13="","",(DAYS360(B13,$C$6))/360) to count the age of a person on a form. It works perfectly on my 2 laptops (one of which has Windows 7 and I use alternately Excel 2003 and 2010 or 2007) and on this very one I am now using, with Windows 8 and Office 2010. However, when I try to work with the same form on other PC or laptops here at office (having either Windows XP, 7 or 8 - and with either Office 2003 or 2007), the cell returns #VALUE!

    I certainly have made sure that the cell-formatting (date formatting 01/01/2013) is correct in both cells.

    Any clue why the formula does not work again?

    I will appreciate a solution indeed (forms to work with are some 400...)

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    The only thing I can think of, is hit the upper left "Office" icon , and check the formulas setting, advanced settings and/or trust settings, all 3 of theses can affect what happens with the calculations, also, I would try to use the evaluate formula tool to see WHY it gives a #value! error,this could be a simple error in data transfer, or a completely un-recgonised add-in that does not exist on the office computers (although that should generally lead to a #name! error, if the name is the same, it could give the #value! error as well)
    please check these and advise
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    04-15-2013
    Location
    Bukoba, Tanzania
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    Hello,

    I haven't succeeded through checking the advised settings (I don't see a difference in formula/advanced/trust
    center settings between my laptop (where formula in cell B14 in enclosed sheet R0003 works) and the tabletop, where it returns the #VALUE!

    Any further ideas?
    Attached Files Attached Files

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    On MY computer, I see NO errors, is it possible to upload a sample from one of the computers that give you the errors?
    ( I'm not truly sure this will help, but if it errors when the solution is uploaded from one of those, then maybe we can narrow the problem down )

    EDIT-
    just thought of another posible cause..."sharing" can be a possible cause, if you allow sharing on your home network, but it is not allowed at work, this may cause problems
    (or vice versa)
    Last edited by dredwolf; 11-03-2013 at 01:24 AM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    I tried it too, and it works for me - Win 8, excel 2007 and 2010
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    04-15-2013
    Location
    Bukoba, Tanzania
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    Hi,

    sharing certainly also is not part of the problem ,


    Marjatta N-B

  7. #7
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    perhaps the regional settings are different. if the value in B13 is not recognized as a date you will get a #VALUE error
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  8. #8
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    I'm not sure why you get problems with that formula. Are you trying to get the age as a decimal number of years (that's what you'll get with DAYS360 unless you are displaying as an integer)? If so then YEARFRAC should give you the same result

    =IF(B13="","",YEARFRAC($C$6,B13))

    [you need Analysis ToolPak add-in enabled to use YEARFRAC inExcel 2003]

    or if you only want the age as a number of years try DATEDIF

    =IF(B13="","",DATEDIF(B13,$C$6,"y"))
    Last edited by daddylonglegs; 11-04-2013 at 10:30 AM.
    Audere est facere

  9. #9
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    It probably is a regional settings issue.
    Does the problematic computer have it's own version of the same file?
    Or are you taking a working copy of the file from a working pc to the problematic pc via Flash Drive or email etc?

    On the problematic PC, what do these formulas return
    =ISNUMBER(C6)
    =ISNUMBER(B13)

  10. #10
    Registered User
    Join Date
    04-15-2013
    Location
    Bukoba, Tanzania
    MS-Off Ver
    Excel 2007
    Posts
    9

    Smile Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    Thank you so much for the correct formula:

    =IF(B13="","",DATEDIF(B13,$C$6,"y"))[/QUOTE]

    however - even this does not solve the problem I have,

    Marjatta

  11. #11
    Registered User
    Join Date
    04-15-2013
    Location
    Bukoba, Tanzania
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    Hello,

    I have been using the very same file from a flash memory now, when trying to solve the issue - and
    indeed this formula you gave gives different values on these different computers:

    on one which calculates correctly:
    =ISNUMBER(C6) GIVES "TRUE"
    =ISNUMBER(C13) GIVES "FALSE"

    So strangely enough, despite of the "FALSE" for C13 it gives the correct value for age.

    on one which returns !ERROR#:
    =ISNUMBER(C6) GIVES "FALSE"
    =ISNUMBER(C13) GIVES "FALSE"

    However, the date formats are (in both) English (UK) and the date format also the same.

    Note, that even when I replace my formula with the correct one kindly provided by daddylonglegs, the outcome is (on both computers) as before: some computers calculate correctly, some other do not.

    .... any hope still to solve the riddle???

    Marjatta
    Last edited by marjattanb; 11-07-2013 at 03:54 AM.

  12. #12
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    Quote Originally Posted by marjattanb View Post
    However, the date formats are (in both) English (UK) and the date format also the same.
    are you talking about the cell formats on the worksheet or the regional settings on the computer

  13. #13
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: =if(b13="","",(days360(b13,$c$6))/360) - formula works on my laptop - not on other pc'

    I think regional settings found in Control Panel..
    just a hinch you have dates 4/5/1994 and formatting another one with 14.10.2013
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  2. [SOLVED] Pasting values between ranges in different workbooks: "Range" works but "Cells" doesn't
    By Flaubert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2013, 01:19 PM
  3. Open files from FTP server (works with "servername" but doesn't work with "ip address")
    By adammsu1983 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2012, 04:30 PM
  4. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  5. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1