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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,988
Messages
5,834,727
Members
430,314
Latest member
Kym_beginner_in_VBA

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