Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8350 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

What I'm after is a calculation which will give me all the combinations of 5 fields...

Eg.

Field 1 = A | Aa | aa or A -

Field 2 = B | Bb | bb or B -

I need an output which:

A, B

Aa, B

aa, B

A -,B

A, Bb

A, bb,

etc

Does anyone have any ideas?

TIA smile.gif" border="0

Tony P

  • Newbies
Posted

Does the field have just one of each of the values in it? (e.g. "A" or "aa")

Or does the field have multiple values in it separated by something? (e.g. "A | Aa | aa | A-"

Posted

I have 10 fields in total, but only two fields in each 'block'

E.g.

Field A + Field B, Field C + Field D, Field E + Field F

Each field has a total of four different values (from a value list).

The end result is a breeding gene predicter... smile.gif" border="0

Tony

Posted

Here is a solution with the following assumptions:

Fields are:

f1 to f10 of type text and are repeating with a value of 4.

b1 to b5 of calculation, example for b2 (block2) is:

GetRepetition(f3, 1) & "," & GetRepetition(f4, 1) & "

This topic is 8350 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.