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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,590
Messages
6,125,698
Members
449,250
Latest member
azur3

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