IF Function For Multiple Condition

rajendradk9

New Member
Joined
Aug 3, 2013
Messages
16
HI, I'm trying solution as mentioned below so need your support.
Having Column A B C D each are having Numeric value, based on this need two results as mentioned below in same cell

A+B-C*D<=0 Then Result should be 0 , A+B-C*D>0 Then Result should be A+B-C*D

For Example 20+40-6.45*20=0 , 60+20-6.45*2=67
 

Some videos you may like

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
35,637
Office Version
365
Platform
Windows
How about
=IF(A2+B2-C2*D2<0,0,A2+B2-C2*D2)
 

Forum statistics

Threads
1,089,526
Messages
5,408,797
Members
403,230
Latest member
scwoo

This Week's Hot Topics

  • help please
    SORRY NOT ANY GOOD AT EXCEL SO HELP WOULD BE MUCH APPRECIATED this formula is in a sheet called ignore...
  • two formulas needed
    Hello, I'll try my best to explain this: First formula needed in Sheet1 cell A2: If Sheet1 cell B2 = Sheet2 cell B2 then return a 1. If not then...
  • Dynamic Counts
    Good afternoon, we are tidying up some data & the data seems to be growing quicker than we are tidying it up! What we confirm (by reviewing it...
  • Help Excel formula eliminate duplicate values and keep only 2 identical rows.
    as picture below column A has a duplicate value. but the values are not the same as the rule. sometimes 4 rows, sometimes 10 rows or 7 or 9...
  • Macro Compile Error Sub or Function not defined
    Hello, I am trying to run macros from a validation list, all macros have been created and run perfectly on there own but I'm getting a compile...
  • Last row combined with Current Region VBA
    I'm generally happy finding the last row of data through something like Lastrow = Cells(Rows.Count, "D").End(xlUp) but I don't always receive data...
Top