+ Reply to Thread
Results 1 to 5 of 5

How do I make a cell use different formulas based off of another cell's input?

  1. #1
    Registered User
    Join Date
    10-23-2013
    Location
    united states
    MS-Off Ver
    Excel 2013
    Posts
    2

    How do I make a cell use different formulas based off of another cell's input?

    How do I make a cell use different formulas based off of another cell's input?

    Example: C2 = w , formula in F2 =1+(e2*10%)
    C2 = L , formula in F2 =-1+(e2*8%)


    Thanks!

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

    Re: How do I make a cell use different formulas based off of another cell's input?

    Something like =IF(C2="w",1+(e2*10%),if(C2="L",1+(e2*8%),""))

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: How do I make a cell use different formulas based off of another cell's input?

    If the choice is a binary choice (C2 will be w or L and nothing else), you could use the IF() function =1+e2*if(C2="w",0.1,0.08)

    If there are more choices, you could continue to nest IF() functions, but I would usually prefer to build a lookup table, then refer to that with a lookup function. =1+e2*vlookup(c2,lookup_table,2) http://office.microsoft.com/en-us/ex...011.aspx?CTT=1
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  4. #4
    Registered User
    Join Date
    10-23-2013
    Location
    united states
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: How do I make a cell use different formulas based off of another cell's input?

    "Something like =IF(C2="w",1+(e2*10%),if(C2="L",1+(e2*8%),"")) "

    That worked perfectly! Thanks for the help. I love excel, but I am still in the learning process.
    Look forward to learning about lookup tables and more about IF functions, etc...


    Thanks for all replies.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How do I make a cell use different formulas based off of another cell's input?

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Make multiple cell input mandatory if initial cell has input.
    By dwporter in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-23-2017, 08:06 PM
  2. Replies: 0
    Last Post: 03-08-2013, 06:34 AM
  3. Replies: 14
    Last Post: 01-22-2013, 12:07 PM
  4. To make several cells mandatory based on other cell input.
    By nukecity83 in forum Excel General
    Replies: 1
    Last Post: 10-13-2009, 05:35 PM
  5. Make User Input required based on other cell value?
    By sa02000 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2007, 10:50 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