highlight row from another workbook based on values

MMarius

Board Regular
Joined
Sep 15, 2015
Messages
60
Hello,

I have a folder, called folder1, inside I have 2 workbook, workbook A and Workbook B (2 excel files inside folder)

What I want:


In workbook B, i have some data in column A (cities) and on column D i have some values: numbers and some are letters.

I want to highlight with red the the whole row in workbook A, column A (which is identical with workbook B) but only if on column D is not empty and it contains numbers
If it contains letters in column D, to highlight with yellow the entire row in workbook A.

P.s.: the entire row means until column M (where i have data, not the blank ones after column M)

If it's not clear, please let me know.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Workbook A:

A
B
C
D
E
F
G
J
1
apple
123
2
orange
3
carrot
GG
4
melon
3412
5
strawberry

<tbody>
</tbody>


in Workbook B i have and I want:

A
B
C
D
E
F
G
J
1



apple



2
orange
3



carrot



4



melon



5
strawberry

<tbody>
</tbody>

So I want to be highlighted based on the values from workbook A in column "D" (if it has NUMBERS Only, to be background red and white text), if it contains letters in column "D" (workbook A), to be yellow. If it contains nothing, to remain the same.

Thanks... I`m very keen on having it...
 
Upvote 0

Forum statistics

Threads
1,214,543
Messages
6,120,123
Members
448,947
Latest member
test111

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