Change Format Depending On Another Cell

Feb 18, 2010

I want to be able to do the following: I have data in column a and I want the text to change to strikethrough in, for instance, cell a1 when data is entered in b1.

View 9 Replies


ADVERTISEMENT

Change Cell Format Depending On Number

Apr 16, 2014

I have an if statement which shows either GP% or average revenue per product. The problem is that GP% needs to be in a percentage format and revenue per product needs to be in number format. 500 is now shown as 50000% or 50% will be shown as 0.5 for example. Is there anyway on changing the format of a cell based on the number?

View 1 Replies View Related

Format Certain Cells To Change Colors Depending On Date

Feb 27, 2013

I am trying to format certain cells to change colors depending on the date and the content of the next field to show due dates.

cell label
due date
date completed

c5
au5
be5

c6
au6
be6

c7
au7
be7

c8
au8
be8

What I need is for the contents of au5 to be green up until 10 days before the due date, yellow up until 5 days, and red with less than 5 days until the due date. If the date completed is entered into be5, then the contents of au5 should be black.

Is this possible, and if it is, how do I set this up? I tried to use

=$AU5-TODAY()>=10

And choose green formatting (something I found on yahoo answers), but when I enter the date the text is still the original black font.

View 5 Replies View Related

Change Color Of Cells Depending On Data (format) Present In It?

Jan 11, 2013

I need change the color of the cell depending on the following conditions. (By the way the column will have names list)

1. single punctuations are allowed anywhere in name apart from first position.-->color should not change
2. If any name got consecutive punctuations --> color should change to RED.
3. Any punctuations apart from Dot(.), hyphen(-), apostrophe('), Space( ) are not allowed-->color should change to RED.

Example-
ShivakumaraNo Change
Shiva kumaraNo Change
Shiva'kumaraNo Change
shiva.kumaraNo Change
shiva kumarared
shiva''kumarared
shiva' kumarared
shiva. Kumarared
shiva.'kumarared
shiva:kumarared

View 4 Replies View Related

Graph To Automatically Change Format Depending Upon Lookup Information

Mar 9, 2012

I have a graph which displays information from a vlookup.. The vlookup can bring either numbers which are in percentages format or ordinary number format.

The question I have is is it possible for the graph to automatically change format depending upon the information who is looked up..

If so how can this be done..

View 1 Replies View Related

Cell Format Changes Depending On Formula

Jul 18, 2013

My formula works fine, but I need the first number of the answer displayed with only two decimal places. The formula averages a set of numbers, then adds " of " and a cell reference.

I want the answer displayed as 2.43 of 3. Here is the formula.

=IF(AVERAGE(W12:W123)>0,(AVERAGE(W12:W123))&" of "& Z9,"") it works perfectly but displays 2.42857142857143 of 3.

The cell is formatted to NUMBER with two decimal places. . Changing the format has no effect, but changing the formula does.

If I use =IF(AVERAGE(W12:W123)>0,(AVERAGE(W12:W123)) or =AVERAGE(W12:W123) the result is 2.43. When I add the next portion, &" of "& Z9,"") it changes to 2.42857142857143.

I've tried reformatting cells and nothing changes. This is the only cell I'm having problems with. The worksheet seems to be working fine.

View 10 Replies View Related

Change Colors Depending On Value In Cell AI1

May 22, 2014

I have a few buttons on my page that I would like to change colors depending on the value in cell AI1. Right now this is the code I have:

[Code] .......

What I would like is to add formatting for "rounded rectangle 4" as well. if the cell = 1, number 4 changes color, if the cell = 2 both change color, and if the cell =3 then only 5 changes color.

View 2 Replies View Related

Change Cell Reference Depending On Date

Jun 11, 2009

The spreadsheet attached is a timesheet I use. The last column on the sheet (IV) keeps a running total of time spent on each project. I need a way that i can find out how much time was spent on projects in specific timeframes (eg 01/01/09 - 07/01/01, or 01/01/09 - 31/01/09). my initial thought is perhaps i can have a "from" cell and a "to" cell to input the dates i require and it will total the relevant cells in the rows below.

NOTE! This workbook uses VBA to auto hide any column which are dates previous to today's date so you may need to unhide them to view times logged.

View 2 Replies View Related

Can Change Colour In A Cell Depending On Result

Jun 3, 2013

Is there any way to have a cell change its colour depending on whether a condition is met. E.G., can i have it as green if the result is a plus number and red if its a negative?

View 2 Replies View Related

How To Change A Cell Colour Depending An A Different Cells Value

Oct 22, 2009

How to a change a cell colour to say red in B6 if cell b12 = 1 and if e6 = 1 to change to green. I thought I might be able to use conditional formatiing but no. I had set the spread sheet to do a cell just for a condition representing a sum from another worksheet and it was working fine but i have to incorporate the two together and am stock.

I have attached a spread sheet.

View 14 Replies View Related

Change Cell Depending On Column Header

Jul 11, 2007

I have a spreadsheet with names and start / finish dates columns down the left hand side then a row of week commencing dates along the top.

for each name row I would like to change teh fill colour of a cell to green to represent the week in which they started and to red for the week in which they finished. I therefore need to cross reference the start and finish dates for each name with the relevant week commencing dates at the top. Somehow! I presume there is some kind of vlookup type formula that I need to use in conditional formatting, but I am not sure what.

View 9 Replies View Related

VBA-change The Colour Of 4 Cells Depending On The One Cell

May 20, 2009

i need to change the colour of 4 cells depending on the one cell.

i have found some vba codes on the net but they are all based on numbers and i need it on text.

so if a1 ="alert" make A1 to A4 red

if a1="passed" make a1 to a4 green... and so on

i cant used conitional formatting as i need more than 3 colours

View 9 Replies View Related

Prevent Cell Change Depending On Sum Result

Feb 15, 2008

In my spreadsheet cell g1 is a name and cells g3:g6 contain data for that name.

I have a macro that exports the data in g3:g6 to another workbook and then deletes it.

What I need is a macro that when I try to change g1, gives me a warning if there is unexported data in cells g3:g6 (ie the sum of them is greater than zero) and gives the option of either continuing or stopping (presumably using a YesNo box).

View 3 Replies View Related

Excel 2010 :: Change Cell Colour Depending On Date In Another Cell

Jan 9, 2013

I am trying to create a sheet in XL 2010.

In Column A each cell will contain a date (differnet from other cells in that column) when inspection was last done.

Column B is when the weekly inspection is due.

Column C is when bi-weekly inspection is due.

Column D is when monthly inspection is due.

Column E is when 6 monthly inspection is due.

I need a formula to change the colour of cells B, C, D & E when each inspection is due depending on the date entered in A

I am hoping its possible that the cell colour can stay for 2 days after the due date and then return back to blank after the second day.

For example if cell A1 has a date of January 1 2013 then on January 8 2013 cell B1 turns red then on January 10 2013 the cell returns back to normal.

A1
B1
C1
D1
E1

Inspection Date
Weeekly Due
Bi-WeeklyDue
Monthly Due
6 Monthly Due

January 1 2013
Change red Jan 8 & return blank Jan 10
Change red Jan 15 & return blank Jan 17
Change red Feb 1 & return blank Feb 3
Change red June 1 & return blank June 3

View 3 Replies View Related

Formula To Change Cell Colour :: Shade A Cell Depending On Condition

Feb 9, 2007

Is it possible to use a formula to shade a cell dependent on a condition? I have tried an if formula (see below) but it is incorrect. =if('November 2006 SVOC'!B6>'March 2006 SVOC'!C6,'November 2006 SVOC'!B6 [red],if('November 2006 SVOC'!B6<'March 2006 SVOC'!C6,'November 2006 SVOC'!B6 [blue],))

View 3 Replies View Related

Formula / Conditional Format To Award Score From 0 To 4 Depending On Cell Value

Jul 24, 2014

I want to create a system based on the value of a cell appearing as a grade in the adjacent cell. The cell could contain any value from -10 to +10.

the criteria would be

value greater than +2 = 3
value between 0 and +2 = 2
value between -2 and zero =1
value below -2 =0

I can get a formula to work for a single instance but not multiple conditions.

View 3 Replies View Related

Formula Change Cell Color Depending On Priority

Aug 29, 2012

My colleagues are working on multiple projects at once. The projects got different priority, so I'm looking for a formula that change the cell color if a person is working on it, depending on the project's priority.

For example if John is working on project: East(pri.1), South(pri.2) and West(pri.3). On East he got 5 remaining hours (cell E8). Then i would like that cell to turn red. For South green and West red.

View 5 Replies View Related

Change Object Colour And Rotation Depending On Cell Value

Apr 11, 2014

I would like to conditional format an Object depending on the variance between 2 weeks.

If the value is > than 0% the arrow is Green and points upwards.
If the value is = to 0% the arrow is Yellow and points at at 90 degree to the left.
If the value is < than 0% the arrow is Red and points downwards.

Attached is a sample : rrow Conditional Format.xlsm‎

View 4 Replies View Related

Change Color Of Cell Depending On Values In Another Range

Nov 22, 2007

I want to change the colour of a cell depending on its value, when compared to another row of data identiified by a value in another cell. To try an clarify:

b3 = 1 b5=4 Because b3 = 1 then compare cell b5 with the row g1 as b3=g1 then depending on its postion set a colour

g1= 1 g2:g5 = 2,3,4,5,6
h2= 2 h2:h5 = 7,8,9,10

View 2 Replies View Related

Change Cell Format Based On Existing Currency Format

Jun 12, 2008

I would like to have a single button that changes a range of cells from the USD to EURO to perhaps CAD symbol. Can this operation be performed, such that if I start in dollars, and I click the button once, it shifts by range to EURO (not formulas...just symbol)...and then if I click the same button again, it goes to CAD, and then back to USD with a third click?

View 5 Replies View Related

Copy Fill From Another Cell That Is Formatted To Change Depending On Its Formula

Dec 10, 2012

As seen from my attached file,

The colour of the percentage cell changes according to its percentage. I would like the S/N cells to have the same colour as the total percentage cells automatically. (Even when the percentage updates)

Secondly, for the cells under "Target", if the target dates are 1 day before today(the current date on a particular day) and the actual date is not filled, the cell fill will turn amber.

If today is on or after the target date and the actual date is not filled, the cell will turn red.

However, if the actual date is filled, the target date cell will be filled green, overwriting the above two condition.

FormattingHelpExample.xls‎

View 2 Replies View Related

Add Row If Value Value In Column Change And Paste Specific Value Depending On The Change

Mar 5, 2010

I have used the below code to insert a new row when the value in coulmn A change. I now need to evolve it so that the new row will contain a specific value depending on the changing value:

Before:
Column A Column B
one test
one test
two test
two test
three test
three test

After:

Column A Column B
one test
one test
Coz two............................

View 9 Replies View Related

How To Change The Cell Format

Jan 2, 2014

how to change the cell format (or use a formula) so that the inputs typed below can look like proper dates?

20121231
20111230
20101231
20091231
20081231
20071231
20061229

View 4 Replies View Related

Change Cell Format

Mar 16, 2007

I'm trying to find a VBA code that will look through all my cells and any cell that equals a certain text, it will change the format to "strikethrough" and put a line through the text.

View 9 Replies View Related

Cell Date Format Will Not Change?

Nov 23, 2006

I am facing a problem with number formats. I have downloaded some data from a database. In the data, there are some date columns in MM/DD/YYYY format. In a seperate workbook, I have copied that data as values.

Now when I am trying to change the formats of the dates to d-mmm-yy, they don't change. The formats are not not changing to any other format. I even tried changing the formats using VBA, but it did not work.

View 4 Replies View Related

Change Format Of Cell Into Number?

Dec 15, 2013

I am having slight trouble with the formatting of some cells. Every month I will be copying data into a row, the problem is Excel thinks it's a date instead of an integer of some sort.

The value copied will look something like this:
79:42:00
(meaning 79 hours and 42 minutes)

Excel is taking that and interpreting it as:
1/3/1900 7:42:00 AM

Is there an easy way to format this so Excel thinks it's a number (even if 79.7).

I tried to change the format of the cell to "Text", but it changes it to: 3.32083333333333

View 14 Replies View Related

Change Text Format On Value From Another Cell

Jan 17, 2007

I want to change the look of the text in a cell to be highlighted in some way, preferably bold. Ex. if I put a1 in the cell, it does a VLOOKUP to get the value. Is there a way to have the a1 change to A1 on enter?

View 9 Replies View Related

Cell Date Format Will Not Change

Nov 23, 2006

I am facing a problem with number formats. I have downloaded some data from a database. In the data, there are some date columns in MM/DD/YYYY format. In a seperate workbook, I have copied that data as values. Now when I am trying to change the formats of the dates to d-mmm-yy, they don't change. The formats are not not changing to any other format. I even tried changing the formats using VBA, but it did not work.

View 2 Replies View Related

Change Cell Format From Custom To General Or Text And Keep Cell Value

Aug 22, 2013

Is it possible to change cell format from custom to general or text and keep the cell value

I have this in formula bar: 16/08/2013 4:37:00 AM
which is displayed in the cell as: 16/08/2013 4:37

I want to change the cell format to general but display the same information.

View 2 Replies View Related

Change Result Cell Format Based On Input Cell Value

Mar 24, 2007

Macro Based on an input cell’s (e.g. B12) setting of “yes” or “no”, format several other cells (e.g. B20:G20, B23:F23, C26:J26) as follows: keep the existing yellow shading if input cell is “yes”, change to grey shading if input cell is “no”. I would like this macro to run automatically whenever the input cell value is changed.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved