+ Reply to Thread
Results 1 to 6 of 6

Need Function to yes or no drop down box

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    Albany, OR
    MS-Off Ver
    2013
    Posts
    3

    Question Need Function to yes or no drop down box

    If N14 is yes, I need cell E43 to insert cell C43 amount, but if N14 is NO then I need cell C43 and D43 to be added together into cell E43. Can someone help me with this.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,945

    Re: Need Function to yes or no drop down box

    In E43 type: IF(N14 = "Yes", C43,C43 + D43)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    08-28-2014
    Location
    Albany, OR
    MS-Off Ver
    2013
    Posts
    3

    Re: Need Function to yes or no drop down box

    Thanks, you would think that would work but it's not. It doesn't give me errors but nothing happens.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,625

    Re: Need Function to yes or no drop down box

    try this in E43 type:
    IF(N14 = "Yes", value(C43),Value(C43) + value(D43))

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need Function to yes or no drop down box

    Quote Originally Posted by kvsrinivasamurthy View Post
    try this in E43 type:
    IF(N14 = "Yes", value(C43),Value(C43) + value(D43))
    If the entries are really TEXT numbers then the math operation of adding them together should convert them to numeric numbers.

    =IF(N14="Yes",C43+0,C43+D43)

    However, if the entries are TEXT numbers then they should be "fixed" at the source.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Registered User
    Join Date
    08-28-2014
    Location
    Albany, OR
    MS-Off Ver
    2013
    Posts
    3

    Re: Need Function to yes or no drop down box

    Thank you, I'm going to give this a try. Wish me luck

+ 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. [SOLVED] Drop Down function
    By kokoo in forum Excel General
    Replies: 5
    Last Post: 12-13-2012, 01:05 AM
  2. Excel 2008 : Drop down function
    By JJORD2 in forum Excel General
    Replies: 5
    Last Post: 09-17-2011, 08:52 PM
  3. IF function and drop-down lists
    By ouaga in forum Excel General
    Replies: 7
    Last Post: 09-23-2009, 10:44 AM
  4. [SOLVED] help with multiple function from drop down box
    By bigdaddy3 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-07-2005, 02:05 PM
  5. Is a Drop Down box the best function to use?
    By Ant in forum Excel General
    Replies: 2
    Last Post: 05-20-2005, 06:06 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