For given Key Value pair find and replace all keys with corresponding values at once in Google Spreadsheet
up vote
0
down vote
favorite
Please let me know how do I achieve below output state in googlespreadsheet, for given key(Column3) and value(Column4) in below table. This is just a example I've file with huge records.
Input State :
Column1 Column2 Column3 Column4
123 123 ABC
123 456 DEF
123 789 GHI
456
456
456
789
789
Output State :
Column1 Column2 Column3 Column4
123 ABC 123 ABC
123 ABC 456 DEF
123 ABC 789 GHI
456 DEF
456 DEF
456 DEF
789 GHI
789 GHI
I've tried few hacks but didn't work. Dear excel experts please help here.
TIA
excel google-sheets excel-formula
add a comment |
up vote
0
down vote
favorite
Please let me know how do I achieve below output state in googlespreadsheet, for given key(Column3) and value(Column4) in below table. This is just a example I've file with huge records.
Input State :
Column1 Column2 Column3 Column4
123 123 ABC
123 456 DEF
123 789 GHI
456
456
456
789
789
Output State :
Column1 Column2 Column3 Column4
123 ABC 123 ABC
123 ABC 456 DEF
123 ABC 789 GHI
456 DEF
456 DEF
456 DEF
789 GHI
789 GHI
I've tried few hacks but didn't work. Dear excel experts please help here.
TIA
excel google-sheets excel-formula
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Please let me know how do I achieve below output state in googlespreadsheet, for given key(Column3) and value(Column4) in below table. This is just a example I've file with huge records.
Input State :
Column1 Column2 Column3 Column4
123 123 ABC
123 456 DEF
123 789 GHI
456
456
456
789
789
Output State :
Column1 Column2 Column3 Column4
123 ABC 123 ABC
123 ABC 456 DEF
123 ABC 789 GHI
456 DEF
456 DEF
456 DEF
789 GHI
789 GHI
I've tried few hacks but didn't work. Dear excel experts please help here.
TIA
excel google-sheets excel-formula
Please let me know how do I achieve below output state in googlespreadsheet, for given key(Column3) and value(Column4) in below table. This is just a example I've file with huge records.
Input State :
Column1 Column2 Column3 Column4
123 123 ABC
123 456 DEF
123 789 GHI
456
456
456
789
789
Output State :
Column1 Column2 Column3 Column4
123 ABC 123 ABC
123 ABC 456 DEF
123 ABC 789 GHI
456 DEF
456 DEF
456 DEF
789 GHI
789 GHI
I've tried few hacks but didn't work. Dear excel experts please help here.
TIA
excel google-sheets excel-formula
excel google-sheets excel-formula
asked 2 days ago
apandey846
830919
830919
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
In B2 put the following and fill down
=iferror(vlookup(A1,$C$1:$D$3,2,false),"")
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
In B2 put the following and fill down
=iferror(vlookup(A1,$C$1:$D$3,2,false),"")
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
add a comment |
up vote
2
down vote
accepted
In B2 put the following and fill down
=iferror(vlookup(A1,$C$1:$D$3,2,false),"")
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
add a comment |
up vote
2
down vote
accepted
up vote
2
down vote
accepted
In B2 put the following and fill down
=iferror(vlookup(A1,$C$1:$D$3,2,false),"")
In B2 put the following and fill down
=iferror(vlookup(A1,$C$1:$D$3,2,false),"")
answered 2 days ago
QHarr
25.2k81839
25.2k81839
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
add a comment |
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
1
1
Great! Thank you it worked as expected.
– apandey846
2 days ago
Great! Thank you it worked as expected.
– apandey846
2 days ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53238415%2ffor-given-key-value-pair-find-and-replace-all-keys-with-corresponding-values-at%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password