Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
No Name
 
Posts: n/a
Default Formula Modification

Folks:


(IF(ISERROR(MATCH(B1,A:A,0)),"No Match","Match")


Column A Column B Column C
25 50 No
Match
30 30 Match
26 28 No
Match
55
60

I am using the above formula to compare two columns (A and B) for
overlapping (common) data then put the result ("Match" OR "No Match") in a
third column.
So far this formula has worked well. But now I would like to modify this
formula so that rather than "Match" or "No Match" the overlapping result
("30" in this case),
gets put into Column C.



Thanks,
Jo.



  #2   Report Post  
Posted to microsoft.public.excel,microsoft.public.excel.misc,microsoft.public.excel.newusers,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula Modification

Do you still want "no match" ?

=IF(ISNA(MATCH(B1,A:A,0)),"No Match",B1)

Or, this will leave "no match" cells blank:

=IF(ISNA(MATCH(B1,A:A,0)),"",B1)

Biff

<JoJo wrote in message ...
Folks:


(IF(ISERROR(MATCH(B1,A:A,0)),"No Match","Match")


Column A Column B Column C
25 50 No
Match
30 30 Match
26 28 No
Match
55
60

I am using the above formula to compare two columns (A and B) for
overlapping (common) data then put the result ("Match" OR "No Match") in
a third column.
So far this formula has worked well. But now I would like to modify this
formula so that rather than "Match" or "No Match" the overlapping result
("30" in this case),
gets put into Column C.



Thanks,
Jo.





  #3   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions,microsoft.public.excel.newusers
external usenet poster
 
Posts: 54
Default Formula Modification

try this

=IF(A1-B1=0,A1,"")


"JoJo" wrote:

Folks:


(IF(ISERROR(MATCH(B1,A:A,0)),"No Match","Match")


Column A Column B Column C
25 50 No
Match
30 30 Match
26 28 No
Match
55
60

I am using the above formula to compare two columns (A and B) for
overlapping (common) data then put the result ("Match" OR "No Match") in a
third column.
So far this formula has worked well. But now I would like to modify this
formula so that rather than "Match" or "No Match" the overlapping result
("30" in this case),
gets put into Column C.



Thanks,
Jo.




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
Formula modification yshridhar Excel Worksheet Functions 10 November 23rd 07 08:16 AM
Formula Modification No Name Excel Discussion (Misc queries) 2 May 1st 07 03:33 AM
Formula Modification No Name Excel Worksheet Functions 2 May 1st 07 03:33 AM
Formula Modification Help Dmorri254 Excel Worksheet Functions 4 November 15th 04 07:06 PM
Formula Modification Phil Hageman[_3_] Excel Programming 4 November 17th 03 05:56 PM


All times are GMT +1. The time now is 09:36 AM.

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"