Available in Sets.xla, a Microsoft© Excel add-in.
Click "MakeSet",or scroll this page for MakeSet examples.
Click on another function in the browser window to read about it.
A simple set is a simple list enclosed in brackets.
Each item in the simple list is unique.
| Cell Contains | Simple Set? |
|---|---|
| {1} | Yes |
| {1,2,a,b} | Yes |
| {1,2,a,b,2} | No |
| {{1,2,a,b}} | No |
| A1 | B1 | =MakeSet(A1:B1) |
|---|---|---|
| 1,2,3,4,5 | 1,2,3 | {1,2,3,4,5} |
| Cell | Contents |
|---|---|
| A1 | 1,2,3,4,5 |
| A2 | 1,2,3 |
| A3 | 4 |
| =MakeSet(A1:A3) | {1,2,3,4,5} |
| Cell | Contents |
|---|---|
| A1 | 1,2,3,4,5 |
| A2 | 1,2,3 |
| A3 | 4 |
| =Difference(WVName) | {1,2,3,5} |
| =Difference(A1,A3) | #VALUE! |
If the cells are referenced directly, a #VALUE results.
Created on ... December 27, 2001