Excel equation: If nested (true and False formula)

zyko_234

New Member
Joined
Mar 18, 2019
Messages
1
Hi,

I have an equation below that should return a 1 if true (which is working) and a 0 otherwise for any other values (which is working partially). So for some items it is returning 0 but for others it is returning a FALSE which should be a 0 if the equation was working correctly.
[FONT=&quot]
=(IF(EXACT(BQ48,"OLD"),IF(EXACT(BW48,"testoriginal"),1,0)))[/FONT]

Any help is appreciated!

Thanks!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Welcome to the Board!

Try:

=IF(EXACT(BQ48,"OLD"),IF(EXACT(BW48,"testoriginal"),1,0),0)

or

=IF(AND(EXACT(BQ48,"OLD"),EXACT(BW48,"testoriginal")),1,0)
 
Upvote 0
If they both need to be true, try
=IF(AND(EXACT(BQ48,"OLD"),EXACT(BW48,"testoriginal")),1,0)
 
Upvote 0
If you're comfortable with Boolean algebra, you could even use:

=EXACT(BQ48,"OLD")*EXACT(BW48,"testoriginal")
 
Upvote 0

Forum statistics

Threads
1,223,933
Messages
6,175,471
Members
452,646
Latest member
tudou

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