+ Reply to Thread
Results 1 to 4 of 4

Help with an if/then situation

  1. #1
    Registered User
    Join Date
    07-14-2018
    Location
    Fl, USA
    MS-Off Ver
    14
    Posts
    2

    Help with an if/then situation

    I have a situation where I want,
    If C3 is Negative then D2 * 1.07 minus C3, otherwise (if C3 is positive)
    Then C3 * 1.07 +D2
    How do I enter That?
    Thanks, Lamont

  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,466

    Re: Help with an if/then situation

    Maybe
    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
    Registered User
    Join Date
    07-14-2018
    Location
    Fl, USA
    MS-Off Ver
    14
    Posts
    2

    Re: Help with an if/then situation

    Quote Originally Posted by TMS View Post
    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I tried that formula and get a 509 error, >>Operator is missing, for example, "=2(3+4) * ", where the operator between "2" and "(" is missing. <<
    I'm not seeing the error.
    Ah, just found it, the commas need to be semicolons. =IF(C3<0; D2 * 1.07 - C3; C3 * 1.07 + D2) Thanks!
    Now to verify the formula does what I want it to.

  4. #4
    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,466

    Re: Help with an if/then situation

    You're welcome. Thanks for the rep.


    I guess your Regional Settings aren't what I would have expected

+ 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. Need Help in this situation
    By AOG_excel in forum Excel General
    Replies: 4
    Last Post: 07-26-2016, 03:49 AM
  2. Need formula for an either-or/both situation
    By Lorbiculous in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-07-2014, 01:49 PM
  3. How to have comboboxes in this situation?
    By thedalek in forum Excel General
    Replies: 1
    Last Post: 10-22-2013, 11:48 AM
  4. [SOLVED] What is the right IF Function I should use for this situation?
    By MGadAllah in forum Excel Formulas & Functions
    Replies: 26
    Last Post: 08-25-2013, 12:03 AM
  5. #N/A situation
    By bnwash in forum Excel General
    Replies: 5
    Last Post: 07-18-2007, 04:03 AM
  6. Can I use this situation?
    By tonyrice in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-22-2007, 12:57 PM
  7. [SOLVED] need help with a If=then situation.
    By FireBrick in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2005, 11:06 AM

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