4 Columns compare

pmeghnathi

Board Regular
Joined
Mar 11, 2018
Messages
96
Office Version
  1. 2003 or older
Platform
  1. Windows
How do this formula in excel
A1=as b1=cd C1=as D1=cd
Result true'

A1=as b1=cd C1=as D1=a
Result fauls
 
I want to find 2 cells in Excel that are the same as the cells in the previous 2 columns
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I want to find 2 cells in Excel that are the same as the cells in the previous 2 columns

Try

Excel Formula:
=AND(A2=C1,B2=D1)
I want this type formula
IMG_20230818_153315.jpg
 
Upvote 0
please provide 5 or 6 varied examples and the expected results.
OK, finally after another week and about 6 posts we have those examples and expected results!! Thank you!

23 08 18.xlsm
ABCDE
1MILAN50GORI30TRUE
2SHANTI20MIHIR50FALSE
3PRASHANT90PRASHANT90TRUE
4VIJAY21VIJAY21TRUE
5GORI30SHANTI20TRUE
6MIHIR1000MILAN50TRUE
Match
Cell Formulas
RangeFormula
E1:E6E1=ISNUMBER(MATCH(C1&D1,A$1:A$6&B$1:B$6,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 1
Solution
OK, finally after another week and about 6 posts we have those examples and expected results!! Thank you!

23 08 18.xlsm
ABCDE
1MILAN50GORI30TRUE
2SHANTI20MIHIR50FALSE
3PRASHANT90PRASHANT90TRUE
4VIJAY21VIJAY21TRUE
5GORI30SHANTI20TRUE
6MIHIR1000MILAN50TRUE
Match
Cell Formulas
RangeFormula
E1:E6E1=ISNUMBER(MATCH(C1&D1,A$1:A$6&B$1:B$6,0))
Press CTRL+SHIFT+ENTER to enter array formulas.
This formula work only numberic

Good formula work in image.
Thanks for help
 

Attachments

  • IMG_20230821_171530.jpg
    IMG_20230821_171530.jpg
    88.7 KB · Views: 6
Upvote 0
This formula good work
 

Attachments

  • IMG_20230821_171530.jpg
    IMG_20230821_171530.jpg
    88.7 KB · Views: 4
Upvote 0
This formula work only numberic
What is numberic? Do you mean numeric?

The formula has nothing to do with numeric. It checks if the values in column C & D occur somewhere in column A & B, which is what you asked for:
C1 AND D1 cell same value match in column A & B
No numbers at all here

23 08 18.xlsm
ABCDE
1MILANxxxGORI+++TRUE
2SHANTIabcMIHIRxxxFALSE
3PRASHANTz@#$ePRASHANTz@#$eTRUE
4VIJAYjklVIJAYjklTRUE
5GORI+++SHANTIabcTRUE
6MIHIRBMILANxxxTRUE
Match
Cell Formulas
RangeFormula
E1:E6E1=ISNUMBER(MATCH(C1&D1,A$1:A$6&B$1:B$6,0))
Press CTRL+SHIFT+ENTER to enter array formulas.


You said
I want this type of formula

1692619846901.png


That is exactly what my formula does.
 
Last edited:
Upvote 0
Not working
 

Attachments

  • IMG_20230821_181529.jpg
    IMG_20230821_181529.jpg
    209.3 KB · Views: 6
Upvote 0

Forum statistics

Threads
1,215,694
Messages
6,126,250
Members
449,305
Latest member
Dalyb2

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