VLOOKUP and Formatting help

microfich

New Member
Joined
Mar 21, 2002
Messages
15
I have a simple VLOOKUP that is working.

Problem is the text source data (sheet1) has strikethrough formatting when appropriate and I'd like to pass that formatting to the result cells of the VLOOKUP (sheet2).

I don't want to have to run a macro to accomplish this. Basically, if I format a cell in sheet1, I'd like to be able to automatically see that value in sheet2 with the strikethrough formatting.

Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
"I don't want to have to run a macro to accomplish this"

You don't ahve an option but to use a macro - formulas will only evaluate results, they cannot directly effect the "environment" of the worksheet, including cell formatting.

Care to post back with a few more details (where your data is etc...)

Paddy
 
Upvote 0
Paddy,

I got a workaround...

I set a new column's value to 'X' when I see the strikethrough on the 'from' sheet row.

The 'to' sheet does the VLOOKUP pulling the 'X'. I then did an '=AND' via conditional formatting to employ the strikethrough.
 
Upvote 0

Forum statistics

Threads
1,218,751
Messages
6,144,284
Members
450,535
Latest member
Erlull

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