Nested IF Statement

cspgsl

Board Regular
Joined
Oct 22, 2002
Messages
65
I created a nested IF statement to return a value.

=IF($B4="DIS",IF($C4=M$2,$K4,""))

How can I get it to return a value of zero if it is false instead of the word FALSE?

I tried this but it didn't make any difference

=IF($B4="DIS",IF($C4=M$2,$K4,0))

If Stmt.xlsx
ABCD
1SYMTYPEPYMTDIV
2
3LIFDIV33
4AXUDIS4FALSE
Sheet1
Cell Formulas
RangeFormula
D3D3=IF(A3="LIF",IF(B3=D1,C3,""))
D4D4=IF(A4="LIF",IF(B4="DIV",C4,""))


Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
How about
+Fluff 1.xlsm
ABCD
1SYMTYPEPYMTDIV
2
3LIFDIV33
4AXUDIS40
Lists
Cell Formulas
RangeFormula
D3:D4D3=IF(AND(A3="LIF",B3=$D$1),C3,0)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,059
Messages
6,122,918
Members
449,093
Latest member
dbomb1414

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