conditional format

smokenack

Active Member
Joined
Dec 12, 2003
Messages
351
I would like to conditionally format a range of cells so that if the value contained in a cell within the range appears in a cell in another defined range prefixed by the letter E the cell containing the value will be conditional formatted.

eg cell A1 = 4
cell B1 = E4
then cell A1 conditionally formatted.

thanks for looking

brain dead today

Nick
 
I'm not sure if i've unerstood you correctly but could you have something like the value in A being say 65 and when matched to a value in column B being say E65 you would want a positive match?

if you do, then you can do the left command coupled with an if to check as follows

Lookup_functions( IF(LEFT(A1)="E", RIGHT(A1, LEN(A1)-1), A1) )

I breifly tested it on a blank sheet here, and if you replace the reference to the cell with the line above, it will intrisically strip the letter off of the front.

Hope that makes sense
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Doh!

Sorry Nick just realised what I'd done, put the "e" after the number rather than before!

Try this, should work now

=COUNTIF(B$1:B$100,"E"&A1)>0
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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