+ Reply to Thread
Results 1 to 9 of 9

IF Statement

  1. #1
    Forum Contributor
    Join Date
    05-01-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    822

    IF Statement

    I have the following IF statement;

    Please Login or Register  to view this content.
    How can i add the following into this formula;

    In cell DN If cell DM2 is blank then check cell BL is blank then check cell Q2 equals "Margin" if correct then populate DN with N/A - Margin Fund

    can i just add an &IF at the end of the above code??

  2. #2
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Re: IF Statement

    Just use the regular IF statement

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-01-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    822

    Re: IF Statement

    Thank you for the reply, the formula doesn't seem to work, if i exclude all the code and just leave;

    IF(AND(DM2="", BL2="", Q2="Margin"), "N/A - Margin Fund", "Incomplete Formula")))

    then this works but i need it to work alongside the full formulae?

    Any ideas?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF Statement

    Please describe your requirement clearly with expected output for better understanding...


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Contributor
    Join Date
    05-01-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    822

    Re: IF Statement

    I currently have the following formula that using reference data to pull in depending on the criteria;

    Please Login or Register  to view this content.
    I need to add to this a formula that will in cell DN2

    - check cell DM2 is blank then
    - check cell BL2 is blank then
    - check cell Q2 equals "Margin"
    - if correct then populate DN2 with N/A - Margin Fund
    - if incorrect then leave blank

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: IF Statement

    May be this...

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    OR

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-01-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    822

    Re: IF Statement

    Brilliant.

    You are a star, thankyou

    Thanks to dluhut too

  8. #8
    Registered User
    Join Date
    09-03-2012
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    3

    RE:Avarage

    Sorry to disturb, can anyone please help on calculating overall mean/mean of mean if one can say.

    Thank you in advance

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF Statement

    Hi Shustarful
    You need to start a new thread with a new topic.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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