+ Reply to Thread
Results 1 to 3 of 3

negative numbers to zero within formula

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2016
    Posts
    22

    negative numbers to zero within formula

    HI guys -

    I'm stuck. I have a formula that is measuring water discharge. Here is my current formula: =3.33*E2^1.5*((4.75)-0.2*(E2))*7.48*60

    it works great, however when it pulls in a negative number (no water discharging), then I get an error. is there a way to make it to automatically go to zero?

    I've tried a couple different options but no luck, can someone help me out? Thank you!

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: negative numbers to zero within formula

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,899

    Re: negative numbers to zero within formula

    Or try this ...

    =IF(E2<0,0,3.33*E2^1.5*((4.75)-0.2*(E2))*7.48*60)

+ 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. Replies: 9
    Last Post: 04-20-2016, 02:42 AM
  2. Replies: 1
    Last Post: 02-06-2013, 10:32 AM
  3. [SOLVED] Negative numbers in an IF formula
    By mmctague in forum Excel General
    Replies: 6
    Last Post: 06-01-2012, 05:00 PM
  4. Replies: 2
    Last Post: 12-19-2011, 08:40 PM
  5. Replies: 5
    Last Post: 05-12-2009, 04:47 PM
  6. [SOLVED] Negative numbers in an IF formula
    By TammyS in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 07-20-2006, 04:30 PM
  7. [SOLVED] Excel Formula - Add column of numbers but ignore negative numbers
    By view for Distribution List members in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-06-2006, 10:20 PM

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