Conditional Formatting with different colours

randomlychili

New Member
Joined
Jul 12, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hello!

First off, I know my excel is in German, but I would prefer to ask in English, as it is easier for me.

This is an Excel sheet that will be used for sending out reminders for unpaid bills.

Here I can list what each column is for, although most of them should be quite irrelevant for the formula

A - you can enter the bill number
B - the date of the original bill
C - the name of the client
D - the amount on the bill
E - days the client has to pay the bill
F - automatically calculates the date the bill needs to be paid by (WHEN(B2="";"";B2+1.5*E2) - meaning they get a little longer to pay the bills than noted on the bill
G - date that the first payment reminder got sent
H - date that the second payment reminder got sent
I - date the bill got paid
J - comments

What I am trying to do, as you can probably tell from my conditional formatting attempt, is to have the row be orange when the first payment reminder gets sent, red if a second payment reminder gets send and green if the bill was paid. However, if I enter the formula as I have (please note that NICHT = NOT and ISTLEER = EMPTY) it obviously all automatically goes with orange since G is not empty in all of them... however G will always be filled in, H will sometimes be filled in, and in the end hopefully all of them will have something written in I...

I really hope this makes sense and someone can send me the right formula so that it's not all orange, but in fact in all three colours.

You can write the formula or tips or whatever in English, I can easily translate them to German from there (I work in German but do all research in English, so I am used to it) :)

Thank you in advance for all the help! :)

IMG_6603.jpeg
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
so something like
G - date that the first payment reminder got sent
H - date that the second payment reminder got sent
I - date the bill got paid
is to have the row be orange when the first payment reminder gets sent, red if a second payment reminder gets send and green if the bill was paid.

=AND($G2<>"", $H2="",$I2="")
then format orange
=AND($G2<>"", $H2<>"",$I2="")
RED
=$I2<>""
Green

i'll see if i can work an example in XL2BB up

not sure what you mean by
it obviously all automatically goes with orange since G is not empty in all of them



Book5
ABCDEFGHIJ
11st2ndpaid
211
3
4211
5
61
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:J6Expression=$I2<>""textNO
A2:J6Expression=AND($G2<>"", $H2<>"",$I2="")textNO
A2:J6Expression=AND($G2<>"", $H2="",$I2="")textNO
 
Upvote 0
Solution
Hi etaf!

Thank you so much for your quick reply! I was actually reading a thing that you had commented on pretty much exactly 9 years ago here ! So pretty cool that you answered here as well :)

I applied your formulas in German, and they worked perfectly, thank you so much!!

IMG_6605.jpeg
 
Upvote 0
I was actually reading a thing that you had commented on pretty much exactly 9 years ago
Wow - time flys by , been here almost 10years now Oct 2012 , playing with Excel/lotus 123/spreadsheets for decades now !!!!!!! 1980's
Anyway,
glad thats solved it for you - very welcome
 
Upvote 0
Wow - time flys by , been here almost 10years now Oct 2012 , playing with Excel/lotus 123/spreadsheets for decades now !!!!!!! 1980's
Anyway,
glad thats solved it for you - very welcome
amazing! for me it has only been 5 years of Excel, got some catching up to do :) have a wonderful day!
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top