Automatically Hide Rows in Excel Based on Multiple Conditions Based on a Cell Result

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024
  • If you want to learn how to do this process in Google Spreadsheet, please watch the video below:
    • Automatically Hide Row...
    The full article of this demonstration and the formula used are now posted on our website, please click the link below:
    eduknasyon.blo...
    And if you want to be a Full Fledge Member of our Team, please join the link below.
    / @integratedschoolforms
    Please help us keep our channel going!!!
    Please show your support to our Channel by donating any small amount to keep our projects going, you can send your donations to:
    Bank Transfer:
    Landbank of the Philippines Account
    Account Name: Wedzmer B Munjilul
    Account Number: 0165 0409 29
    Unionbank Account
    Account Name: Wedzmer Briz Munjilul
    Account Number: 1094 2956 4720
    Coins.Ph: tinyurl.com/is...
    Paypal: paypal.me/wedzmer
    GCash: +63 916 192 5905
    GoFundMe: bit.ly/HelpOur...
    Even a P1.00 donation goes far.
    ===========================================================
    Details:
    Link of previous tutorial about Automatic Hiding of Rows using VBA
    • How to Hide Random Bla...
    Article regarding Hiding of Rows using VBA:
    eduknasyon.blo...
    #Excel #VBA #Conditional

ความคิดเห็น • 45

  • @adnantahir4530
    @adnantahir4530 ปีที่แล้ว

    Brilliant work

  • @robincano894
    @robincano894 ปีที่แล้ว

    I really learned from this tutorial. What will the code if I will unhide the hidden rows? I am hoping much of your reply. Thank you so much

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      as mentioned in the tutorial, you can just use the record macro feature of excel; select all cells (CTRL + A) right click on any row, and choose unhide. The code will automatically be written for you to inverse the function of this tutorial

  • @closeuptrading
    @closeuptrading 2 ปีที่แล้ว +1

    appreciate the tutorial go it working, but how to unhide the rows after clicking the button, i thought by clicking it again would do it, but did not, do i need another macro if i want the hidden cells to show

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว +1

      yes, you'd need to have another macro for that.. i believe I mentioned in the video to just create another button, and then just use the record macro button and proceed with unhiding all the rows by highlighting all cells (CTRL A). that would immediately create a macro code for your unhiding of rows.

  • @vytalbusinessconsultants3051
    @vytalbusinessconsultants3051 3 ปีที่แล้ว

    Hi, Thank you for sharing this tutorial...
    A question, how to hide a row based on values in different cells of different columns...
    e.g I want row #2 to automatically hide if cell B2 cell value is "O" or if cell C2 cell value is "P" or if cell D2 cell value is "Q" ...

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  3 ปีที่แล้ว

      you can use a conditional argument in your helper column with an OR syntax:
      =OR(B2="O",C2="P",D2="Q"), the return value of this conditional argument may be true or false which can be assigned with "1" or "0" in the vba reference.

  • @archboyd
    @archboyd 2 ปีที่แล้ว

    Pretty good, it also hid the female row as well.

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว

      the function will read the data based on the helper columns which were created :)

  • @mangubatrechellec.9456
    @mangubatrechellec.9456 2 ปีที่แล้ว

    What if you want to show it again? or need to unhide manually? thanks sir

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว

      i believe we suggested that in the video using record macros

    • @Jabz-93
      @Jabz-93 ปีที่แล้ว

      I have the same issue i don’t know what part are you talking about, i cannot show them again

  • @azhkel
    @azhkel ปีที่แล้ว

    Nice content sir

  • @omek077
    @omek077 2 ปีที่แล้ว

    Hello my friend, thank you for the tutorial it was very helpful. is it possible to tell me how i can do this button to Hide and Unhide the rows ? with your commands i can hide them but i can not unhide the hidden rows

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว +3

      I'm not sure if I mentioned it in the video but to unhide these rows would relatively be easy just by using the record macro button. you basically hit the record macro button, highlight all the rows (both hidden and unhidden rows), right click the row numbers, choose the show all rows (unhide it) and stop the recording. Excel will pretty much make the VBA for you. Just assign that code to a new button and you're good to go.

    • @harrylew8064
      @harrylew8064 2 ปีที่แล้ว

      @@IntegratedSchoolForms that's an ingenious way, thanks :)

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว

      @@harrylew8064 great to help

  • @TheRiddlerabz
    @TheRiddlerabz ปีที่แล้ว

    ok this doesnt unhide though does ? once i push the button, pressing it again does not unhide ??

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว +2

      it doesn't. And I believe I already mentioned that in the video's latter part. Unhiding the rows would require another button and you can just use the macro record option to select all cells and then unhide rows.

  • @Jabz-93
    @Jabz-93 ปีที่แล้ว

    When i closed my excel file and reopened it my macro script disappeared and the button no longer worked even though i saved the file before closing, any clues ?

    • @WEDZMERMUNJILUL
      @WEDZMERMUNJILUL ปีที่แล้ว +2

      You should save the your excel file as .xlsm or .xlsb to keep the macro working even when you close it.

  • @grisheldamarks-webster-noa1706
    @grisheldamarks-webster-noa1706 ปีที่แล้ว

    Hello, How can I automatically hide rows based on a cell value without VBA codes? I can not use macros. Thanks

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      How come you can't use macros? There ain't any automated way to hide rows based on cell values, as far as I know.

  • @nk8404
    @nk8404 ปีที่แล้ว +1

    What is error 424 and its showing object required

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      Error 424 in Excel VBA is a runtime error that occurs when the program tries to reference an object that doesn't exist or is not recognized by the system. The error message "Object Required" is shown when the program tries to use an object variable that has not been set or initialized.

  • @aayushshrestha7990
    @aayushshrestha7990 ปีที่แล้ว

    Run-Time error 1004?
    And on clicking button ×400?

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      "Runtime Error 1004" is a common error that occurs when a macro or VBA code tries to access a worksheet or range that does not exist, or when the user does not have permission to perform the requested operation.
      Here are some possible causes and solutions for "Runtime Error 1004":
      Invalid range or worksheet name: If the code tries to access a range or worksheet that does not exist or has an invalid name, it will result in a 1004 error. Make sure that the range or worksheet name is spelled correctly and exists in the workbook.
      Locked cells or protected worksheet: If the code tries to modify a locked cell or a protected worksheet, it will cause a 1004 error. You can unlock the cells or unprotect the worksheet before running the code, or modify the code to work with the protected worksheet.

  • @TheRevlation
    @TheRevlation ปีที่แล้ว

    I dont know when was this made... but he made a simple task complicated.
    Just do this:
    Select the whole range you want Filtered.
    Go to DATA>Filter... or press Ctrl+Shift+L
    Then filter according to your needs.... no formulas needed

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      Yes, that may be true. The purpose of the video is to show everyone how to use the VBA codes we are utilizing in the different automated templates we created. This option is universal which does not rely on the restrictions of DATA FILTER option on merged cells. As demonstrated, we are referencing the cells based on their actual cell name which can be extended in a multiple array of applications. With this method, an approach on referencing towards merged cells may not be a problem. Further, this option also allows the user to use buttons which can be activate the VBA with just 1-click instead of multiple clicks in a Filter Option.

    • @CapitanChoripan
      @CapitanChoripan 2 หลายเดือนก่อน

      Thank you random commenter on TH-cam!

  • @tindencen
    @tindencen ปีที่แล้ว

    What causes Run Time Error 400?

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว +1

      you can check the specific line in the macro window that might cause this error. there are many possible causes. better double check the codes too.

    • @tindencen
      @tindencen ปีที่แล้ว +1

      @@IntegratedSchoolForms Done it...thank you.... can you very much sir...

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      @@tindencen great to help

  • @ovakem
    @ovakem ปีที่แล้ว

    You could simply multiply column1 * Column 2 and the result would be Zero if any of the columns were Zero, no need to write the "or" formula.

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  ปีที่แล้ว

      yes, that would have been easier but the values were not treated as integers but as text and the formula was presented in order for the viewers to understand that the values 1 and 0 can also be "yes" or "no"; or "true" or "false"; whichever they would prefer. In such a case, the multiplication formula would not work.

  • @georgegonos760
    @georgegonos760 3 ปีที่แล้ว +3

    You do a good job but spend too much time off subject. I am now at 9 minutes of the 13 in the video and you still have not told me how to auto-hide the rows. Instead, you spent well over half of the video teaching other things.....come on man! And, what's up with the annoying background music bro?

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  3 ปีที่แล้ว +4

      hey man, appreciate the comment.... you know most of my tutorials are for beginner excel users and hoping that by showing it step-by-step, they won't have any issues when running the process in their own.
      as for the music,lol, sorry man, i like that background music man... it kinda' keeps me up.. but sorry if you found that annoying.

  • @aajayi
    @aajayi 2 ปีที่แล้ว +1

    Very poor explanation 😢

    • @IntegratedSchoolForms
      @IntegratedSchoolForms  2 ปีที่แล้ว

      Which part?

    • @aajayi
      @aajayi 2 ปีที่แล้ว

      Actually I’ve re-watched the video and it’s not that bad, however, the video is a bit too long and people will loose concentration. The first 6 minutes was good but the last few minutes could have been simpler and more straightforward perhaps. In anycase I’ve given you thumbs up 👍🏾

    • @iainhmunro
      @iainhmunro ปีที่แล้ว

      @@aajayi If you are going to comment, you better be 100% yourself - like your spelling - Loose ?

    • @aajayi
      @aajayi ปีที่แล้ว

      @@iainhmunro no idea what ur talking about 🤔