Getting Started

 View Only
  • 1.  Color Coding Dates

    Posted 11-14-2022 09:31

    I am newer to QB, but have found formulas to be a challenge so far.

    I am trying to do simple color coding for dates, for example i have 4 columns of dates, that will be populated through the project. As each progression of the project is complete i would like to have that date color coded to show the "stage".

    so column A,B,C,D, then i will select colors for each column. If no dates are populated, then it would not be color coded. I believe this should be some type of IF statement, but not sure how to formulate it. Thank you for your help!



    ------------------------------
    Bret Osborne
    ------------------------------


  • 2.  RE: Color Coding Dates

    Posted 11-14-2022 11:18
    If you are looking to colour code individual cells as opposed to rose on a table report then it is not quite as easy as conditional formatting is, in excel. You need to create a new Rich Text formula field.
    https://helpv2.quickbase.com/hc/en-us/articles/4570255561108-Color-coding-fields

    When you do this however that field will no longer be a date field and you will not be able to use dynamic filters as easily.

    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------



  • 3.  RE: Color Coding Dates

    Posted 11-14-2022 12:57
    no, i am not looking to color individual cells, the whole row is fine. I just can't figure out what the formula should be to make this happen.

    so something like this:

    if to QC "date populate" = yellow
    if returned from QC "date populate" = blue
    if to QC 2 "date populate" = green
    If returned from QC 2nd "date populated = Red

    something like that?

    I had 

    If(
    [To QC 1]<(Today()+Days(1)), "yellow",
    [Returned QC 1]>(Today()+Days(1)), "blue")

    but when i got to the second line, is does not read the 2nd next statement.
    I also tried

    If( not IsNull([To QC 1]),"yellow",
    If( not IsNull([returned QC 1]),"blue"))


    but it only reads the "TO QC 1" statement, ignoring the first line.

    I know i am likely missing something basic, but again newbie! :)



    ------------------------------
    Bret Osborne
    ------------------------------



  • 4.  RE: Color Coding Dates

    Posted 11-14-2022 13:02
    This format will work, just keep adding conditions like that.  But it will return the first condition which is true, so think about he order of the steps in your IF

    IF(

    [To QC 1] < Today()+Days(1), "yellow",
    [Returned QC 1] > Today()+Days(1), "blue")



    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------



  • 5.  RE: Color Coding Dates

    Posted 11-14-2022 13:21
    Right, but i guess that is not what i am trying to get it to do.

    Whenever each date is populated i am looking for it to change the color to something different, so i can "see" visably the stage of the project.

    So as each date does get populated it would clear the previous color and change to the most recent color instead.

    ------------------------------
    Bret Osborne
    ------------------------------



  • 6.  RE: Color Coding Dates

    Posted 11-14-2022 13:27

    oh wait. I re-read what you said about the order! I think i got it!

    I need to go right to left, not left to right! I will try!



    ------------------------------
    Bret Osborne
    ------------------------------