Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Duplicate with Criteria

Hello -

Would anyone be able to help with a Duplicate with Criteria formula.

Thank you!

Formula needed for:

If "Number" column is a duplicate, and "Name" = B, then "X", if not, blank.


Name Number A B C
A 1
B 2
B 3 X
C 3
B 3 X
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by karl e View Post
Hello -

Would anyone be able to help with a Duplicate with Criteria formula.

Thank you!

Formula needed for:

If "Number" column is a duplicate, and "Name" = B, then "X", if not, blank.


Name Number A B C
A 1
B 2
B 3 X
C 3
B 3 X
Hi,
Simple to do with a "helper column". Would that be an option for you?
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Duplicate with Criteria

Hi Karl,

Am Tue, 19 Jun 2012 01:06:44 +0000 schrieb karl e:

If "Number" column is a duplicate, and "Name" = B, then "X", if not,
blank.

Name Number A B C
A 1
B 2
B 3 X
C 3
B 3 X


in C2 try:
=IF(AND(COUNTIF(B:B,B2)1,A2="B"),"X","")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Duplicate with Criteria

Hi Karl,

Am Tue, 19 Jun 2012 09:50:53 +0200 schrieb Claus Busch:

in C2 try:
=IF(AND(COUNTIF(B:B,B2)1,A2="B"),"X","")


if you want to do it for all names, then in C2:
=IF(AND(COUNTIF($B:$B,$B2)1,$A2=C$1),"X","")
and drag down and to right.


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
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
How do you duplicate information if it matches a criteria Philip Errington Excel Discussion (Misc queries) 3 April 28th 12 10:12 PM
Sum single or duplicate rows with multiple criteria Lisa B Excel Worksheet Functions 3 August 15th 07 08:29 AM
Highlight duplicate entries matching 2 criteria in another workshe RS Excel Worksheet Functions 12 March 15th 07 02:17 PM
Cut Duplicate Records based on criteria Shiva Excel Programming 0 January 3rd 07 03:37 PM
How to use autofilter to delete duplicate rows (2nd criteria) ? Mslady[_11_] Excel Programming 2 October 29th 05 06:36 PM


All times are GMT +1. The time now is 06:03 AM.

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

About Us

"It's about Microsoft Excel"