Stop Nesting IFs! Learn the SWITCH Function in Excel

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

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

  • @qasimawan3568
    @qasimawan3568 9 วันที่ผ่านมา

    Thank you Alan. Love your style of teaching!

    • @Computergaga
      @Computergaga  9 วันที่ผ่านมา

      Thank you, Qasim.

  • @ismaelkourouma5558
    @ismaelkourouma5558 15 วันที่ผ่านมา

    Hey Allan, thanks for this video. Correct me if I am wrong, one of the difference with CHOOSE function is that CHOOSE first argument is always numerical.

    • @Computergaga
      @Computergaga  15 วันที่ผ่านมา

      Yes correct. So it has some strengths and many limitations when compared to SWITCH.
      Great that CHOOSE essentially chooses the value directly that matches the index number(s).

  • @teoxengineer
    @teoxengineer 15 วันที่ผ่านมา

    Very good Alan and thank you.
    I use this function to select any wanted range to bring correct column or row values. So useful and providing time saving

    • @Computergaga
      @Computergaga  15 วันที่ผ่านมา

      Thank you, Emre.

  • @IvanCortinas_ES
    @IvanCortinas_ES 15 วันที่ผ่านมา +1

    It is a function that is not widely used by the general public. The dynamic nature of the graph is very interesting.
    Thank you very much for sharing.

    • @Computergaga
      @Computergaga  15 วันที่ผ่านมา

      You're very welcome!

  • @GiorgioBerardi
    @GiorgioBerardi 14 วันที่ผ่านมา

    After finding myself nested together with dozens other IFs in formulas for years, SWITCH was a genuine breath of fresh air when I found out about it, so much so that I tend to overuse it now.

    • @Computergaga
      @Computergaga  13 วันที่ผ่านมา +1

      Thanks, Giorgio. Yes, anything beyond a single decision IF function and its either SWITCH or a Lookup of some nature for me.

  • @Harryjackgross
    @Harryjackgross 15 วันที่ผ่านมา +1

    Love SWITCH! I would add that if you know 'all' of the values that should show up, it is good practise to make your final default argument throw an error with NA to show something is not as expected!

    • @Computergaga
      @Computergaga  15 วันที่ผ่านมา

      Nice tip! Thank you, Harry.

    • @sogero2
      @sogero2 15 วันที่ผ่านมา

      Yeah, this is what I often do with nesting IF(), and it's a nice reminder to do similarly next time I get around to using SWITCH().

  • @javedahmed8343
    @javedahmed8343 13 วันที่ผ่านมา

    I have an excel sheet consisting of Term1 columns from Class I to VIII as shown below.
    Adm# Name Eng Hindi Lang Maths Science SocialScience, etc
    I want to share this single file among 16 persons (Class Teachers) for marks entry subject to condition that a class teacher can do marks entry only for his/her class and could not view or alter the marks of other classes. Once the data is entered in that single Excel sheet then by all 16 persons then I want to dowoad it and generate template specific Report Cards for all the students from class I to VIII?
    How to accomplish this task?