+ Reply to Thread
Results 1 to 5 of 5

Formula change depending on cell value

  1. #1
    Registered User
    Join Date
    02-27-2019
    Location
    Egypt
    MS-Off Ver
    365 Family, Insider
    Posts
    11

    Formula change depending on cell value

    Hello guys, this is my first thread here I hope I can find help here,
    The issue that I need a formula in a certain cell to change according to another cell value.
    The equation is :
    =IF((N2/2)<=5,N2/2,5)
    and depending on the other cell value the equation should change to:
    =IF((N2/2)<=10,N2/2,10)

    I can't attach the file seems there is a problem with the attach icon!

    Update:
    Now the file is attached, the equations should be in cell O2 depending on values in cell G2
    Attached Files Attached Files
    Last edited by krakha; 02-27-2019 at 02:15 PM.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Formula change depending on cell value

    The Attach Icon no longer works.

    Select Edit
    Then at the bottom, Advanced Settings
    Then Manage Attachments



    .Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    02-27-2019
    Location
    Egypt
    MS-Off Ver
    365 Family, Insider
    Posts
    11

    Re: Formula change depending on cell value

    Quote Originally Posted by mehmetcik View Post
    The Attach Icon no longer works.

    Select Edit
    Then at the bottom, Advanced Settings
    Then Manage Attachments



    .Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Thanks lots done and updated the main post.

  4. #4
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Formula change depending on cell value

    Quote Originally Posted by krakha View Post
    Hello guys, this is my first thread here I hope I can find help here,
    The issue that I need a formula in a certain cell to change according to another cell value.
    The equation is :
    =IF((N2/2)<=5,N2/2,5)
    and depending on the other cell value the equation should change to:
    =IF((N2/2)<=10,N2/2,10)
    the equations should be in cell O2 depending on values in cell G2
    depending how?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  5. #5
    Registered User
    Join Date
    02-27-2019
    Location
    Egypt
    MS-Off Ver
    365 Family, Insider
    Posts
    11

    Re: Formula change depending on cell value

    Quote Originally Posted by KOKOSEK View Post
    depending how?
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I'll explain more,
    there should be 3 API classes in cell G2 depending on the class selection the equation in Inspection interval in cell O2 should change *** follows;
    API class 1: Inspection interval (O2) should be equals to 1/2 R.L. (N2) or 5 years which is lesser.
    API class 2: Inspection interval (O2) should be equals to 1/2 R.L. (N2) or 10 years which is lesser.
    API class 3: Inspection interval (O2) should be equals to 1/2 R.L. (N2) or 15 years which is lesser.

    I know there should be simple way to do it but my excel skills ain't that there yet, all what I can do is straight forward formulas.

+ 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. Formula to Change Output Depending on Value of Another Cell
    By basketcase01 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-03-2019, 03:46 AM
  2. Formula to change colour AND text in cell depending on value in adjacent cell
    By helsbels44 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-01-2017, 11:03 AM
  3. Replies: 2
    Last Post: 12-11-2012, 05:04 AM
  4. Replies: 0
    Last Post: 12-09-2012, 11:18 PM
  5. Macro to change font color depending on whether cell is input, formula, or feed
    By putput28 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2012, 08:58 AM
  6. Is it possible to have formula change depending on Day of Week
    By batchy in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-07-2011, 07:03 AM
  7. Replies: 5
    Last Post: 02-26-2009, 11:03 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