ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Column Compare Match (https://www.excelbanter.com/excel-discussion-misc-queries/220691-column-compare-match.html)

Christy

Column Compare Match
 
Column A = Account Number
Column B = Patient Name
Column C = Account Number
Column D = Patient Name

I need to know which account numbers in Column A are listed in Column C. If
they are listed, I need the word female to display. I have tried the
following. IF(ISNUMBER(C1,A1:A17305)),"FEMALE",""). The problem is that the
range keeps changing as I copy and past the function. I need to search the
same range for each account. Please help.

Thanks.

Dave Peterson

Column Compare Match
 
I think:

=if(isnumber(match(a1,c:c,0)),"Female","")

This looks for an exact match for the value in A1 anywhere in column C.



Christy wrote:

Column A = Account Number
Column B = Patient Name
Column C = Account Number
Column D = Patient Name

I need to know which account numbers in Column A are listed in Column C. If
they are listed, I need the word female to display. I have tried the
following. IF(ISNUMBER(C1,A1:A17305)),"FEMALE",""). The problem is that the
range keeps changing as I copy and past the function. I need to search the
same range for each account. Please help.

Thanks.


--

Dave Peterson

muddan madhu[_3_]

Column Compare Match
 
put this formula in col E

=if(isna(match(A1,C$1:C$1000,0)),"","Female")


"Christy" wrote:

Column A = Account Number
Column B = Patient Name
Column C = Account Number
Column D = Patient Name

I need to know which account numbers in Column A are listed in Column C. If
they are listed, I need the word female to display. I have tried the
following. IF(ISNUMBER(C1,A1:A17305)),"FEMALE",""). The problem is that the
range keeps changing as I copy and past the function. I need to search the
same range for each account. Please help.

Thanks.


muddan madhu[_3_]

Column Compare Match
 
in Col E put this formula and drag it down

=if(isna(match(A1,c$1:c$100,0)),"","female")


"Christy" wrote:

Column A = Account Number
Column B = Patient Name
Column C = Account Number
Column D = Patient Name

I need to know which account numbers in Column A are listed in Column C. If
they are listed, I need the word female to display. I have tried the
following. IF(ISNUMBER(C1,A1:A17305)),"FEMALE",""). The problem is that the
range keeps changing as I copy and past the function. I need to search the
same range for each account. Please help.

Thanks.



All times are GMT +1. The time now is 12:50 AM.

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