In Google Sheets, is there a way to autofill cells with a formula targeting cells horizontally (in rows)...

Is there a problem with hiding "forgot password" until it's needed?

Greatest common substring

Do I need a multiple entry visa for a trip UK -> Sweden -> UK?

Is there a good way to store credentials outside of a password manager?

The plural of 'stomach"

Is this Spell Mimic feat balanced?

Products and sum of cubes in Fibonacci

At which point does a character regain all their Hit Dice?

What would happen if the UK refused to take part in EU Parliamentary elections?

How do I keep an essay about "feeling flat" from feeling flat?

Increase performance creating Mandelbrot set in python

What is the intuitive meaning of having a linear relationship between the logs of two variables?

Valid Badminton Score?

Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past

Trouble understanding overseas colleagues

What's a natural way to say that someone works somewhere (for a job)?

Why Were Madagascar and New Zealand Discovered So Late?

Is there any reason not to eat food that's been dropped on the surface of the moon?

Implement the Thanos sorting algorithm

Is there any easy technique written in Bhagavad GITA to control lust?

voltage of sounds of mp3files

How to be diplomatic in refusing to write code that breaches the privacy of our users

Curses work by shouting - How to avoid collateral damage?

Is HostGator storing my password in plaintext?



In Google Sheets, is there a way to autofill cells with a formula targeting cells horizontally (in rows) while autofilling vertically (in columns)?














0















Example Image



In the above image fields are populated as follow:




  • A1 is empty/not important

  • B1 = animal

  • C1 = dog

  • D1 = male

  • E1 = animal

  • F1 = cat

  • G1 = male

  • H1= insect

  • I1 = ladybug

  • J1 = unknown


What I wish to achieve is that column A should be equal to the name of the creatures in row 1.
For example, A2 should equal "dog", A3 should equal "cat", A4 should equal "ladybug", etc. etc.
The name of the creature will always be offset by 3 cells in the row.
I require them listed without empty rows beneath each other in column A.
I cannot delete rows at any time, therefore I need the formula to do the work for me.



Currently, If in A2 and A3 I point respectively to C1 and F1, and I attempt to click and drag the formula down column A, Sheets (as well as Excel) has no idea what my intentions are, which results in the next cell pointing to column C and the first empty row number I drag it onto, and then repeats that cycle all the way down.



I have attempted the OFFSET function, however it suffers from the same ailment of populating "in the wrong direction" and one at a time.
My last resort would be to create an indirect column with the correct pointers, but this is not favorable.
While I would like to stay away from Macros if at all possible, I will consider it a second-to-last resort if there truly is no other way.



Any ideas greatly appreciated.









share



























    0















    Example Image



    In the above image fields are populated as follow:




    • A1 is empty/not important

    • B1 = animal

    • C1 = dog

    • D1 = male

    • E1 = animal

    • F1 = cat

    • G1 = male

    • H1= insect

    • I1 = ladybug

    • J1 = unknown


    What I wish to achieve is that column A should be equal to the name of the creatures in row 1.
    For example, A2 should equal "dog", A3 should equal "cat", A4 should equal "ladybug", etc. etc.
    The name of the creature will always be offset by 3 cells in the row.
    I require them listed without empty rows beneath each other in column A.
    I cannot delete rows at any time, therefore I need the formula to do the work for me.



    Currently, If in A2 and A3 I point respectively to C1 and F1, and I attempt to click and drag the formula down column A, Sheets (as well as Excel) has no idea what my intentions are, which results in the next cell pointing to column C and the first empty row number I drag it onto, and then repeats that cycle all the way down.



    I have attempted the OFFSET function, however it suffers from the same ailment of populating "in the wrong direction" and one at a time.
    My last resort would be to create an indirect column with the correct pointers, but this is not favorable.
    While I would like to stay away from Macros if at all possible, I will consider it a second-to-last resort if there truly is no other way.



    Any ideas greatly appreciated.









    share

























      0












      0








      0








      Example Image



      In the above image fields are populated as follow:




      • A1 is empty/not important

      • B1 = animal

      • C1 = dog

      • D1 = male

      • E1 = animal

      • F1 = cat

      • G1 = male

      • H1= insect

      • I1 = ladybug

      • J1 = unknown


      What I wish to achieve is that column A should be equal to the name of the creatures in row 1.
      For example, A2 should equal "dog", A3 should equal "cat", A4 should equal "ladybug", etc. etc.
      The name of the creature will always be offset by 3 cells in the row.
      I require them listed without empty rows beneath each other in column A.
      I cannot delete rows at any time, therefore I need the formula to do the work for me.



      Currently, If in A2 and A3 I point respectively to C1 and F1, and I attempt to click and drag the formula down column A, Sheets (as well as Excel) has no idea what my intentions are, which results in the next cell pointing to column C and the first empty row number I drag it onto, and then repeats that cycle all the way down.



      I have attempted the OFFSET function, however it suffers from the same ailment of populating "in the wrong direction" and one at a time.
      My last resort would be to create an indirect column with the correct pointers, but this is not favorable.
      While I would like to stay away from Macros if at all possible, I will consider it a second-to-last resort if there truly is no other way.



      Any ideas greatly appreciated.









      share














      Example Image



      In the above image fields are populated as follow:




      • A1 is empty/not important

      • B1 = animal

      • C1 = dog

      • D1 = male

      • E1 = animal

      • F1 = cat

      • G1 = male

      • H1= insect

      • I1 = ladybug

      • J1 = unknown


      What I wish to achieve is that column A should be equal to the name of the creatures in row 1.
      For example, A2 should equal "dog", A3 should equal "cat", A4 should equal "ladybug", etc. etc.
      The name of the creature will always be offset by 3 cells in the row.
      I require them listed without empty rows beneath each other in column A.
      I cannot delete rows at any time, therefore I need the formula to do the work for me.



      Currently, If in A2 and A3 I point respectively to C1 and F1, and I attempt to click and drag the formula down column A, Sheets (as well as Excel) has no idea what my intentions are, which results in the next cell pointing to column C and the first empty row number I drag it onto, and then repeats that cycle all the way down.



      I have attempted the OFFSET function, however it suffers from the same ailment of populating "in the wrong direction" and one at a time.
      My last resort would be to create an indirect column with the correct pointers, but this is not favorable.
      While I would like to stay away from Macros if at all possible, I will consider it a second-to-last resort if there truly is no other way.



      Any ideas greatly appreciated.







      microsoft-excel worksheet-function google-spreadsheets





      share












      share










      share



      share










      asked 44 secs ago









      phLOxphLOx

      61




      61






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1418011%2fin-google-sheets-is-there-a-way-to-autofill-cells-with-a-formula-targeting-cell%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1418011%2fin-google-sheets-is-there-a-way-to-autofill-cells-with-a-formula-targeting-cell%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







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...