=QUERY(ImportRange — Can I bring Col14 and Col15 of original sheet into the new sheet at a diff cell?

Multi tool use
Multi tool use












0















Current function, working perfectly so far:



=QUERY(ImportRange("doclink", "Info!A2:S"), "Select Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col12 WHERE Col18='At Risk' order by Col1 asc")


In my original sheet I have Col14 and Col15 with relevant info I'd like to transpose into my new sheet's Col13.



Is this even possible to input 2 cells' info into 1 new cell?



How would I pull from those and "skip" inputting in Col10, Col11, Col12 of the new sheet? (new info needs to go there that is not pulled from original sheet)



Feel free to point me in the right direction or even let me know if this is possible. I've been googling for a bit but I think my lack of vernacular is limiting what I find.



Many thanks!










share|improve this question

























  • I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

    – Tom Sharpe
    Dec 30 '18 at 13:00
















0















Current function, working perfectly so far:



=QUERY(ImportRange("doclink", "Info!A2:S"), "Select Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col12 WHERE Col18='At Risk' order by Col1 asc")


In my original sheet I have Col14 and Col15 with relevant info I'd like to transpose into my new sheet's Col13.



Is this even possible to input 2 cells' info into 1 new cell?



How would I pull from those and "skip" inputting in Col10, Col11, Col12 of the new sheet? (new info needs to go there that is not pulled from original sheet)



Feel free to point me in the right direction or even let me know if this is possible. I've been googling for a bit but I think my lack of vernacular is limiting what I find.



Many thanks!










share|improve this question

























  • I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

    – Tom Sharpe
    Dec 30 '18 at 13:00














0












0








0








Current function, working perfectly so far:



=QUERY(ImportRange("doclink", "Info!A2:S"), "Select Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col12 WHERE Col18='At Risk' order by Col1 asc")


In my original sheet I have Col14 and Col15 with relevant info I'd like to transpose into my new sheet's Col13.



Is this even possible to input 2 cells' info into 1 new cell?



How would I pull from those and "skip" inputting in Col10, Col11, Col12 of the new sheet? (new info needs to go there that is not pulled from original sheet)



Feel free to point me in the right direction or even let me know if this is possible. I've been googling for a bit but I think my lack of vernacular is limiting what I find.



Many thanks!










share|improve this question
















Current function, working perfectly so far:



=QUERY(ImportRange("doclink", "Info!A2:S"), "Select Col1,Col3,Col4,Col5,Col6,Col7,Col8,Col9,Col12 WHERE Col18='At Risk' order by Col1 asc")


In my original sheet I have Col14 and Col15 with relevant info I'd like to transpose into my new sheet's Col13.



Is this even possible to input 2 cells' info into 1 new cell?



How would I pull from those and "skip" inputting in Col10, Col11, Col12 of the new sheet? (new info needs to go there that is not pulled from original sheet)



Feel free to point me in the right direction or even let me know if this is possible. I've been googling for a bit but I think my lack of vernacular is limiting what I find.



Many thanks!







google-sheets google-sheets-query google-sheets-formula






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 30 '18 at 7:31









AS Mackay

1,9854819




1,9854819










asked Dec 29 '18 at 22:01









Valerie WheelerValerie Wheeler

32




32













  • I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

    – Tom Sharpe
    Dec 30 '18 at 13:00



















  • I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

    – Tom Sharpe
    Dec 30 '18 at 13:00

















I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

– Tom Sharpe
Dec 30 '18 at 13:00





I think whatever you try to do you will get "array result was not expanded because it would overwrite data..." error so will need two separate importrange's.

– Tom Sharpe
Dec 30 '18 at 13:00












1 Answer
1






active

oldest

votes


















1














So far it looks as if your column 15 would need 2 separate imports joined together like this which is a bit ugly I'm afraid:



=ArrayFormula({query(importrange("...","sheet6!a:s"),"Select Col14 where Col18='At Risk'")&
query(importrange("...","sheet6!a:s"),"Select Col15 where Col18='At Risk'")})





share|improve this answer
























  • This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

    – Valerie Wheeler
    Dec 31 '18 at 14:20











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53973673%2fqueryimportrange-can-i-bring-col14-and-col15-of-original-sheet-into-the-new%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














So far it looks as if your column 15 would need 2 separate imports joined together like this which is a bit ugly I'm afraid:



=ArrayFormula({query(importrange("...","sheet6!a:s"),"Select Col14 where Col18='At Risk'")&
query(importrange("...","sheet6!a:s"),"Select Col15 where Col18='At Risk'")})





share|improve this answer
























  • This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

    – Valerie Wheeler
    Dec 31 '18 at 14:20
















1














So far it looks as if your column 15 would need 2 separate imports joined together like this which is a bit ugly I'm afraid:



=ArrayFormula({query(importrange("...","sheet6!a:s"),"Select Col14 where Col18='At Risk'")&
query(importrange("...","sheet6!a:s"),"Select Col15 where Col18='At Risk'")})





share|improve this answer
























  • This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

    – Valerie Wheeler
    Dec 31 '18 at 14:20














1












1








1







So far it looks as if your column 15 would need 2 separate imports joined together like this which is a bit ugly I'm afraid:



=ArrayFormula({query(importrange("...","sheet6!a:s"),"Select Col14 where Col18='At Risk'")&
query(importrange("...","sheet6!a:s"),"Select Col15 where Col18='At Risk'")})





share|improve this answer













So far it looks as if your column 15 would need 2 separate imports joined together like this which is a bit ugly I'm afraid:



=ArrayFormula({query(importrange("...","sheet6!a:s"),"Select Col14 where Col18='At Risk'")&
query(importrange("...","sheet6!a:s"),"Select Col15 where Col18='At Risk'")})






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 30 '18 at 13:38









Tom SharpeTom Sharpe

12.4k31224




12.4k31224













  • This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

    – Valerie Wheeler
    Dec 31 '18 at 14:20



















  • This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

    – Valerie Wheeler
    Dec 31 '18 at 14:20

















This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

– Valerie Wheeler
Dec 31 '18 at 14:20





This does indeed make sense and you're right; it's ugly. Bah! Appreciate the help, I'll keep learning as I go and hopefully find some better long term solutions.

– Valerie Wheeler
Dec 31 '18 at 14:20


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53973673%2fqueryimportrange-can-i-bring-col14-and-col15-of-original-sheet-into-the-new%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







xoz l Zt4hboF89nWaAOLEkRxU,PyseoWwRxOUAaJ9hrZRixSTnTO9 id WCqW5YS
ik1TuaolnsvXoQ9B60Eqjh7lMdr7BaugQck,SESyCu41PiSFP kAsPOLTFqNX4BKOm,MbxwKpJId sxBe

Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas