+ Reply to Thread
Results 1 to 3 of 3

one cell with two functions

  1. #1
    Registered User
    Join Date
    11-11-2011
    Location
    Stamford, England
    MS-Off Ver
    windows 7
    Posts
    1

    Smile one cell with two functions

    I want to make a cell choose the function it carries out
    For example;

    If cell a1 = yes cell f4 = f1+f2
    if cell a1 = no cell f4= f1+f3
    Can anyone help i am new to excel
    Thanks xx

  2. #2
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: one cell with two functions

    Enter in F4-----> =If(A1="Yes",F1+F2,If(A1="No",F1+F3,""))
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: one cell with two functions

    Hi emily1 and welcome to the forum,
    Put the following in F4

    =If(A1="Yes",F1+F2,If(A1="No",F1+F3,""))
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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