LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default Count # - Compare - Find - Identify

Sorry, I meant that the count should be counted as greater thajn 1

=IF(SUMPRODUCT(--($A$1:L$A$20=$A1),--($B$1:$B$20="Active"))1,"Dup","")

If you just want to highlight the 2nd (and 3rd etc.) instance, then use

=IF(SUMPRODUCT(--($A$1:$A1=$A1),--($B$1:$B1="Active"))1,"Dup","")


--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Bob Phillips" wrote in message
...
In column C

=IF(SUMPRODUCT(--($A$1:L$A$20=A1),--($B$1:$B$20="Active")),"Dup","")

and copy down

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Curious" wrote in message
oups.com...
2 Columns about order status

Company A expired
Company A expired
Company A active
Company A active
Company B active
Company C expired
Company D expired
Company D active
....
....

A company can have multiple expired orders but only one active order.
The purpose is to identify the company with multiple active orders and
fix it manually.

Thanks in advance.





 
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
need to compare two lists and identify cells with same numbers in Bockhamptoner Excel Discussion (Misc queries) 8 September 11th 08 11:34 AM
Compare two worksheets and identify common entries MarkT Excel Discussion (Misc queries) 3 November 8th 07 01:09 AM
How to identify text (compare) in one sheet, then move it another mag7417[_3_] Excel Programming 4 December 14th 05 02:54 PM
How to identify text (compare) in one sheet, then move it another mag7417[_4_] Excel Programming 0 December 14th 05 10:38 AM
Compare and identify new data Dave Baffled Excel Programming 2 November 25th 03 06:14 PM


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