Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Excel Formula/VBA Code Help

Put

=(COUNTIF($A3:$D3,$A$1)0)+(COUNTIF($A3:$D3,$B$1) 0)+(COUNTIF($A3:$D3,$C$1)
0)+(COUNTIF($A3:$D3,$D$1)0)

in E3 and drag fill down the column.

--
Regards,
Tom Ogilvy



Michael168 wrote in message
...
Excel Formula or VBA code help needed
Hi! Can any one of you help me ?

DataCell = A1:D1

RangeCell = A3:D714 etc

I want to count no of times the non duplicate numbers from Cell A1:A4
have been repeated against the non duplicate numbers in Cell
A3:D3,A4:D4,,,etc until A714:D714 row by row and have the sum result in
E3:E714

A B C D E
1 3 0 2

0 0 0 0 1
0 0 1 2 3
0 0 0 2 2
0 0 2 2 2
0 1 2 3 4
4 5 6 7 0

In E2:E6 will hold the results as example above.
I have try using the array formula =Sum(If(A1:D1=A8:D8)) ,with row1
against 3,4,5,6,7 but the answers were not correct always.

Thank you for your help.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
setting excel formula from code Ralf Excel Discussion (Misc queries) 4 July 14th 09 10:31 PM
Excel hard code those #'s without deleting the formula or typing# JudiS Excel Discussion (Misc queries) 1 August 1st 05 11:21 PM
Excel formula randomly changes to hard-code number Ned Excel Discussion (Misc queries) 3 February 14th 05 11:31 PM
Excel Formula or VBA code help needed bruce taylor[_3_] Excel Programming 1 September 11th 03 02:34 PM
Formula or code John Gittins Excel Programming 0 July 9th 03 04:16 PM


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