I want 0.0 in formula.
Manage your personal finances in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: I want 0.0 in formula.

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    206
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    Ihave,..in L44, =(L43-L41>=0)*0+(L43-L41<90)*L43-L41
    This formula works fine;L43-L41=L44,
    ....................... 8.0-9.0=-0.5 or
    ....................... 9.0-8.0=0.5
    What i need is for L44 to =0.0,untill i enter a number into L43. what im getting is - the number in L41 or -8.0,,-9.0 whats wrong with where i am.

  2. #2
    MrExcel MVP Barrie Davidson's Avatar
    Join Date
    Feb 2002
    Location
    Winnipeg
    Posts
    2,330
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-05 09:45, cblincoln43 wrote:
    Ihave,..in L44, =(L43-L41>=0)*0+(L43-L41<90)*L43-L41
    This formula works fine;L43-L41=L44,
    ....................... 8.0-9.0=-0.5 or
    ....................... 9.0-8.0=0.5
    What i need is for L44 to =0.0,untill i enter a number into L43. what im getting is - the number in L41 or -8.0,,-9.0 whats wrong with where i am.
    If I understand your formula, I would try this:
    =IF(L43=0,0,(L43-L41<90)*L43-L41)

    Regards,
    Barrie Davidson

    "You're only given a little spark of madness. You mustn't lose it." - Robin Williams

  3. #3
    MrExcel MVP Barrie Davidson's Avatar
    Join Date
    Feb 2002
    Location
    Winnipeg
    Posts
    2,330
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Note, I took out
    (L43-L41>=0)*0
    because this will always equate to zero (multiplying by zero).


    Barrie Davidson

    "You're only given a little spark of madness. You mustn't lose it." - Robin Williams

  4. #4
    Board Regular
    Join Date
    Mar 2002
    Posts
    206
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    OUTSTANDING!! I AM GREATFUL, BEEN MESSING AROUND WITH THIS FOR A WILE. THANK YOU

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com