+ Reply to Thread
Results 1 to 9 of 9

A formula to use 1 set of calculation if yes or another if no

  1. #1
    Registered User
    Join Date
    05-19-2016
    Location
    Australia, Tasmania
    MS-Off Ver
    MS Office 2010
    Posts
    16

    A formula to use 1 set of calculation if yes or another if no

    Hi All,

    I am trying to create a formula in a spreadsheet for a project at work and having trouble.

    I like to have a choice of two different calculation depending on whether another cell has a "yes" or a ''No".

    I have attached an example of what I mean.

    Thanks for any help I receive.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A formula to use 1 set of calculation if yes or another if no

    with vlookup in a table.

    See the result in the green cell.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: A formula to use 1 set of calculation if yes or another if no

    See if this solve your problem
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    05-19-2016
    Location
    Australia, Tasmania
    MS-Off Ver
    MS Office 2010
    Posts
    16

    Re: A formula to use 1 set of calculation if yes or another if no

    Hi oeldere,

    Wow!!! thanks for your fast reply

    Is there another way because I need this formula in over 60 rows and the numbers change for each row.
    Attached Files Attached Files

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: A formula to use 1 set of calculation if yes or another if no

    Try this in I6 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by José Augusto; 05-22-2016 at 06:04 AM. Reason: Formula correction

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A formula to use 1 set of calculation if yes or another if no

    g6=if($F6="yes",$H6,$J6) and drag down.

  7. #7
    Registered User
    Join Date
    05-19-2016
    Location
    Australia, Tasmania
    MS-Off Ver
    MS Office 2010
    Posts
    16

    Re: A formula to use 1 set of calculation if yes or another if no

    Awesome Jose that works a treat.

    Thank you both for your help.

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: A formula to use 1 set of calculation if yes or another if no

    You are welcome.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: A formula to use 1 set of calculation if yes or another if no

    You're welcome. We appreciate the feedback!

    It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ 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: 1
    Last Post: 04-02-2016, 04:32 AM
  2. [SOLVED] Quintile Formula - Function Wise - Help need for formula calculation
    By Yadavgiri in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 12-21-2015, 03:09 PM
  3. How to read formula result for calculation of another formula?
    By Shad0wguy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-02-2013, 02:15 PM
  4. [SOLVED] Formula Calculation
    By deniron in forum Excel General
    Replies: 3
    Last Post: 08-10-2012, 03:05 PM
  5. excel formula calculation - how to insert the right formula
    By Manila.Boracay in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-17-2011, 04:21 AM
  6. Re: base formula calculation on whether different cell has formula
    By Bill Kuunders in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-21-2005, 05:05 PM
  7. base formula calculation on whether different cell has formula
    By rcmodelr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2005, 08:05 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