+ Reply to Thread
Results 1 to 5 of 5

Avoid repeating calculation in an IF formula

  1. #1
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Avoid repeating calculation in an IF formula

    Hi All,

    Is there a way to simpify the below IF formula? The formula output if true or false is very long and i'd like to avoid duplicating if possible

    =if(A1="x",formula,formula*y)
    Last edited by Gti182; 05-26-2017 at 03:10 AM.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Avoid repeating calculation in an IF formula

    Hi- Try
    =formula*IF(A1="x",1,y)

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Avoid repeating calculation in an IF formula

    Maybe this?
    =formula*if(A1="x",1,y)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    10-04-2010
    Location
    London
    MS-Off Ver
    Office 365
    Posts
    455

    Re: Avoid repeating calculation in an IF formula

    thanks both! Very clever

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Avoid repeating calculation in an IF formula

    Happy to help and thanks for the feedback

+ 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: 10
    Last Post: 07-24-2016, 08:28 AM
  2. Avoid repeating inner equation in a logical expression
    By michellepace in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-19-2016, 11:19 AM
  3. Help with Array Function: Avoid repeating values on MATCH/INDEX
    By jslater41 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-08-2014, 01:57 PM
  4. Replies: 3
    Last Post: 07-12-2011, 02:52 PM
  5. How do i avoid full calculation when i open workbook
    By Kim1974 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2010, 02:59 PM
  6. creating a repeating formula that doesn't show repeating values
    By cybershot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2010, 06:12 PM
  7. Excel calculation to avoid -ve
    By pet_pas in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-15-2008, 08:56 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