ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Compare two columns (https://www.excelbanter.com/excel-discussion-misc-queries/140358-compare-two-columns.html)

Jennifer Hammonds

Compare two columns
 
I am looking to compare information in column G to column H. These are
number formats as below. I found this formula =OR(EXACT(G3, H2:H427)) but
its returning False on all lines. What I'm thinking is happening is that the
next line will read (G4, H3:H427) so the H column is moving down each time.
What am I doing wrong? I have approx 430 lines that I need to compare to see
if they show in the other column. Can you help me please?
G H
0000756892 0000829670

Bernie Deitrick

Compare two columns
 
Jennifer,

Use

=OR(EXACT(G3, $H$2:$H$427))

but enter it using Ctrl-Shift-Enter instead of just enter, since it is an array formula.

HTH,
Bernie
MS Excel MVP


"Jennifer Hammonds" <Jennifer wrote in message
...
I am looking to compare information in column G to column H. These are
number formats as below. I found this formula =OR(EXACT(G3, H2:H427)) but
its returning False on all lines. What I'm thinking is happening is that the
next line will read (G4, H3:H427) so the H column is moving down each time.
What am I doing wrong? I have approx 430 lines that I need to compare to see
if they show in the other column. Can you help me please?
G H
0000756892 0000829670




Jennifer Hammonds[_2_]

Compare two columns
 
Thank you! It worked! Woohooo!

"Bernie Deitrick" wrote:

Jennifer,

Use

=OR(EXACT(G3, $H$2:$H$427))

but enter it using Ctrl-Shift-Enter instead of just enter, since it is an array formula.

HTH,
Bernie
MS Excel MVP


"Jennifer Hammonds" <Jennifer wrote in message
...
I am looking to compare information in column G to column H. These are
number formats as below. I found this formula =OR(EXACT(G3, H2:H427)) but
its returning False on all lines. What I'm thinking is happening is that the
next line will read (G4, H3:H427) so the H column is moving down each time.
What am I doing wrong? I have approx 430 lines that I need to compare to see
if they show in the other column. Can you help me please?
G H
0000756892 0000829670






All times are GMT +1. The time now is 03:21 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com