Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
230 views
in Technique[技术] by (71.8m points)

google sheets - Is there a way to create an editable list in a separate tab for automated content?

I have a CSV that is pulling in content automatically and am wondering if there is a way to assign values to the 'Title' and 'Colour' variants in a list in the second tab, rather than editing the formula each time I would like to add a new Title or Colour.

The 'Title' and 'Colour' variants are determined by values assigned in column N. I would like, if possible, to create new Colours and Titles and assign them values in a list in the second tab.

I have created an example CSV with the necessary columns highlighted.

Column B - Product title Column I - Colour

Link to CSV

https://docs.google.com/spreadsheets/d/1c8TyIL_GGtyIEWV6igNzM705cSt4nSTIpGuUl_UTN1w/edit?usp=sharing

question from:https://stackoverflow.com/questions/65830074/is-there-a-way-to-create-an-editable-list-in-a-separate-tab-for-automated-conten

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Try this:

B1: =arrayformula(IF(A1:A="Handle","Title",VLOOKUP(INDEX(SPLIT(N1:N, "-"),,1),Title,2,false)))

I1: =arrayformula(IF(A1:A="Handle","Colour",VLOOKUP(INDEX(SPLIT(N1:N, "-"),,2),Colour,2,false)))

I added "false".


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...