Exact formula to ignore blanks

windb

New Member
Joined
Mar 12, 2016
Messages
23
Hi,

I'm looking for a formula to compare differences between two columns (A & B), so that it returns a comment - "No change" or "Difference" - in column C. But I would like the formula to return a blank (or a statement to say "Fine") if the value in column A is also blank. Essentially, I need to be able to ignore any data entries where a value was not previously held and so I don't need to consider these. At the moment, my formula in column C is =IF(EXACT(A2,B2), "No change", "Difference"), so it returns a value in column column regardless of what is in column A. I've tried wrapping IF statements, ISBLANK and even ISNUMBER around the formula but unable to get it to work.

The values in column A and B will always be numerical values, and limited to integers 1 to 10.

Many thanks !
 

Attachments

  • Annotation 2022-03-28 160918.png
    Annotation 2022-03-28 160918.png
    6.3 KB · Views: 23

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
How about
Excel Formula:
=IF(A2="","",IF(EXACT(A2,B2), "No change", "Difference"))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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