Formula not working

Blackwell

Board Regular
Joined
Oct 19, 2007
Messages
96
Office Version
  1. 2016
Platform
  1. Windows
I am trying for a formula that if cell i2 is 0, then add J1+h2 = 25,000
The formula I am using works ok if all cells have a value but does not work with a 0 in the cell i1
=IF(KI1>0,I4+H2,0)

2,500​
2,500​
2,500​
2,500​
2,500​
2,500​
2,500​
2,500​
0​
2,500​
2,500​
0​
2,500​
5000​
7500​
10000​
12500​
15000​
17500​
20000​
0​
0​
2500​
0​
1,453​
2,905​
4,358​
5,810​
7,263​
8,715​
10,168​
11,620​
0​
0​
-9,023​
0​
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Sorry mistake, I am trying for a formula that if cell i2 is 0, then add J1+h2 = 22,500
I am trying for a formula that if cell i2 is 0, then add J1+h2 = 25,000
The formula I am using works ok if all cells have a value but does not work with a 0 in the cell i1
=IF(KI1>0,I4+H2,0)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top