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. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Child, Mother, Father

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-16-10, 04:14
alski alski is offline
Registered User
 
Join Date: Dec 2002
Posts: 24
Child, Mother, Father

I need to do a comparison in an Excel spreadsheet.

This is in relation to the first table seen at
http://bit.ly/afSuXt
Look at the first row of the table.

Mother:
14, 18

Child:
14, 15

Father:
15, 16


I have 3 sets of numbers. Each set has 2 numbers. The figures for the Child set should have come from both the mather and the father - that is, one from the mother, and the other from the father. If not then return FALSE.

Comparison 1. Compare Child with Mother. Is at least one of the numbers in Child seen in Mother?

In the example above, yes - 14 in Child is also seen in Mother.

Comparison 2. If the Comparison 1 is TRUE, then compare Child and Father using the figure that does NOT match in Comparison 1. That is, compare the value of 15 in Child with both figures in Father. If it is seen, the return TRUE.

How can this be resolved? I've used LOOKUP, IF, AND, OR etc, but am looking for an elegant solution.
Reply With Quote
  #2 (permalink)  
Old 02-16-10, 10:53
alski alski is offline
Registered User
 
Join Date: Dec 2002
Posts: 24
Does this attached Excel sheet make anything clearer?
Attached Files
File Type: zip MotherChildFather.zip (2.8 KB, 3 views)
Reply With Quote
  #3 (permalink)  
Old 02-16-10, 11:51
alski alski is offline
Registered User
 
Join Date: Dec 2002
Posts: 24
apologies - the first zipped file had external cell references. This one should work...
Attached Files
File Type: zip MotherChildFather2.zip (2.5 KB, 3 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
Pingbacks are On
Refbacks are On