ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 01-05-2007, 10:02 AM
sharman sharman is offline
Registered User
 
Join Date: 05 Jan 2007
Location: ny
Posts: 4
sharman is on a distinguished road
Thumbs up Find

In a work sheet and i have one row of two codes like 1000 and 1100 and other row is dates for the fill year occured again and again.
Is there a way to find out that if two codes occured on same date
please help me if any body can
thanks
Reply With Quote
  #2  
Old 01-05-2007, 11:30 AM
NBVC's Avatar
NBVC NBVC is online now
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,882
NBVC will become famous soon enough NBVC will become famous soon enough
Say your codes are in A2:Z2....and your dates are in A3:Z3....

try:

=SUMPRODUCT(--($A$2:$Z$2<>A2),--($A$3:$Z$3=A3)) copied to the right...

If you have a result of 1 or more, then the date is repeated for opposite code...if you have a result of 0, then the "other" code does not appear for same date within range....
__________________
Where there is a will there are many ways. Finding one that works for you is the challenge!

Please read the Forum Rules: Rules
Reply With Quote
  #3  
Old 01-05-2007, 04:03 PM
sharman sharman is offline
Registered User
 
Join Date: 05 Jan 2007
Location: ny
Posts: 4
sharman is on a distinguished road
find

thanks for the help but i made mistake in post

I have data in columns


f g
1000 01/03/02

1100 01/03/02
1000 01/04/02
1000 01/05/02
1100 01/05/02
1000 01/06/02
1000 01/03/02
Reply With Quote
  #4  
Old 01-06-2007, 09:52 PM
NBVC's Avatar
NBVC NBVC is online now
Forum Moderator
 
Join Date: 06 Dec 2006
Location: Mississauga, CANADA
Posts: 7,882
NBVC will become famous soon enough NBVC will become famous soon enough
Same idea....just transposed...

Try

=SUMPRODUCT(--($F$2:$F$100<>F2),--($G$2:$G$100=G2)) copied down...

adjust ranges to suit your actual range sizes....

If you have a result of 1 or more, then the date is repeated for opposite code...if you have a result of 0, then the "other" code does not appear for same date within range....
__________________
Where there is a will there are many ways. Finding one that works for you is the challenge!

Please read the Forum Rules: Rules
Reply With Quote
  #5  
Old 01-06-2007, 11:15 PM
sharman sharman is offline
Registered User
 
Join Date: 05 Jan 2007
Location: ny
Posts: 4
sharman is on a distinguished road
find

thanks
it was helpful for me
Reply With Quote
  #6  
Old 01-09-2007, 12:56 PM
sharman sharman is offline
Registered User
 
Join Date: 05 Jan 2007
Location: ny
Posts: 4
sharman is on a distinguished road
find

Hi my helper
thanks a lot
you helped me a lot
but i have one more question
this formula works fine with one person in the list.
what to do if there are hundreds of names and every one
using those dates.
is there any solution for it.
thanks again
i hope you will be able to help me
Reply With Quote
  #7  
Old 01-09-2007, 01:01 PM
Carim Carim is offline
Forum Guru
 
Join Date: 07 Apr 2006
Posts: 4,001
Carim is on a distinguished road
Hi,

NBVC has provided you with an excellent formula, which would work for hundreds of names ... the formula has to be adjusted accordingly ...

However, if you want a summary table, I would recommend a simple pivot table ...

HTH
Carim
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 03:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0