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
 

Some videos you may like

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
"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
 

microfich

New Member
Joined
Mar 21, 2002
Messages
15
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,334
Messages
5,601,012
Members
414,421
Latest member
tonybear1994

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
Top