Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help formatting Column based on values in another column.

Hey,

I'm trying to have a value in column M strikethrough if the value in the same row but column F does not contain "xxxx".

Example:

Column M has dates and Column F has a status of an order.
If the status of cell in column F, is not "approved", I want the date in Column M to strikethrough...

..... is that possible?

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,182
Default Help formatting Column based on values in another column.

Strikethrough is the default 'effect' in CF/Font. To enable it you must fill
out the empty selection fields.

Use this formula:
=NOT(Status="Approved")

...where "Status" is a named range with local (sheet level) scope, defined as
follows:

Select F1 and open the Define Name dialog;
Name: 'sheetnamehere!'Status
OR in newer versions:
Name: Status
Scope: name of sheet being used on
RefersTo: =$F1
Press Enter

This defined name will now work in any column to ref column F in the row using
this name. Giving it sheet level scope allows using it on other sheets
independantly without conflict.

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy one column values to another column based on conditionthat row2 contain todays date sanju[_2_] Excel Programming 3 April 16th 10 02:26 AM
Count Unique Values in 1 Column based on Date Range in another Column Brian Excel Worksheet Functions 14 May 17th 09 02:58 PM
macro to transpose cells in Column B based on unique values in Column A Aaron J. Excel Programming 3 October 8th 04 02:29 PM
Calculating values to column D with formula based on values column A spolk[_2_] Excel Programming 1 April 30th 04 06:29 PM
vba: Taking average of values in one column based on a corresponding value in another column eggsell Excel Programming 7 August 5th 03 01:12 PM


All times are GMT +1. The time now is 04:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"