ChristineJ
Well-known Member
- Joined
- May 18, 2009
- Messages
- 771
- Office Version
- 365
- Platform
- Windows
Trying to return a string of values using this basic example below:
Cell B2 contains a string of cell references separated by commas. (The actual cell references and the number of cell references can vary.)
Example: B12, K22, G9, F3, E10, A24, C11, M1, F6, J19, G12, H14
Each of these cells contains a numerical value.
Cell B4 contains a string of values separated by commas. (The amounts and the number of amounts can vary.)
Example: 4, 7, 9, 15, 18
Cell B6: Is there a formula (or VBA) so that cell B6 returns only the values from cell B4 that are NOT contained in one of the cells in B2?
Example: All of the cells listed in B2 contain a value over 20 except the following: G9 = 4; M1 = 3; H14 = 15
Result: Cell B6 shows 7, 9, 18
Thanks!
Cell B2 contains a string of cell references separated by commas. (The actual cell references and the number of cell references can vary.)
Example: B12, K22, G9, F3, E10, A24, C11, M1, F6, J19, G12, H14
Each of these cells contains a numerical value.
Cell B4 contains a string of values separated by commas. (The amounts and the number of amounts can vary.)
Example: 4, 7, 9, 15, 18
Cell B6: Is there a formula (or VBA) so that cell B6 returns only the values from cell B4 that are NOT contained in one of the cells in B2?
Example: All of the cells listed in B2 contain a value over 20 except the following: G9 = 4; M1 = 3; H14 = 15
Result: Cell B6 shows 7, 9, 18
Thanks!