Solved

Complete Excel if formula

Posted on 2011-09-07
3
245 Views
Last Modified: 2012-05-12
I have this formula  =IF(A3<0.7,A3+0.78,A3*INDEX({1.25,1.3,1.4,1.45,1.5,1.65,1.8,1.85,1.9,1.95,2},MATCH(A3,{99999,1999.99,999.99,399.99,299.99,229.99,149.99,99.99,49.99,11.99,2.5},-1)))
I need the result to be zero if A3 is zero

So if A3 = 0 then 0 else =IF(A3<0.7,A3+0.78,A3*INDEX({1.25,1.3,1.4,1.45,1.5,1.65,1.8,1.85,1.9,1.95,2},MATCH(A3,{99999,1999.99,999.99,399.99,299.99,229.99,149.99,99.99,49.99,11.99,2.5},-1)))
0
Comment
Question by:padillrr
3 Comments
 
LVL 10

Accepted Solution

by:
SANTABABY earned 125 total points
ID: 36500165
=IF(A3=0,0,IF(A3<0.7,A3+0.78,A3*INDEX({1.25,1.3,1.4,1.45,1.5,1.65,1.8,1.85,1.9,1.95,2},MATCH(A3,{99999,1999.99,999.99,399.99,299.99,229.99,149.99,99.99,49.99,11.99,2.5},-1))))
0
 
LVL 2

Expert Comment

by:Jesse Weeks
ID: 36500178
Couldn't you do this:
IF(A3=0,0,IF(A3<0.7,A3+0.78,A3*INDEX({1.25,1.3,1.4,1.45,1.5,1.65,1.8,1.85,1.9,1.95,2},MATCH(A3,{99999,1999.99,999.99,399.99,299.99,229.99,149.99,99.99,49.99,11.99,2.5},-1))))
0
 

Author Closing Comment

by:padillrr
ID: 36500283
Thanks for the quick response!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question