Google Sheets IF & IFS Functions - Formulas with If, Then, Else, Else If Statements

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • Video tutorial about Logical Test/Expression, IF function & IFS function in Google Sheets.
    In this tutorial we'll cover how to use formulas with If, Then, Else, Else If statements using IF & IFS functions in Google Sheets.
    Google Sheets
    www.google.com...
    Website:
    www.chicagocom...

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

  • @lb4082
    @lb4082 5 ปีที่แล้ว +16

    I used to try to find -and watch- the video that applied to my sheet, before I started working on it.... Now I just watch ANY one of this guy's vids. Its a great help to my process,to just watch him methodically "logic"things out. It's been a huge help 👍😁

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

    Thank you, thank you, thank you. I have scoured the internet for days looking for an explanation of "if then else" statements and / or the understanding of "ifs" statements. The help documents are worthless. I have subscribed and feel I will be watching your videos often. Short, clear, and on point. Please keep up the good work.

  • @sandracinquegrana7806
    @sandracinquegrana7806 4 ปีที่แล้ว +8

    AMAZING!!! This is the exact information I have been searching for for days and it's well explained!!

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

    I'm a trainer and I commend you for your EXCELLENT training! You've explained this CLEARLY and illustrated it well. Thank you! I've subscribed. ;-)

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

    Thanks for this. Google's own help documentation with the square brackets surrounding additional if targets was what was causing mistakes, your vid showed I didn't need them and it worked.

  • @christopherc.taylor339
    @christopherc.taylor339 2 ปีที่แล้ว

    This video just sparked a thousand ideas!!! Thanks a million!

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

    I'm adding my comment to the plethora of positive reviews, this was amazing!

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

    all I gotta say is thank you so much for making my life so much easier!!!

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

    I am studying for Google Educator certification. This was very helpful!

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

    this video saved my ass from wasting anymore time on the functions. thank you so much, bro!

  • @R4V3-0N
    @R4V3-0N 3 ปีที่แล้ว

    This helped me a lot. Well done LGS!

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

    Great Session and explanation..thanks

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

    WOW!! Best video ever! Thank you sooooooooooooooooooooooooooooooooo much.

  • @nickieoakwood6926
    @nickieoakwood6926 4 ปีที่แล้ว

    Your videos are absolutely boss. A fantastic learning tool in Ramsgate United Kingdom.You have more than eaned my subscription. Thanks dude

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      Awesome, thank you!

    • @nickieoakwood6926
      @nickieoakwood6926 4 ปีที่แล้ว

      @@ExcelGoogleSheets Your local (UK) pest again. Am at the stage of got both sales form and macro sales button. How do I get the button to call up the sales form macro? Am only this far down to you so you sort of owe me lol. Seriously when both form and menu item appeared it was like Tom Hanks Castaway FIRE. ISOLATED SO SOLO VICTORY HAHA. Many thanks!
      Do I somehow tweak this:
      function onOpen(){
      initMenu();

      }
      perhaps:
      function onClick(){
      showuserForm();
      }
      I just don't want to break it now it is 90% there.

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

    Thanks!

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

    Very good explanation and patient narration too. Well done!

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

    Thank you so much! This makes things so easy, i'm able to do things I never thought of doing.

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

    Very well explained! Thank you!

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

    Oh my God, why did it never occur to me before to search TH-cam for this??? I am OBSESSED with Google Sheets lately and using it for everything. And my hunger to know more is growing as my data needs expand. What a treasure trove! Thank you! By the way, I adore your accent. Are you Dutch? I dated a guy from the Netherlands and it sounds like the same accent. 🙂

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

    great explanation. i feel confident on understanding if and ifs. thanks a lot.

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

    You're awesome brother. love your videos!

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

    Thanks for introducing IFS for me. Great tip.

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

    Really helped a lot.. so detailed explained.. I am happy to learn from you.

  • @joannequach3712
    @joannequach3712 5 ปีที่แล้ว

    Thanks 😊
    Tutorial was very explicit.

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

    That was SO helpful and exactly what the information I was needing. Thank you!

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

    Thank you so much! Super helpful!

  • @jonathanwhitehead9253
    @jonathanwhitehead9253 6 ปีที่แล้ว

    Thank you. I was able to create a spreadsheet to track my Black Jack profits after watching your video.

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

    Exactly what I was looking ofr, thank you!!!!!!

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

    Finally i made it work! Thank you!

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

    My exam is tomorrw and this has saved my grade

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

    This guy excels.

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

    Thanks for making it clear

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

    Amazing explanation, thanks a lot.

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

    Thank you so much this video helps me alot

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

    very helpful thank you!

  • @adamkern3976
    @adamkern3976 11 หลายเดือนก่อน

    Works with non numeric values too! ie. ifs(D2=Adidas, 1, D2=Ralph Lauren, 2, ... TRUE, 0)
    Thanks for the help!

  • @lisamartens680
    @lisamartens680 4 ปีที่แล้ว

    So helpful and easy to follow! Thanks for making this.

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

    Excellent! Great information to learn more. Thank You. :)

  • @joshfriedrich7363
    @joshfriedrich7363 5 ปีที่แล้ว

    Great video, you're a good teacher!

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

    Thanks a lot for this awesome video. This really helped a lot.

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

    Me encanta la explicación y los ejercicios! Agradecida por estos vídeos 😃

  • @JohnMcConnell-rides
    @JohnMcConnell-rides 6 ปีที่แล้ว +3

    loved this video. looking forward to the rest of this playlist. Very helpful, can't wait to learn more. Thank you.

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

    I used the formula: =IF(E10=TODAY(), "1") I wanted a field to have a number value ("1" in this formula) when the date of another field matches todays date, the E10 cell in this formula.
    So, basically the formula says: When today's date = E10, place the text "1" into the field to which this formula is applied.
    For my sheet, the "1" is a NUMBER field that gets added to another filed, that sums to add a dollar value to another field via another formula.

  • @talic-os5899
    @talic-os5899 5 ปีที่แล้ว +4

    Oh my God, it was so simple, goddammit! Thanks, you saved my brain.

  • @martinmyggestik292
    @martinmyggestik292 4 ปีที่แล้ว

    Thanks a lot. This was very helpful. Now I can finally build that time machine!

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

    *Your videos are really good.* All the best. Please, could you help me to solve the situation so that after entering the given function in its entirety, we turn it off so that there would be no later change. Let's say that occurs with the price of a product, when I change it, it creates chaos in the previous state. Thanks in advance for the reply.

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

    THANK YOU ! THIS IS GREAT

  • @tingtingwells2777
    @tingtingwells2777 4 ปีที่แล้ว

    Really really useful and well explained. Thank you very much!

  • @lynneb2262
    @lynneb2262 5 ปีที่แล้ว

    Thank you, very clear and helpful.

  • @lethalbizzle1187
    @lethalbizzle1187 7 ปีที่แล้ว

    Great content man thank you so much for all these videos!!!

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

    So thorough! Thank you!!!

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

    Thank you

  • @CraftWithRosy1
    @CraftWithRosy1 8 หลายเดือนก่อน

    Thanks So Much!☺

  • @KYjchan
    @KYjchan 5 ปีที่แล้ว

    Super helpful! Thanks so much!!

  • @Omeromuscio
    @Omeromuscio 3 หลายเดือนก่อน +1

    is possible download example so to repeat it and increase skill ?
    thanks Alberto

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

    Thank you so much sir

  • @Eyhan-ir3uj
    @Eyhan-ir3uj ปีที่แล้ว

    I appreciate your teachings! Thanks for sharing your amazing talent in manipulating data in google sheets. Though i have a quick question if it’s okay. If what’s the best formula to use if your looking to count the accuracy averages. Like if you want to know if what’s the average of those who answered same with mine and those who have different. Like i if i put yes, id like to check the average of those you answered yes and those who answered no.😊

  • @RajKumar-ku4qz
    @RajKumar-ku4qz 6 ปีที่แล้ว

    Thank you so much for this is useful information about if, ifs functions.

  • @JoeDelaney64
    @JoeDelaney64 6 ปีที่แล้ว

    Thank You, Very helpful video.

  • @EggBram
    @EggBram 6 ปีที่แล้ว

    Excellent tutorial, thank you for sharing!

  • @dmanakell
    @dmanakell 5 ปีที่แล้ว

    You are a life saver

  • @tanjakanis2842
    @tanjakanis2842 5 ปีที่แล้ว

    Thank you for the help ! I was wondering how to do that ! Thank you very much !

  • @jspyce
    @jspyce 5 ปีที่แล้ว

    Excellent, thank you!

  • @franponcio5621
    @franponcio5621 4 ปีที่แล้ว

    gracias por el aporte... genial

  • @mr.girardo8926
    @mr.girardo8926 3 ปีที่แล้ว

    Thank You!!

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

    شكرا 🌹

  • @lmwpictures7910
    @lmwpictures7910 4 ปีที่แล้ว

    THANK YOU SOOOOOOO MUCH!!!!💯

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

    You are so perfectly clear in how these functions work, and in describing as many possible scenarios where it coul dbe used and where we could encounter bumps. So appreciated - awesome video. BUT!!! QUESTION!!! I can not seem to add up this new "ifs" column. After successfully entering an ifs formula that gives the cells a numerical value, I now want to add up all these values. I've tried the basic "sum(a1:a25)", but it keeps giving a value of zero. I also am struggling to find a google search relevant to this exact issue, as I keep getting results for "sumifs" and "countifs", and that's not what I'm doing. Any ideas?

  • @samueloliver5598
    @samueloliver5598 6 ปีที่แล้ว

    really good video thanks!!!!!, helped me alot

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

    Bless you.

  • @esnvlogs4489
    @esnvlogs4489 7 ปีที่แล้ว

    Great Video. Thank you!

  • @tashfiqshanto7300
    @tashfiqshanto7300 4 ปีที่แล้ว

    Your tutorials are really Helpful..!
    But i need this Datasheet ,
    will you please provide me the link to practice with that

  • @willwright3358
    @willwright3358 7 ปีที่แล้ว

    That really was helpful! Thanks!

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

    thanks

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

    Ahhh that saved my life haha. was going mad with this problem
    how dot make colour when the number is greater and when is smaller? that would be great

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

      Conditional Formatting th-cam.com/video/mgW0t5mu_As/w-d-xo.html

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

    Awesome tutorial! But, I was wondering if we could delete a row if it was blank or had no data in it.

  • @muhammadadeelafzal2480
    @muhammadadeelafzal2480 4 ปีที่แล้ว

    I hope I will get my answer for the desired situation that is:
    A condition in which we have to assign positive and negative numbers according to time for different time frames.
    For Example.
    If I need to mark the time below 9:00 as -2, in between 9:00 to 09:15 as 0 and above 9:15 as -2. And at last I would be able to calculate these points.
    Could it be possible?

  • @ThatGuySaidWhat
    @ThatGuySaidWhat 6 ปีที่แล้ว

    Very helpful. Thank you!!

  • @ponnobari1
    @ponnobari1 7 หลายเดือนก่อน

    TNX BRO

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

    Hello, thank you for this video. I can't seem to find instructions for my specific needs. I am trying to assign a point or value system to text. So if the text is "APPR" each of that text name would = 1 point, and then I need to get totals for each text value. Please advise.

  • @thefantasyicon
    @thefantasyicon 5 ปีที่แล้ว

    At 11:20 if you just use control shift down and then control d it will overwrite the column with new cell formula

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

    Nice Vid! Excellent instruction. One question: Can you make that sample Logical Test worksheet available? It makes it easier for the starting Sheets student to have a sample table available. Good job!

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

    Perfect!

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

    Hi! I was looking for advance print tutorial in your channel..this was the first video that pop out.. Do you know how to do advance print?

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

      I don't think I have any "printing" related videos. Sorry.

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

      Just go File-Print and follow the dialog.

  • @cassgryphon
    @cassgryphon 5 ปีที่แล้ว

    Thank you!

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

    Loved the video supper helpful! I have a question is it possible for a formula that says "if column B from sheet 1 matches Column A on sheet 5, then column B from sheet 5 would copy and auto-populate in Column A of sheet 1"? or something similar haha, do you ever take requests for videos? I would love that one haha

  • @parthadulalkar6527
    @parthadulalkar6527 5 ปีที่แล้ว

    I am very much pleased

  • @sarahwheeler2078
    @sarahwheeler2078 5 ปีที่แล้ว

    THANK YOU!!!! I DID IT!!! haha You saved the day!

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

    What should I do if I only need to get the total sales of Adidas brand? What formula should I enter?

  • @AbhishekKumar-nm8ei
    @AbhishekKumar-nm8ei 7 ปีที่แล้ว

    Thanks for this videos it's really helpful for me. have one question related with IFS function, How many condition we can apply in single IFS function.

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

    Hello is it possible to add a cap margin value indicator in a formula??

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

    AWESOME

  • @ДаниилПопов-у3з
    @ДаниилПопов-у3з 3 ปีที่แล้ว

    You have a good cycle for getting into spreadsheets understanding it after relative databases and as an partial aim on the way to writing the same in scripts with GUI etc. But, it is still missing for me, how did you get an idea of identifiers in QUERY function?? I have read Google reference, but didn't got any except 1 in example mention

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

      developers.google.com/chart/interactive/docs/querylanguage

    • @ДаниилПопов-у3з
      @ДаниилПопов-у3з 3 ปีที่แล้ว

      @@ExcelGoogleSheets oh, thank you for your reply, but I left an untold part of question, I cannot understand where is meaning of Col1, Col2, etc. and A B C etc. And headings names for columns usage are defined.

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

      @@ДаниилПопов-у3з I don't think it's defined :)

  • @painfullyhonest
    @painfullyhonest 11 หลายเดือนก่อน

    what if I want the true/false answer to be determined by subtracting two fields? for example Field A and B if B>A then I want it to say "gain" and subtract A from B If A>B I want it to say "loss" and subtract B from A would it look something like =if(B>A,"gain"A-B,"Loss"B-A) needless to say this didn';t work. What am I missing?

  • @kumargowda.lshivakumar.l324
    @kumargowda.lshivakumar.l324 3 ปีที่แล้ว +1

    nice

  • @ishanshah1338
    @ishanshah1338 4 ปีที่แล้ว

    If at the end of a formula the condition is not met how do i get to enter a certain value without losing the formula? Is it possible?

  • @RFX001
    @RFX001 4 ปีที่แล้ว

    Is there a way I can a number bold or change the in a cell if the value is less/more than or equal to another cell?

  • @nickieoakwood6926
    @nickieoakwood6926 4 ปีที่แล้ว

    11-03-20 13:00 and 15-03-2020 15:00 how do I ask it if the result is less than 14 days 0 hours 0 minutes 0 seconds? to display YES This is to work out a refuinds formula. So if say someone ordered on 01/01/20 00:00 then if the cancellation is 14 days and they tried to cancel at 15/01/20 00:00:01 returns value NO. If you can solve that as it is the only thing I am struggling with. Done all the =QUERY(IMPORTRANGE etc. Many thanks

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      =IF((B1-A1)

    • @nickieoakwood6926
      @nickieoakwood6926 4 ปีที่แล้ว

      @@ExcelGoogleSheets hi thanks for that but got this error: function minus parameter expected number but cancel date is text and can not be coerced to a number. I tried changing the format to number the date turned to 45,319. Thanks for the speedy reply. I think the time is throwing it out

    • @nickieoakwood6926
      @nickieoakwood6926 4 ปีที่แล้ว

      @@ExcelGoogleSheets is ok I was doing row 1 which are headers. Soon as swapped for 2 all good. top banana

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

    Hello. I was wondering how to create a formula that adds all the negative numbers in that column together?

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

      SUMIFS th-cam.com/video/AKs3aEtaEKw/w-d-xo.html

  • @MarkWettinger
    @MarkWettinger 4 ปีที่แล้ว

    Is it possible to a) tell our IF function to don't do anything if logical test is false, and b) use IF functions as conditions for cell formatting? I would like something to the tune of if X < 0, make font red.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว

      Yes. th-cam.com/video/NhEqCqt-nl4/w-d-xo.html