Exact function

Greenlee

New Member
Joined
Aug 31, 2014
Messages
23
I am trying to compare A to B cell with exact function. The problem is when there are two empty cells it returns me TRUE. I would like to return me number 0.

Thank you in advance
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
I would just like to return me 0 when there are two empty cells, otherwise when there is lets say 5:5 or 10:10 then I would like to return me TRUE
 
Last edited:
Upvote 0
Hi,

Is this what you mean:


Book1
ABC
155TRUE
26FALSE
31010TRUE
47FALSE
50
656FALSE
Sheet689
Cell Formulas
RangeFormula
C1=IF(AND(A1="",B1=""),0,EXACT(A1,B1))
 
Upvote 0
Hi,

Is this what you mean:

ABC
155TRUE
26FALSE
31010TRUE
47FALSE
50
656FALSE

<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet689

Worksheet Formulas
CellFormula
C1=IF(AND(A1="",B1=""),0,EXACT(A1,B1))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Yes, Thank you very much!
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,517
Members
448,968
Latest member
Ajax40

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