Excel How To: Format Cells Based on Another Cell Value with Conditional Formatting

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 161

  • @camillorighini1
    @camillorighini1 Рік тому +23

    Although I use advanced sheets for years, the way you explained Cond. Form. makes possible to understand the concept behind the logical thinking, like a programmer. After that I made some tests on a huge sheet and I could notice a new level of control of the conditional formatting. You made simple something no one could explain so clearly before. Congratulations!

    • @ExcelU
      @ExcelU  Рік тому

      Thank you so much for your kind note, I sincerely appreciate it ... and glad the video was helpful :)

    • @lupin2685
      @lupin2685 Місяць тому

      Agree, I don't know anything about Excel other than We can can fill tables after watching this explanation I learnt lots of things the concept of conditional reasoning, How excel logically calculates this reasoning values, The syntax to do that, The ability to doing same conditional logic for other things than formatting when he used it in a separate cell. this video is more than informative.

  • @littlerainyone
    @littlerainyone 3 місяці тому +1

    I tried this referencing another cell OUTSIDE the selected range and it did not work for me. Is there a way to do that?

  • @bigchill1532
    @bigchill1532 Рік тому +7

    You explained this so well, thank you for taking time to explain vs. simply sharing the formula.

  • @khangchiennguyen4621
    @khangchiennguyen4621 Рік тому +1

    why in my excel after selection of "Use a formula to determine which cells to format" what to do to have "Format values where this formula is true:" like aT 1:40mn of your video?? Thanks

  • @jeffzweygardt415
    @jeffzweygardt415 Рік тому +8

    Thanks for explaining this so thoroughly, yet slow enough to make sense. I can see myself watching a LOT of your videos in the near future!

    • @ExcelU
      @ExcelU  Рік тому

      Glad to help … and thanks for your kind note!

  • @user-px7yl2wb9b
    @user-px7yl2wb9b 5 місяців тому +1

    conditional format based on a row? or a column?

  • @sanrock21
    @sanrock21 Рік тому +1

    I want data depending on cell status i have Active and Closed. So i have data in A,B and in C i have Active or Closed, So If i select Closed then data in A,B should add up and be displayed in column D, how can we do it?

  • @MrCol5
    @MrCol5 Рік тому +2

    hi, can we do format cells based on different sheet ?

  • @GlenroyArbias
    @GlenroyArbias 4 місяці тому

    Staffs name are in column A, Name starts from row 7. Visa status in column B, starts from row 7 as well, Hours status in Column C, starts from row 7 as well, etc.

    Staff Visa Hours Can still work for Leave
    Name Status Status Hours Start End
    ABC PR 68:30 15:30
    DEF Citizen 75:30 8:30
    GHI Student 77:00 7:00
    JKL Citizen 57:30 26:30

    I am trying to calculate working hours in different color when condition change. PR and citizen can work upto 84 hours but students can only work 48 hours.

    How to change a cell color in different condition.

    I want to change C7 to green when Cell C7 is less than 84:00 but Cell B7 is PR or Citizen.
    And if Cell B7 is Student, cell C7 can only be green when C7 is less than 48:00

    Can someone help me, please.
    Thank you

  • @DavidWeis-u2t
    @DavidWeis-u2t Місяць тому

    this only works when the cell contents are a value. if the cell that sets the condition contains a formula that returns a value, then you must use the Excel function VALUE so that conditional formatting will evaluate what the formula returns, rather than the formula itself. For example if cells in column E starting at row 7 contain formulas like =SUM(A7:D7) and you would like to format this group of cells based on the sum being more than 100, then your conditional formatting rule must be =VALUE(E7)>100. Otherwise conditional formatting is testing whether the text of the formula exceeds a number.

  • @h4mm32
    @h4mm32 Рік тому +1

    struggling to get this to work with cells already containing data validation.
    I want to create a drop down list wherein Column A (with validation) will format to maintain the same colour of Column B (data validation). Column b13 takes validation from a list in column X, and conditional colours of its own for text containing specific phrases "Phrase A" "Phrase B" etc
    when I use the formula: =$b13="Text Phrase"
    I'm getting no results in A13. verified that "apply selection to" says A13.
    feeling lost, please help if possible.

    • @chrismay2707
      @chrismay2707 Рік тому +1

      Same Question...

    • @h4mm32
      @h4mm32 Рік тому +1

      @@chrismay2707 wish we could find out im still sitting on this project

  • @Genzaijh
    @Genzaijh 7 місяців тому

    Thanks for sharing your video. Now there is something I'm itching to know.
    Question: Now how do you lock the formatting of the cells you entered the formula in so you can only input values?
    I want to still be able to copy paste but disable ( paste format / paste formula ) and only paste values. My form has different conditional formatting formula in different cells. So once I have my form set up I don't need to change the formatting / formula and in fact I don't want to change this. So how can I protect the sheet to assure I don't accidently change or add different "conditional formatting" to the cells?

  • @Dark3Fenix
    @Dark3Fenix 2 роки тому +3

    Thank you very much for this video and information! Exactly what I was looking for in working on my own projects. Well put together video and very informative.

    • @ExcelU
      @ExcelU  2 роки тому

      Thank you for your kind note, and I'm glad it helped!!

  • @Thantjimmy1
    @Thantjimmy1 18 днів тому

    Hi just checking if i wanna format the cells in the below example how should the formula be? -
    if Cell B1 first value = 4 Cell d1 input = yes
    if Cell B1 first value = 5 Cell d1 input = no

  • @officialonbekende9785
    @officialonbekende9785 10 місяців тому

    imagine i have a range A1:A10 with specific numbers . and i have B1:D10 with numbers i want to compare with the numbers in A column.
    The point is that if number in row (example) 1 cell A1 = 40 . And B1 = 30 . C1 = 47 . D1 = 40. that the B1 changes font to Red . C1 changes to Orange . D1 changes color to Green.
    if i use your formula. Then even if B1 = 40 and C1:D1 = something else. The whole row 1 wil be lighted up green .
    how to fix it?

  • @lalitkumarpandey5911
    @lalitkumarpandey5911 7 місяців тому

    Hi, I am struggling to apply the conditional formatting based on other cell values. Kindly help.
    The case is, in one column I have qtrs. like Q-1, Q-2, Q-3 Q-4 and in other column there are branch codes and these branch codes are repetitive based on some activities. I want to highlight only those cells of branch codes column which are repetitive in that qtr. only.
    Suppose if I filter out Q-1, it will show only those cells which appear more than once in Q-1 only and likewise in other qtrs.

  • @daegonnamadden8606
    @daegonnamadden8606 4 місяці тому

    I don't know if this channel is still active. I hope so, because this video was informative, though it does not quite match what I'm trying to do.
    I am trying to auto-populate a price in one cell, based on a word in a different cell.
    As an example, in C2, the word would be "new" and in C3, I would like the price to be one amount, but if the word in C2 would be "senior", then I would like the price to be a different amount.
    Any help is appreciated.

  • @GlenroyArbias
    @GlenroyArbias 4 місяці тому

    Table looks like this in excel.
    A B C D E F
    5 Staff Visa Hours Can still work for Leave
    6 Name Status Status Hours Start End
    7 ABC PR 68:30 15:30
    8 DEF Citizen 75:30 8:30
    9 GHI Student 77:00 7:00
    10 JKL Citizen 57:30 26:30

    I am trying to calculate working hours. PR and citizen can work upto 84 hours but students can only work 48 hours.

    How to change a cell color in different condition.

    I want to change C7 to green when Cell C7 is less than 84:00 but Cell B7 is PR or Citizen.
    If Cell B7 is Student, cell C7 can only be green when C7 is less than 48:00

    If(B7=PR or Citizen and C7>84) C7 to turn red and if (B7=Student and C7>48) C7 to turn red
    Can some one help me please to solve this?
    Thank you

  • @delaneygunn7749
    @delaneygunn7749 23 дні тому

    What if you want multiple options… not true and false. So I have a list of grades, A+ through F and I want certain columns to highlight certain colours based on the grade. How do I write that formula?

  • @gunasagarpattanaik677
    @gunasagarpattanaik677 6 місяців тому

    Hello
    After summation of a selected range in a row I need to subtract all the red font cells from the sum.PLEASE HELP ME OUT, as it takes lots of time to select manually……..

  • @shoppersdream
    @shoppersdream 23 дні тому

    Nice, thanks! Why isn't conditional formatting retained if you Refresh or make any changes? Thanks

  • @jeffreyfrankel8811
    @jeffreyfrankel8811 Рік тому +1

    Wonderful, you helped me do something I have been trying for ages how to get a line formated when the date (in column A) is today - =$A2=TODAY()

  • @pixelkoucholo7462
    @pixelkoucholo7462 10 місяців тому

    I want to do same thing but using Icon set, I get this error:
    "You cannot use relative references in Conditional Formatting criteria for color scales, data bars, and icon sets."
    What should I do? :(

  • @angelobollosa7976
    @angelobollosa7976 2 роки тому +1

    obsessed with soft design now and more obsessed with cool scales Nd stuff.

  • @hectormunoz7714
    @hectormunoz7714 5 місяців тому

    Great explanation. It is possible to create a Formula to make a cell automatically fills-up with a specific number or text depending on the Color or Value, or Text from another cell in the same row ?

  • @felicegiacomohanse-ievolel2327
    @felicegiacomohanse-ievolel2327 3 місяці тому

    Very useful and easy to follow.
    I have a question: what if instead of “open” in that cell I have a date?
    How do I tell the conditional formatting that the row needs to be highlighted as long as in the C7 column there is date?
    I need this as I share a doc and colleagues will go in and complete tasks, once they complete the task they enter the date in which they completed and I want to see immediately when this happens by having the rows filled in.
    Thanks

  • @Richard-zk1gt
    @Richard-zk1gt 5 місяців тому

    I appreciate the way you explain this and I'm hoping you can help me. Your formula for 'open' works with data validation as well. I'm trying to lock an entire row and I have a cell with a data validation drop down with 'open' or 'closed' as its options. If I use your same formula with data validation I will not be able to type something new in that row if the cell is 'closed' but i can still hit delete or backspace to erase the data in that row. I also can't apply the formula to cells in that row that have a different data validation drop down menu.
    Do you know of a way to lock an entire low based on the contents of one cell in that row, regardless of the other formatting and data validation in the other cells?

  • @SamyRash-g7e
    @SamyRash-g7e 9 місяців тому

    Thank you for doing this! I wonder if there is a way or if you have a video that shows overflow or surplus of items. for example I enroll students into a school I need to know how many students are in a class in the school because as they progress through our program they will end up in class c with other students. how do I show that if i can only hold 100 students in class c that there will be an oveverflow of students and how much overflow there will be without counting by hand. im enrolling 15 students in class A based off where students are I can only have 10 more students in the overflow. I know I can count that but for enrollment of the whole year when students graduate or drop I have to plan out a few months ahead. so how can I say if greater than 100 than in another cell show the overflow of 5 or whatever the value is. is this possible? thank you if you can help!

  • @fokhrulislam2633
    @fokhrulislam2633 Рік тому +3

    That explanation technique was just WOW!

    • @ExcelU
      @ExcelU  Рік тому +1

      Thank you so much, I really appreciate your kind note!!!

  • @beverlynazareno2029
    @beverlynazareno2029 5 місяців тому

    Hi, how about if I want to clear values on colored cells? Not the whole row or column but just the highlighted ones. Or if I want to clear the cells based on the words on another cell? Thank you!

  • @harrykinghorn1616
    @harrykinghorn1616 Рік тому +1

    Can you create a formula that takes into account only columns that contain a certain word? For example, is it possible to create a sum of the “amounts” marked as open?

    • @ExcelU
      @ExcelU  6 місяців тому

      Hi! I answered your question by creating a new video: ua-cam.com/video/6_dUUR4NT04/v-deo.html
      I hope it helps!
      Thanks
      Jeff

  • @thekrayatsuwailim9081
    @thekrayatsuwailim9081 7 місяців тому

    What about if the status of cell A checked, then stop conditional formatting in cell B? How can I do that?

  • @sasikumarnatarajan7638
    @sasikumarnatarajan7638 Рік тому +1

    Thank you very much for this video and information! Nice Explanation!!👌👌👌

  • @stevego188
    @stevego188 4 місяці тому

    when I click on "new rule" under conditional formatting, I dont see any of the options you select

  • @the4thj
    @the4thj 9 місяців тому

    But what if your good numbers are the lowest, I seem to only get opptions for greater values?

  • @hanrealistic
    @hanrealistic Рік тому +1

    I have seen many excel teaching videos.. I can honestly say, you know how to teach. Awsome channel.

    • @ExcelU
      @ExcelU  Рік тому +1

      Thank you so much, I sincerely appreciate your kind note :)

  • @THE_REAL_HAUTE_CRE
    @THE_REAL_HAUTE_CRE Рік тому +2

    The best video on UA-cam explaining the syntax behind appropriate conditional formatting, thanks for making this!

    • @ExcelU
      @ExcelU  Рік тому

      Thank you for your kind note :)

  • @olgarohner7907
    @olgarohner7907 Рік тому +1

    Thank you so much! It solved the problem I was having at work. I used to spend lots of time highlighting rows. All of your videos are super helpful.

    • @ExcelU
      @ExcelU  Рік тому +1

      Glad it was helpful ... and thank you so much for your kind note :)

  • @antagonistic9009
    @antagonistic9009 Рік тому +1

    Explained everything really well, easy to follow, great teaching technique.

    • @ExcelU
      @ExcelU  Рік тому

      Glad you enjoyed it!

  • @upkaarbharadia
    @upkaarbharadia Рік тому +1

    Excellently explained and has really helped me with a work project. Thanks!

    • @ExcelU
      @ExcelU  Рік тому +1

      Thank you :)

  • @annereed6716
    @annereed6716 Рік тому +2

    You are a good teacher. Thank you.

  • @kt7855
    @kt7855 7 місяців тому

    Can I format a cell based on another cell and when it changes it changes

  • @hazelbell4892
    @hazelbell4892 8 місяців тому

    i have a column of yes and no and i wnat to highlight all the Yes values when there is a no value after it in the column

  • @rogerthedodger5788
    @rogerthedodger5788 11 місяців тому

    I want to be able to highlight a blank cell that has a formula. So my simpler second sheet is fed from the first by having a formula (eg =Sheet1!A1), but because there is a formula this does not work even though sheet1 cell A1 has no data. Help please?

  • @CherHayes-z2p
    @CherHayes-z2p Рік тому +1

    Super helpful and explained well!

  • @annarankin1889
    @annarankin1889 3 місяці тому

    Awesome thank you so much! I had not realised I could use a relative row reference in that formula. I was trying to reference the whole column C:C within my formula which uhhhh doesn't work...

  • @mariadiosa2619
    @mariadiosa2619 2 роки тому +2

    Nice tutorial Michael,

  • @LaFinebouche-TRAITEUR
    @LaFinebouche-TRAITEUR 5 місяців тому

    I`m trying to do something with Excel that I can`t seem to explain properly. I have a formulated cell that will highlight my best price, out of 3 different other cells, but I want the cell chosen to be highlighted each time. Hard to explain. I wish I could show you. There must be a way.

  • @ThreepwoodFan
    @ThreepwoodFan 10 місяців тому

    My formula doesnt work.. did it the same as you. =$C15="Text" doesnt work.

  • @thekeithlane
    @thekeithlane 7 місяців тому

    Hi, what you share is great - Do you have an approach for a more complicated version of this?
    Specifically if I use conditional formatting to create a 3 point color graded format based on values - is there a way I can extend this formatting across a row?

  • @alexlast4802
    @alexlast4802 Рік тому

    Very nice video, may I ask one question?
    How can we protect columns dynamically while using conditional format OR Can we lock cells with conditional format dynamically with out VBA?

  • @richardscott5427
    @richardscott5427 Рік тому

    How do I apply conditional formating to a check box where the box being checked applies the formula?

  • @rasheedaqeel
    @rasheedaqeel 5 місяців тому

    This was a great help, thank you. But four of my rows didn't format while the rest did. I can't figure out why.

  • @ahmedbawazir8621
    @ahmedbawazir8621 8 місяців тому

    Superb Explanation. Also I like the key explanation about locking the cells when we need to highlight complete row. Thank you So Much 💖

  • @local3433
    @local3433 11 місяців тому

    I’m putting this in here for others as I fought with my formula not working for about an hour.
    If you’re using true/false for highlighting it won’t work with quotes as the Boolean terms of true/false don’t need quotation marks.

  • @Kakkunuri
    @Kakkunuri 10 місяців тому

    Spot on - Very good explanation of conditional formatting I have ever seen. Most of the problems solved

  • @shamans123
    @shamans123 3 місяці тому

    The example formula used for 2 conditions was helpful for me. I had no idea what was wrong but the required formula was simple and didn't need IF or true/false components.

  • @jayp85
    @jayp85 6 місяців тому

    Thankyou so Much for this! Broken down perfectly! I love to know the reasons why I'm doing something not just being told what to do! I need the reason so this is perfect Thankyou!

  • @gunneraflleje8905
    @gunneraflleje8905 3 місяці тому

    thank you for your explanation, i’m currently taking a college excel class. and the book just gives us formulas with out truly explaining how to do it. this helped immensely in my application of this

  • @BettyWang123
    @BettyWang123 2 роки тому +1

    This is extremely helpful, thank you so much!

    • @ExcelU
      @ExcelU  2 роки тому

      Glad it was helpful :)

  • @nefisikara7252
    @nefisikara7252 10 місяців тому

    That was Amazing! Thank you for perfectly clear explanation!

  • @pogwo1968
    @pogwo1968 Місяць тому

    Can this be used for cells that are not connected to each other?

  • @garybishop9966
    @garybishop9966 2 місяці тому

    Excellent! I have forgotten so much. Thank you for bailing out an old man...

  • @Dablondkid1
    @Dablondkid1 Рік тому

    Is it possible to add data to an existing Table(Calender)? I have a calender but would like to have data from a different workbook(s) automatically enter into dated cells.

  • @skhulilebuthelezi2365
    @skhulilebuthelezi2365 5 місяців тому

    Dope explanation. Please make more content, I just subscribed.

  • @PaulEBrownbill
    @PaulEBrownbill Рік тому +1

    Thanks Paul

  • @farb2009
    @farb2009 5 місяців тому

    Jeff thank you very much for all the time you put on this to help us understand how to use this very useful rpogram, I have a construction schedule, on the left side tasks, start date, end date and work datsy columns and on the right side weeks wolumns, cells on weeks are filled in reference to the dates on the left, can I use conditional formating for the cell results from the dates on the left columns but based on the specifc text I have on the task column, I want to use different colors for each task so people can see better in this eigth months schedule, I wish I can insert a screenshot for you to see, thank you

  • @leticianava-mcmenamin959
    @leticianava-mcmenamin959 7 місяців тому

    I had been struggling to understand this topic. I looked everywhere for a solution that told me what I needed to know and didn't confuse me more than I was at the start: Your video ticked both boxes, so Thank you... Your explanation was simple and to the point, and the fact that you emphasized the importance of the active cell made everything even clearer.

  • @dandugan1131
    @dandugan1131 9 місяців тому

    Thanks! I couldn't figure out how to do this myself. The confusing part was which cell I need to reference for relative references. You explained it perfectly!

  • @jasminereid6142
    @jasminereid6142 9 місяців тому

    Great video! I am trying to get it to recognize if a specific letter, like x is in a column at least 3 times. What could that formula look like?

  • @hmarie269
    @hmarie269 6 місяців тому

    THANK YOU!! Excellent explanation and pace of video

  • @miamited69
    @miamited69 5 місяців тому

    Great explanation. What if I want to format based on values in a list regardless of which one matches?

  • @richardruffos4805
    @richardruffos4805 4 місяці тому

    What if condition is a calculated value?

  • @JyrgenStraus
    @JyrgenStraus 7 місяців тому

    Excellent!! I just try to find answer for this for hours!!! Greetings from Finland.

  • @mayac349
    @mayac349 Рік тому

    Amazing m!! Looking to format a large amount of data but am struggling to figure out the best formula suitable for formatting a time scale set of data. Needs to read value of each set of data on each row by itself if this makes sense.. so Tiring 😢

  • @martins_slowlife
    @martins_slowlife 3 місяці тому

    How can I do it so that it is still a 3 point colour scale?

  • @SireGlg
    @SireGlg Рік тому

    Can you please do a video on how to highlight the whole row is only some cells are highlighted (N.B : but the cells are not common)

  • @JCBluenote24
    @JCBluenote24 5 місяців тому

    This was excellent. Very easy to adjust for using Google Sheets for my home use as well!

  • @GuruDanny
    @GuruDanny 10 місяців тому

    Thank you - Very well explained - I sure learned something and I am going to use it.

  • @TheLaroiya
    @TheLaroiya 10 місяців тому

    This helped for what I was looking for. Gracias! :)

  • @jen_revenant
    @jen_revenant 7 місяців тому

    Thank you for this video! I've been struggling with conditional formatting and now I know what I was doing wrong!

  • @josegabrielsierralarranaga1839

    Is there a way to do this but in a Pivot Table and using the source data for the conditional formatting?

  • @ersingungor6101
    @ersingungor6101 11 днів тому

    perfect explanation

  • @aemotivates2833
    @aemotivates2833 28 днів тому

    Thank you so much! New fan and subscriber!

  • @dhunpagla3871
    @dhunpagla3871 2 роки тому +1

    Well presented Sir !!!! Nice video

    • @ExcelU
      @ExcelU  2 роки тому

      Thank you!

  • @HeroZaki_
    @HeroZaki_ 8 місяців тому

    excellent explain and new information. Thanks bro

  • @jadg007p
    @jadg007p Місяць тому

    Muchísimas gracias por compartir este conocimiento

  • @terasinfo7789
    @terasinfo7789 10 місяців тому

    Thanks for the wonderful tutorial sir

  • @tivankaperera8081
    @tivankaperera8081 Місяць тому

    thorough! helpful!

  • @karsh001
    @karsh001 Рік тому

    Solved my problem. Thanks!

  • @KishanKeshri-s4s
    @KishanKeshri-s4s Рік тому

    i want to use conditional formatting if any value changes in that cell not relative to another cell

  • @alfredorivera5658
    @alfredorivera5658 Рік тому +1

    Good explanation!

  • @yumblum
    @yumblum 5 місяців тому

    this really helped me a lot. thank you for this wisdom.

  • @davemotz1139
    @davemotz1139 Рік тому

    This is a great video. I'm using a Data Validation drop down list (Sheet 1) where I select a customer name from my database (Sheet 2). I'd like to apply this video's conditional formatting but rather than highlight the row(s) on Sheet 1 - where my data validation and vlookup formulas are located, I'd like it to back to my database (Sheet 2) and highlight the rows of the customer names, that I've selected on Sheet 1. What do I need to change/add to Excel Universities formula to accomplish this? Thank you!

    • @ExcelU
      @ExcelU  6 місяців тому

      Hi @davemotz1139
      I've answered your question in a new video: ua-cam.com/video/SPF6r7M9BLQ/v-deo.html
      Hope it helps :)
      Thanks
      Jeff

  • @mm22sapphire50
    @mm22sapphire50 10 місяців тому

    Thanks sir, but i have a challenging question, if you want a cell to be conditionally formatted based on the value in another cell but where the criteria is that, for example if cell c7 is up to 10% less than d7 then have a yellow colour and if its more than 10% less, then gives red colour, how is such a formula written in the conditional formatting tab?

    • @ExcelU
      @ExcelU  6 місяців тому

      Hi @mm22sapphire50
      I have created a new video to help with your question: ua-cam.com/video/j11JEElc9O8/v-deo.html
      I hope it helps :)
      Thanks
      Jeff

  • @blairmacp
    @blairmacp Рік тому

    Great video. Can you use wildcards in your formula? I am trying to conditionally format certain cells based on one cell having data in it, but that data changes every row that I want to format and cells in between don't have data in that cell.

  • @dhepermana
    @dhepermana 5 місяців тому

    Unvaluable explanation, thank you.

  • @after5Specials
    @after5Specials 10 місяців тому

    Your explanation was very well done.

  • @MD-zr8xi
    @MD-zr8xi Місяць тому

    Thanks!!

  • @sayitwithstone4551
    @sayitwithstone4551 7 місяців тому

    thanks