+ Reply to Thread
Results 1 to 7 of 7

IF Formula with condition

  1. #1
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    IF Formula with condition

    Hi,
    i have an data sheet with large raw.
    from this i want different result with diff.condition
    test sheet attached.

    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: IF Formula with condition

    Out of conditions you mentioned two conditions evaluate to be true
    Condition-4 IF(E1>=0 False
    Condition-5 IF(E1<=0 True
    Condition-6 IF(C4<D1 True

    Which condition you want to evaluate first, conditions 4 and 5 or condition 6?
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: IF Formula with condition

    Sorry,
    I want condition 6 to evaluate first, than 4 and 5

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: IF Formula with condition

    What if Condition-3 IF(D4<=0 is False, what do you want then? Because D4 and D5 both are greater than 0 and you have not mentioned that what do you want to do in that case.

    Try the formula given below and replace "" with what do you want if condition-3 is false.

    Please Login or Register  to view this content.
    Same way you can write Formula-2 also.

  5. #5
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: IF Formula with condition

    Hi,sktneer

    condition-3 is if(D4<=0 is false than E4-$D$1.
    i have try to replace it "" with but i got answer -100 instead of 800.
    Please do needful
    My English is very poor, so please be patient >_<"

    Thanks & Regards.
    hkbhansali

  6. #6
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: IF Formula with condition

    I got 800, don't know how you got -100.

    Try this formula.......

    Please Login or Register  to view this content.
    Hope that helps.

  7. #7
    Forum Contributor
    Join Date
    12-21-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    387

    Re: IF Formula with condition

    hi, sktneer

    it's work

    thanks for help

+ 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] Condition formula
    By mahershams in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-21-2013, 03:43 AM
  2. Excel formula if conition formula for 2 condition with consider timings
    By breadwinner in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2013, 11:05 AM
  3. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  4. Condition formula
    By Solomon14all in forum Excel General
    Replies: 5
    Last Post: 12-09-2012, 04:47 AM
  5. Need formula for if condition
    By ericexcel in forum Excel General
    Replies: 2
    Last Post: 09-26-2009, 08:23 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