Formula to display xor value?

koesherbacon

New Member
Joined
Jun 6, 2013
Messages
10
How do I display an xor?

For instance, if I want cell P19 to display the value of K5 xor K7, what would the formula be?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi There,

Can you supply a little more info on what your data looks like and expected results.

But generally would be something like this

=IF(Criteria,K5,K7)
 
Upvote 0
If K5 and K7 have logical values, =K5<>K7 will return the value of (K5 XOR K7)

If they contain something besides TRUE or FALSE, what do you mean by XOR?
Bit-wise logical operations on numbers like 5 OR 3 = 7 ?
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,451
Members
449,161
Latest member
NHOJ

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