![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Posts: 5
|
Anyone know how I can look at values in two columns with values from 1 to 5 in both columns and assign a letter (in a third column) to each of the possible 25 permutations. This also needs to work for a continuously expanding number of rows as the data is updated. I intend to use this third column to determine how many times any permutation occurs in the list of data rows with a COUNTIF statement.
Ex. column D is the output I desire. B2 C2 Output(D2) 1 1 A 2 1 B 3 1 C 4 1 D 5 1 E 1 2 F 2 2 G 3 2 H 4 2 I 5 2 J 1 3 K 2 3 L etc... Thanks in advance. |
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Location: Hellas
Posts: 553
|
__________________
Best Regards Andreas
|
|
|
|
|
|
#3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Board Regular
Join Date: Mar 2002
Posts: 1,805
|
Hello biodand,
Isn't it more simple to count the result of concatenated cells? like this: Eli
To see the formula in the cells just click on the cells hyperlink The above image was automatically generated by [HtmlMaker V1.23] If you want this code, click here and Colo will email the file to you. This code was graciously allowed to be modified: by Ivan F Moala All credit to Colo |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
#4 |
|
New Member
Join Date: May 2002
Posts: 5
|
Thanks Eli,
this worked fine, I was not aware of this function. bioDanD |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|