Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default help with formula


A B C-count

10 A
10 A
10 A 2 Dup
20 B
20 C

There are duplicates numbers in Column A and B. How do you write a formula
to look up all fields in all columns for any possible duplicates place and
count the value in column c.

Many thanks,
Soth



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default help with formula

If your data starts from 2nd Row then use this formula in C3 cell
=IF(AND(B2<B4,COUNTIF($B$2:$B3,$B3)-11),COUNTIF($B$2:$B3,$B3)-1&" DUP","")

If your data starts from 1st Row then use this formula in C2 cell
=IF(AND(B1<B3,COUNTIF($B$1:$B2,$B2)-11),COUNTIF($B$1:$B2,$B2)-1&" DUP","")

Change the column reference B to A if required.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Soth" wrote:


A B C-count

10 A
10 A
10 A 2 Dup
20 B
20 C

There are duplicates numbers in Column A and B. How do you write a formula
to look up all fields in all columns for any possible duplicates place and
count the value in column c.

Many thanks,
Soth



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



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