Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default IF statement between two worksheets

I need to see if a value in column A matches a value in column E of Sheet2. I
have tried the following:

=IF($A1='Sheet2'!$E$1:$E$100,"match","false")

Any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 897
Default IF statement between two worksheets

=IF(ISNA(VLOOKUP(A1,Sheet2!E:E,1,FALSE)),"false"," match")


HTH,
JP

On Jan 11, 3:14*pm, TrevorC wrote:
I need to see if a value in column A matches a value in column E of Sheet2.. I
have tried the following:

=IF($A1='Sheet2'!$E$1:$E$100,"match","false")

Any help is appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 897
Default IF statement between two worksheets

Also

=IF(COUNTIF(Sheet2!E:E,A1),"match","false")


HTH,
JP

On Jan 11, 3:21*pm, JP wrote:
=IF(ISNA(VLOOKUP(A1,Sheet2!E:E,1,FALSE)),"false"," match")

HTH,
JP

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default IF statement between two worksheets

Thanks. This is kind of working but I know there are matching values that
are not being detected.

Any other ideas?

"JP" wrote:

Also

=IF(COUNTIF(Sheet2!E:E,A1),"match","false")


HTH,
JP

On Jan 11, 3:21 pm, JP wrote:
=IF(ISNA(VLOOKUP(A1,Sheet2!E:E,1,FALSE)),"false"," match")

HTH,
JP


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 897
Default IF statement between two worksheets

Do you mean there are values in column E that exactly match A1 but the
formula still comes up blank? Can you provide more information?

Keep in mind, both formulas are checking on an exact match of A1, if
there are spaces in the cell, it might be missed. You could use the
LEN() function on A1 and the cell you suspect is being missed, if they
are equal to each other then we can go from there.


HTH,
JP


On Jan 11, 4:11*pm, TrevorC wrote:
Thanks. *This is kind of working but I know there are matching values that
are not being detected. *

Any other ideas?



"JP" wrote:
Also


=IF(COUNTIF(Sheet2!E:E,A1),"match","false")


HTH,
JP


On Jan 11, 3:21 pm, JP wrote:
=IF(ISNA(VLOOKUP(A1,Sheet2!E:E,1,FALSE)),"false"," match")


HTH,
JP- Hide quoted text -


- Show quoted text -


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
If statement with Vlookup - including ISNA function to compare two columns from different worksheets nakliwala Excel Worksheet Functions 3 September 25th 07 09:30 AM
Using If Statement to link worksheets Scott@CW Excel Discussion (Misc queries) 1 December 4th 06 02:05 AM
appending and IF statement to an existing IF statement spence Excel Worksheet Functions 1 February 28th 06 11:00 PM
If statement and Isblank statement Rodney C. Excel Worksheet Functions 0 January 18th 05 08:39 PM
Help please, IF statement/SUMIF statement Brad_A Excel Worksheet Functions 23 January 11th 05 02:24 PM


All times are GMT +1. The time now is 01:21 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"