• @[email protected]
    link
    fedilink
    English
    13
    edit-2
    19 hours ago

    It’s always been possible to format a range before inputting data. It won’t be interpreted that way.

    It only does that when it’s formatet as “General” aka “Nobody knows what the fuck I’m about to do”.

    It would probably be more beneficial to change the default format to something else.

    • @[email protected]
      link
      fedilink
      English
      1
      edit-2
      10 hours ago

      It only does that when it’s formatet as “General” aka “Nobody knows what the fuck I’m about to do”.

      How about handling that as plain text?

      Edit: wait, table calculation, what did i think? Well, i hadn’t slebt much or good the last few days and 12 hours now, so there.

    • @[email protected]
      link
      fedilink
      English
      118 hours ago

      It would probably be more beneficial to change the default format to something else.

      AfaIk this is not possible. Or MS doesn’t allow it. User Defined would be pretty useless if MS would simply stop interpretating what I want to do in general

      • @[email protected]
        link
        fedilink
        English
        2
        edit-2
        17 hours ago
        function validate(val) 
           try:  
               cast val as numeric
           except:
              print "Oops, not a number"
              cast val as general  ## date or whatever 
        end
        
        validate(12.5)     ## returns 12.5
        validate("12.5")   ## returns 12.5
        validate("12 . 5") ## returns a date maybe
        
        
      • @[email protected]
        link
        fedilink
        English
        117 hours ago

        I mean, MS should change the default.

        As a user, the only way currently is to make a template document and use that as a default when creating a new book.

      • DacoTaco
        link
        English
        1
        edit-2
        18 hours ago

        You most certainly can. You can set the format of a cell, and if its set to number 12.5 will be 12.5, it wont even try date formats…

          • DacoTaco
            link
            English
            113 hours ago

            Thats a locale issues that excel has and cant fix ( for compatibility reasons ). Its one of the reasons i hate excel haha. But not related to cell types

            • Fushuan [he/him]
              link
              fedilink
              English
              113 hours ago

              No, I know. I can fix it, but old sheets and stubborn colleagues and clients and my fucking grandma won’t.

              My point was more related with excel manipulating input incorrectly because of Unspecified.

        • @pyre
          link
          English
          217 hours ago

          they’re talking about defaults, as in when you create a new file the first thing you do is type a number and not get interpreted as a date.