Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 40
Default If,Then for multiple variables.

I have 3 columns (Strain, Genealogy, MOComplete) Below is how I would like
the third column (MOComplete) to formulate. Genealogies are descending in
order and I have provided 3 examples of 3 different strains and 3 different
ways the genealogies can occur.

Some of my Strains have 2 different genealogies, some strains have 3
different genealogies, and some strains have 4 genealogies (Max).

The ordering of genealogies is always FS--PES--PED--POOL.

All POOL Genealogies must have an MOComplete=1.

If there are more than 2 genealogies, the genealogy following POOL will NOT
have an MOComplete but the genealogy that is 1 degree away from POOL needs to
have an MOComplete = 1 as does any remaining genealogy(ies).

Is this an If/Then statement? What is a good equation to get the MOComplete
for each strain and each genealogy? Thanks

Strain Genealogy MOComplete
49 FS
49 POOL 1

51 FS 1
51 PES
51 POOL 1

58 FS 1
58 PES 1
58 PED
58 POOL 1

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 471
Default If,Then for multiple variables.

Things I don't understand about your question:
1. You say pool is always at the bottom, but then you state that anything
following Pool will not have an MOComplete. How can it follow Pool if pool
is always at the bottom?
2. Also you use the word "degree" and I have no idea what you mean by
"degree"
3. I have no idea what equation would be a good one because I can't tell
what you need to calculate. If you can describe the calculation perhaps it
would help.
4. If you calculate by geneology, then I assume it is across all strains?
right? Please be MUCH more specific and I hope to be able to help you.

"Eden397" wrote:

I have 3 columns (Strain, Genealogy, MOComplete) Below is how I would like
the third column (MOComplete) to formulate. Genealogies are descending in
order and I have provided 3 examples of 3 different strains and 3 different
ways the genealogies can occur.

Some of my Strains have 2 different genealogies, some strains have 3
different genealogies, and some strains have 4 genealogies (Max).

The ordering of genealogies is always FS--PES--PED--POOL.

All POOL Genealogies must have an MOComplete=1.

If there are more than 2 genealogies, the genealogy following POOL will NOT
have an MOComplete but the genealogy that is 1 degree away from POOL needs to
have an MOComplete = 1 as does any remaining genealogy(ies).

Is this an If/Then statement? What is a good equation to get the MOComplete
for each strain and each genealogy? Thanks

Strain Genealogy MOComplete
49 FS
49 POOL 1

51 FS 1
51 PES
51 POOL 1

58 FS 1
58 PES 1
58 PED
58 POOL 1

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
Multiple variables-SOS Ang Excel Worksheet Functions 3 April 27th 07 08:24 PM
look for a value with multiple variables Andrea Excel Discussion (Misc queries) 2 January 18th 07 12:24 PM
Sumif with multiple variables les8 Excel Discussion (Misc queries) 5 April 8th 06 02:16 AM
Lookup (multiple variables) stevenpwhite Excel Worksheet Functions 2 December 16th 05 11:03 AM
if function multiple variables cin Excel Worksheet Functions 2 September 8th 05 09:32 PM


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