kylefoley76
Well-known Member
- Joined
- Mar 1, 2010
- Messages
- 1,553
I need a formula that can produce column D. Essentially, column B equals column A. So using column C I should be able to produce D.
I mean if column C reads x, then find x in column B, say it's in cell B5, then x equals the value in A5.
help
This formula returned the correct value in D1 but #NUM in D2 and the same value in D3 as D1. Thanks for the help thoughMaybe this:
Code:=SMALL(IF(ISNUMBER(FIND($B$1:$B$3,C1)),$A$1:$A$3),1)&","& SMALL(IF(ISNUMBER(FIND($B$1:$B$3,C1)),$A$1:$A$3),2)
Markmzz
Sorry, my error.This formula returned the correct value in D1 but #NUM in D2 and the same value in D3 as D1. Thanks for the help though
If cells c2 reads 6,4, then find values 4 and 6 in column B. 4 is in B3 and 6 is in B1. Then for B3 read the value in A3 which is 3, then input 3 in D2. Then for B1 read the value in A1 which is 1, then input 1 after the 3 and a comma in D2. Go to C3. C3 reads 9,4. Find 9 in column B. It's in B2. Then go left to A2 which reads 2. Input 2 in D3. Now find 4 in column B. It's in B3. Then go left to A3 which reads 3. Input 3 after 2 and a comma in D3.
=REPLACE(aconcat(IF(ISNUMBER(SEARCH(","&$B$1:$B$3,","&$C1)),
","&$A$1:$A$3,"")),1,1,"")