+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Drop down Yes or No fields require different result

  1. #1
    Registered User
    Join Date
    06-01-2012
    Location
    Nicosia, Cyprus
    MS-Off Ver
    Excel 2003
    Posts
    33

    Drop down Yes or No fields require different result

    Hi again,

    need some help and i hope i can clarify it enough.

    I have drop down down menu containing Y and N. I want a formula so that when i set N (no) the result is 0 (zero) and if Y (yes) i want to be from a specified cell i set.

    For example in cell A10 i have Y and N drop down menu. When cell A10 is N the amount in cell B10 is 0 and when in cell A10 is Y then in cell B10 the result would be the amount located in cell C10.

    thank you
    Last edited by Dj_Seagal; 06-21-2012 at 12:34 PM.

  2. #2
    Registered User
    Join Date
    06-01-2012
    Location
    Nicosia, Cyprus
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Drop down menu calculations from different cells

    anyone? please help

  3. #3
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Drop down Yes or No fields require different result

    Hello
    If there are only two values in the A10 drop down then the following formula placed in B10 should work:

    =IF(A10="N",0,C10)

    Hope this helps.
    DBY

  4. #4
    Registered User
    Join Date
    06-01-2012
    Location
    Nicosia, Cyprus
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Drop down Yes or No fields require different result

    Unfortunately not. keeps popping error :S

  5. #5
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Drop down Yes or No fields require different result

    I'm not sure what error :S is. Can you upload your workbook without anything confidential?

  6. #6
    Registered User
    Join Date
    06-01-2012
    Location
    Nicosia, Cyprus
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Drop down Yes or No fields require different result

    here it is

    yestest.xlsx

  7. #7
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Drop down Yes or No fields require different result

    I can't see any errors with this. See attachment. B10 returns 0 if A10 = 'N' and the value of C10 if A10 = "Y".

    DBY
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    06-01-2012
    Location
    Nicosia, Cyprus
    MS-Off Ver
    Excel 2003
    Posts
    33

    Re: Drop down Yes or No fields require different result

    it indeed worked. thank you very much. i had made a small error in formula.

    thank you very much

+ 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