Stop Nesting IFs! Learn the SWITCH Function in Excel

Поділитися
Вставка

КОМЕНТАРІ • 15

  • @qasimawan3568
    @qasimawan3568 2 дні тому

    Thank you Alan. Love your style of teaching!

  • @GiorgioBerardi
    @GiorgioBerardi 8 днів тому

    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  7 днів тому +1

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

  • @IvanCortinas_ES
    @IvanCortinas_ES 9 днів тому +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.

  • @ismaelkourouma5558
    @ismaelkourouma5558 9 днів тому

    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  8 днів тому

      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 8 днів тому

    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

  • @Harryjackgross
    @Harryjackgross 9 днів тому +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  9 днів тому

      Nice tip! Thank you, Harry.

    • @sogero2
      @sogero2 9 днів тому

      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 6 днів тому

    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?