Deleting rows based on a criterion in another columnObtain value from another column based on selected list...

Should I use acronyms in dialogues before telling the readers what it stands for in fiction?

In the 1924 version of The Thief of Bagdad, no character is named, right?

Relation between independence and correlation of uniform random variables

What does "Four-F." mean?

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

Do I need to consider instance restrictions when showing a language is in P?

How do hiring committees for research positions view getting "scooped"?

Is it true that good novels will automatically sell themselves on Amazon (and so on) and there is no need for one to waste time promoting?

Matrix using tikz package

Can a wizard cast a spell during their first turn of combat if they initiated combat by releasing a readied spell?

Optimising a list searching algorithm

When to use snap-off blade knife and when to use trapezoid blade knife?

Light propagating through a sound wave

Worshiping one God at a time?

Turning a hard to access nut?

Hausdorff dimension of the boundary of fibres of Lipschitz maps

Variable completely messes up echoed string

How to define limit operations in general topological spaces? Are nets able to do this?

Wrapping homogeneous Python objects

Generic TVP tradeoffs?

Do native speakers use "ultima" and "proxima" frequently in spoken English?

I seem to dance, I am not a dancer. Who am I?

Can a medieval gyroplane be built?

How are passwords stolen from companies if they only store hashes?



Deleting rows based on a criterion in another column


Obtain value from another column based on selected list valueConditional Formatting in excel based on another columnCount first occurrence of one criterion based on a second criterionExcel - find multiple pieces of data in several different columns at onceExcel: Calculate IF column based on another IF columnReducing rows in column to match another column in ExcelIn Excel have a cell read specific text when two others equal a certain valueHow to delete rows in excel based on column valuesSubtracting sales from order in excelExcel 2013 FIFO Report based on Log













0















I have data from sales transactions and I want to delete voided transactions. The problems is that some voided transactions have multiple items. Three examples are (included in columns A through F):
Tran.# Tran. Quant. Product Code Desciption
1008818 1 1 1 44370

1008818 1001 0 0 0 ******* VOID SALE *******
1008834 1 1 1 34880

1008834 2 1 1 63045

1008834 1001 0 0 0 ******* VOID SALE *******
1009142 1 1 1 23700

1009142 2 1 1 45770

1009142 3 1 1 63244

1009142 4 1 1 63237

1009142 1001 0 0 0 ******* VOID SALE *******



I need to delete transactions 1001, but I need to delete all items of the transactions. Is there any easy way to do this (functions, macros, etc.)? If yes, can someone give me the solution or macros?









share







New contributor




Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I have data from sales transactions and I want to delete voided transactions. The problems is that some voided transactions have multiple items. Three examples are (included in columns A through F):
    Tran.# Tran. Quant. Product Code Desciption
    1008818 1 1 1 44370

    1008818 1001 0 0 0 ******* VOID SALE *******
    1008834 1 1 1 34880

    1008834 2 1 1 63045

    1008834 1001 0 0 0 ******* VOID SALE *******
    1009142 1 1 1 23700

    1009142 2 1 1 45770

    1009142 3 1 1 63244

    1009142 4 1 1 63237

    1009142 1001 0 0 0 ******* VOID SALE *******



    I need to delete transactions 1001, but I need to delete all items of the transactions. Is there any easy way to do this (functions, macros, etc.)? If yes, can someone give me the solution or macros?









    share







    New contributor




    Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I have data from sales transactions and I want to delete voided transactions. The problems is that some voided transactions have multiple items. Three examples are (included in columns A through F):
      Tran.# Tran. Quant. Product Code Desciption
      1008818 1 1 1 44370

      1008818 1001 0 0 0 ******* VOID SALE *******
      1008834 1 1 1 34880

      1008834 2 1 1 63045

      1008834 1001 0 0 0 ******* VOID SALE *******
      1009142 1 1 1 23700

      1009142 2 1 1 45770

      1009142 3 1 1 63244

      1009142 4 1 1 63237

      1009142 1001 0 0 0 ******* VOID SALE *******



      I need to delete transactions 1001, but I need to delete all items of the transactions. Is there any easy way to do this (functions, macros, etc.)? If yes, can someone give me the solution or macros?









      share







      New contributor




      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I have data from sales transactions and I want to delete voided transactions. The problems is that some voided transactions have multiple items. Three examples are (included in columns A through F):
      Tran.# Tran. Quant. Product Code Desciption
      1008818 1 1 1 44370

      1008818 1001 0 0 0 ******* VOID SALE *******
      1008834 1 1 1 34880

      1008834 2 1 1 63045

      1008834 1001 0 0 0 ******* VOID SALE *******
      1009142 1 1 1 23700

      1009142 2 1 1 45770

      1009142 3 1 1 63244

      1009142 4 1 1 63237

      1009142 1001 0 0 0 ******* VOID SALE *******



      I need to delete transactions 1001, but I need to delete all items of the transactions. Is there any easy way to do this (functions, macros, etc.)? If yes, can someone give me the solution or macros?







      worksheet-function microsoft-excel-2010 macros





      share







      New contributor




      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 5 mins ago









      HootanHootan

      1




      1




      New contributor




      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Hootan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          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
          });


          }
          });






          Hootan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1414915%2fdeleting-rows-based-on-a-criterion-in-another-column%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








          Hootan is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Hootan is a new contributor. Be nice, and check out our Code of Conduct.













          Hootan is a new contributor. Be nice, and check out our Code of Conduct.












          Hootan is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1414915%2fdeleting-rows-based-on-a-criterion-in-another-column%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

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

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

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