Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 01-06-2009, 10:37 PM
Ckooz Ckooz is offline
Registered User
 
Join Date: 06 Jan 2009
Location: Winsum
MS Office Version:Excel 2007
Posts: 2
Ckooz is becoming part of the community
need a search option i cant find!

Please Register to Remove these Ads

Hello,

My Excel is dutch but i still will atach it! Im working on a sheet for a speeddate at my school. Now in page one there are the results of men. In page 2 the results of women. Now in page 3 are the results of both if they both have the same you have a match!! :D

Now i would like to have on page 4 all men (101-150) with behind it the numbers of the women they match....

If you can find the formula for this in english its easy for me to translate so please help me with this one!

greetings,

Frans
Attached Files
File Type: xls speeddating.xls (215.0 KB, 6 views)
Reply With Quote
  #2  
Old 01-07-2009, 03:30 AM
DonkeyOte's Avatar
DonkeyOte DonkeyOte is offline
Forum Guru
 
Join Date: 22 Oct 2008
Location: Suffolk, UK
MS Office Version:2002 & 2007
Posts: 13,667
DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute DonkeyOte has a reputation beyond repute
Not entirely sure I'm following but if I've interpreted correctly I'd probably go for something along the lines of the following:

1 - Sheet Resultaat:
B2: =IF(AND(vrouwen!B2="x",mannen!B2="x"),COUNT($A2:A2),"")
copy down for all rows and across to column AY
AZ2:=COUNT(B2:AY2)
copy down for all rows (effectively = count of *matches* for given man)

2 - Sheet Resultaat mannen
Insert Row in Row 1 (ie existing row 1 becomes row 2)
In D1: "Match"
In B2: "Row"
In C2: "Matches"
In D2: =N(C2)+1
copy across to say J2
In B3: =MATCH($A3,Resultaat!$A$1:$A$100,0)
copy down for all Man ID's in A
In C3: =INDEX(Resultaat!$AZ$1:$AZ$100,$B3,1)
copy down for all Man ID's in A

Now to populate matrix
In D3: =IF($C3<D$2,"",INDEX(Resultaat!$A$1:$AZ$1,1,MATCH(D$2,INDEX(Resultaat!$A$1:$AZ$100,$B3,0),0)))
copy down for all Man ID's in A and across to J (ie to cater for max possible number of matches)

Hope that helps.

(note 2nd use of INDEX in the Matrix is volatile as it's being used to return a Range as opposed to a Value)
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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