+ Reply to Thread
Results 1 to 2 of 2

If and formula

  1. #1
    Registered User
    Join Date
    03-06-2017
    Location
    montreal
    MS-Off Ver
    2010
    Posts
    19

    If and formula

    Hi,

    i know this is basic but i can't get it straight. can someone help me out with the following:

    We have 6 cells (A1, B1,C1,D1,E1,F1)

    IF C1 and D1 < 1 = A1*B1
    IF C1 and D1 > 0 = E1*F1
    IF C1 >0 and D1 is <0 =B1*E1
    IF C1 <1 and D1 >0 =A1*F1

    Thanks for the help!

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,172

    Re: If and formula

    Try this ...

    =IF(AND(C1<1,D1<1),A1*B1,IF(AND(C1>0,D1>0),E1*F1,IF(AND(C1>0,D1<0),B1*E1,IF(AND(C1<1,D1>0),A1*F1,""))))

+ 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. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04: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