+ Reply to Thread
Results 1 to 7 of 7

How to overide a formula

  1. #1
    Registered User
    Join Date
    09-10-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    How to overide a formula

    I have a complex formula within my spreadsheet using the IF function with 3 variables. I now want the option to over ride this whole formula if cell (B1) equals 'MS'.

    So, if B1='MS' I want the rule to be ignored and add 1908 to value in (A2) and calculated in cell A3.

    The rule I am working with is:
    A3 =IF(A1="FF",A2-100,IF(A1="SD",A2+50,IF(A1="REV",A2,"")))

    How can I do this? Thanks in advance

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to overide a formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  3. #3
    Registered User
    Join Date
    09-10-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    Re: How to overide a formula

    Thanks, will this work even if cell A1 has one of the variables e.g. A1=FF?

    I need the B1 to override the rest of the formula!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to overide a formula

    Yes, IF works by checking for a condition, performing one action if that condition is TRUE and another if it's FALSE.

    =IF(ConditionToMeet,ActionIfTrue,ActionIfFalse)

    So in this case if B1 does equal MS then the first condition is met and the formula performs the first action. if B1 does NOT equal MS then the first condition is not met and the formula continues on to the next nested IF.

    BSB

  5. #5
    Registered User
    Join Date
    09-10-2016
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    17

    Re: How to overide a formula

    Thank you so much! Makes sense and all working!!

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: How to overide a formula

    Happy to help

    BSB

  7. #7
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to overide a formula

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums

    http://www.msofficeforums.com/excel/...rmula.html(not just this site).

+ 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. VBA overide fromula
    By OmarFahmy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-15-2014, 05:09 AM
  2. [SOLVED] Manual Overide
    By Mel B in forum Excel General
    Replies: 4
    Last Post: 02-10-2013, 09:27 PM
  3. Overide Workbook Script
    By georgeeasten in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-25-2010, 06:25 AM
  4. overide conditional formatting with VBA
    By Code Flunkie in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-30-2010, 10:41 AM
  5. Overide the cell information through a checkbox
    By gsweta in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-01-2009, 05:55 PM
  6. Save File Overide
    By pr4t3ek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2008, 09:15 PM
  7. Overide the data in list box?
    By ballack in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-26-2007, 03:27 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