Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Comparing Information in 2 columns

I need to know how to compare a cell address in one column and find if that
cell location is in another column.

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Comparing Information in 2 columns

cell location/addesses can not change, nor can they be equal. (A2 is an
address, there is no way another cell can be on same sheet, and same address!)

If you want to know if the value of one cell is present in a column:
=IF(OR(N4:N300=E1),TRUE,FALSE)
confirmed as an array formula (Ctrl+Shift+Enter) will work.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I need to know how to compare a cell address in one column and find if that
cell location is in another column.

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Comparing Information in 2 columns

I have this formula in column N
=ADDRESS(MATCH(M4,D$2:$D$981,0)+ROW(D2)-1,COLUMN(D2),4)

Then I have this formula in column e =ADDRESS(ROW(D2)-1,COLUMN(D2),4)

I want to do a formula that will let me know if the cell in Column E is
matched in Column N. Is this Possible? That is what I was trying to use the
find function for.

"Luke M" wrote:

cell location/addesses can not change, nor can they be equal. (A2 is an
address, there is no way another cell can be on same sheet, and same address!)

If you want to know if the value of one cell is present in a column:
=IF(OR(N4:N300=E1),TRUE,FALSE)
confirmed as an array formula (Ctrl+Shift+Enter) will work.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I need to know how to compare a cell address in one column and find if that
cell location is in another column.

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Comparing Information in 2 columns

The formlula I posted earlier should work if you're trying to compare a
single cell to an array of cells. (sorta sounds like what you're doing).

Actually, a better, non-array formula is:
=ISNUMBER(MATCH(E1,N4:N300,0))

If E1's value is found anywhere in N4:N300, formula returns TRUE, else FALSE.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I have this formula in column N
=ADDRESS(MATCH(M4,D$2:$D$981,0)+ROW(D2)-1,COLUMN(D2),4)

Then I have this formula in column e =ADDRESS(ROW(D2)-1,COLUMN(D2),4)

I want to do a formula that will let me know if the cell in Column E is
matched in Column N. Is this Possible? That is what I was trying to use the
find function for.

"Luke M" wrote:

cell location/addesses can not change, nor can they be equal. (A2 is an
address, there is no way another cell can be on same sheet, and same address!)

If you want to know if the value of one cell is present in a column:
=IF(OR(N4:N300=E1),TRUE,FALSE)
confirmed as an array formula (Ctrl+Shift+Enter) will work.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I need to know how to compare a cell address in one column and find if that
cell location is in another column.

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Comparing Information in 2 columns

Luke you have been awesome thanks

I just have one more question (I think). I thought that after I did the Is
number funtion to get the true/false answer I would be able to sort by that
column (descending) and all the trues would go to the top and all the falses
would go to the bottom. This in not working they are still all intermingled
with each other do you have any idea why? Is this something that I should be
able to do?

"Luke M" wrote:

The formlula I posted earlier should work if you're trying to compare a
single cell to an array of cells. (sorta sounds like what you're doing).

Actually, a better, non-array formula is:
=ISNUMBER(MATCH(E1,N4:N300,0))

If E1's value is found anywhere in N4:N300, formula returns TRUE, else FALSE.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I have this formula in column N
=ADDRESS(MATCH(M4,D$2:$D$981,0)+ROW(D2)-1,COLUMN(D2),4)

Then I have this formula in column e =ADDRESS(ROW(D2)-1,COLUMN(D2),4)

I want to do a formula that will let me know if the cell in Column E is
matched in Column N. Is this Possible? That is what I was trying to use the
find function for.

"Luke M" wrote:

cell location/addesses can not change, nor can they be equal. (A2 is an
address, there is no way another cell can be on same sheet, and same address!)

If you want to know if the value of one cell is present in a column:
=IF(OR(N4:N300=E1),TRUE,FALSE)
confirmed as an array formula (Ctrl+Shift+Enter) will work.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Tabatha" wrote:

I need to know how to compare a cell address in one column and find if that
cell location is in another column.

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 896
Default Comparing Information in 2 columns

try to use MATCH function


On 26 Lut, 16:38, Tabatha wrote:
I need to know how to compare a cell address in one column and find if that
cell location is in another column. *

I thought that i would use the if function and my formula was
=if(e1=n4:n300,true,false) but this does not seem to work any help would be
appreciated. *


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
COMPARING TWO COLUMNS OF INFORMATION, ACROSS TWO WORKSHEETS Susan Excel Worksheet Functions 2 January 5th 09 11:25 PM
Comparing information on 2 worksheets Lee Excel Discussion (Misc queries) 1 November 20th 08 09:57 PM
Comparing information... EZ Excel Discussion (Misc queries) 1 April 6th 07 08:23 AM
Comparing two columns of information with 2 new columns of informa cbuck Excel Discussion (Misc queries) 1 January 16th 07 09:49 PM
Help with comparing information... Treesy Excel Worksheet Functions 3 December 19th 06 09:47 PM


All times are GMT +1. The time now is 11:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"