Excel formula bar: Function to return TRUE, FALSE or #NA if data in multiple columns/rows does not match

atisyam

New Member
Joined
Sep 19, 2018
Messages
37
Hello


Apologies for the vague question. Hope that someone can help me with this. This is what I meant: There will be another column where it would tabulate TRUE (if the data match) or FALSE (if the data do not match).


Basically, the user will continue updating the rows and columns.


Based on the example below, the data to be compared are -
Step 1: Between Column B and C
Step 2: Information from step 1 will be compared with Columns A and C.
Step 3: If the data in column C is different when compared between Step 1 and Step 2, Column D will return False. Vice versa.


[TABLE="width: 497"]
<tbody>[TR]
[TD]1
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]old S/N
[/TD]
[TD]new S/N
[/TD]
[TD]Building Name
[/TD]
[TD]True or False
[/TD]
[TD]Remarks
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]-
[/TD]
[TD]F12
[/TD]
[TD]Block A
[/TD]
[TD]False
[/TD]
[TD]#NA
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]-
[/TD]
[TD]F17
[/TD]
[TD]Block B
[/TD]
[TD]False
[/TD]
[TD]#NA
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]F12
[/TD]
[TD]F22
[/TD]
[TD]Block A
[/TD]
[TD]True
[/TD]
[TD]True as building name is same with same S/N (A5 & B3)
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]F17
[/TD]
[TD]F24
[/TD]
[TD]Block D
[/TD]
[TD]False
[/TD]
[TD]False as building name is different using same S/N (A6 & B4)
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]F22
[/TD]
[TD]F25
[/TD]
[TD]Block A
[/TD]
[TD]True
[/TD]
[TD]True as building name is same with same S/N (A7 & B5)
[/TD]
[/TR]
</tbody>[/TABLE]


Hope that it is understandable. Best if the functions used are any available from excel except VBA macro code due to different worksheet formatting. :/ Thank youuu.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,224,822
Messages
6,181,165
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