Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to Wasron,jfgw,Rhyd6,eyeball08,Wondergirly, for Donating to support the site

Conditional Formatting excel

Discussions regarding financial software
GN100
2 Lemon pips
Posts: 151
Joined: November 4th, 2016, 10:14 am
Has thanked: 22 times
Been thanked: 18 times

Conditional Formatting excel

#562378

Postby GN100 » January 18th, 2023, 12:32 pm

I have an excel sheet with a price target in column A and a current price (scraped) in Column B. I want the price target (A) to change colour when the current price (B) has equalled or exceeded it.

I have been trying various methods without much luck - help appreciated.

GN

mc2fool
Lemon Half
Posts: 7896
Joined: November 4th, 2016, 11:24 am
Has thanked: 7 times
Been thanked: 3051 times

Re: Conditional Formatting excel

#562392

Postby mc2fool » January 18th, 2023, 1:08 pm

You might like to say which version of Excel you are running, as the interface for Conditional Formatting has changed a fair bit over the years.

That said, something along the lines of this Conditional Formatting with Formulas is what you want (assuming yours looks anything like this).

Do it just to the first relevant cell in column A, let's say A2, and set the formula to be "=A2>=B2" (without the quotes). Then copy A2 and Paste Special just Formats to all of column A.

GN100
2 Lemon pips
Posts: 151
Joined: November 4th, 2016, 10:14 am
Has thanked: 22 times
Been thanked: 18 times

Re: Conditional Formatting excel

#562553

Postby GN100 » January 19th, 2023, 8:54 am

Thanks - that was just what I was looking for. Apologies re not giving the excel version - I'm somewhat ashamed to say I can no longer find it. It used to be under Help - About but is no longer there.

Regards,
GN

pje16
Lemon Half
Posts: 6050
Joined: May 30th, 2021, 6:01 pm
Has thanked: 1843 times
Been thanked: 2067 times

Re: Conditional Formatting excel

#562568

Postby pje16 » January 19th, 2023, 9:40 am

GN100 wrote:Thanks - that was just what I was looking for. Apologies re not giving the excel version - I'm somewhat ashamed to say I can no longer find it. It used to be under Help - About but is no longer there.

Regards,
GN

Try File, and at the bottom select 'Account'

GN100
2 Lemon pips
Posts: 151
Joined: November 4th, 2016, 10:14 am
Has thanked: 22 times
Been thanked: 18 times

Re: Conditional Formatting excel

#562624

Postby GN100 » January 19th, 2023, 12:03 pm

Thanks pje - it looks like it is MS Office Professional Plus 2016. I had forgotten I was that up-to-date!!

GN

GrahamPlatt
Lemon Quarter
Posts: 2093
Joined: November 4th, 2016, 9:40 am
Has thanked: 1041 times
Been thanked: 847 times

Re: Conditional Formatting excel

#562688

Postby GrahamPlatt » January 19th, 2023, 4:02 pm

I thought I’d seen this somewhere before… viewtopic.php?f=39&t=35196


Return to “Financial Software - Discussion”

Who is online

Users browsing this forum: No registered users and 33 guests