Enhancing Conditional Formatting: Write "NO DATA", "HIGH", "GOOD", "MODERATE", "POOR", "BAD" Depending On The Value

Jul 6, 2006

I would like to write a function that enhances conditional formatting capabilities in this way: suppose that cell(4,5) contains a number that can be 0 to 5
in the adiacent cell(4,6) i want to put a function that:

1) write "NO DATA", "HIGH", "GOOD", "MODERATE", "POOR", "BAD" depending on that value
2)Choose color font depending on value
3)Choose color background depending on value

I wrote this piece of

Public Function StatusResponse(AdiacentCell As Range) As String
Dim thisStatus As String
Dim ThisFontColor As Integer
Dim ThisbkColor As Integer
Select Case AdiacentCell.Cells(1, 1)
Case Is = 0
ThisbkColor = 2
ThisFontColor = 1
StatusResponse = "NO DATA"............

View 2 Replies


ADVERTISEMENT

Good, Average, Fair, Poor: Automatically Use One Of The Numbers That I Have Set And Add It To Total

Jul 20, 2006

In creating a chart that calculates home prices I need to be able to just enter "Good", "Fixer", "Remodeled", etc...and have that automatically use one of the numbers that I have set and add it to my total. I have created a box with variables for "Good", "Fixer", "Remodeled", etc...How do I make it so I can put any of those variables into the condition of the house row and make it add the dollar amount specified into the totals box? This is the very simple code that I am using to find the totals so far: =SUM(C5:J5)

Here's what I need:

Also, the plug in values in the first picture WILL CHANGE and I don't want to have to change the formula. So I need something to point to those cells.

View 4 Replies View Related

Conditional Formatting Depending On Two Other Cells?

Jan 27, 2014

On the attached spreadsheet, is there a way of highlighting a cell because it is a greater number than two other cells?

Can cell C3 be highlighted green because the number is greater than G3 and K3?

Can cell E3 be highlighted green because the number is greater than A3 and I3?

Can cell K4 be highlighted green because the number is greater than C4 and G4?

View 8 Replies View Related

Poor Export Formatting Leads To Complicated Macro

Jun 12, 2008

I'm going to attach a file I'm working with so you can see my issue direction but here is the background:

- file you see is an excel export from another software. This is as clean as it gets.

- what I am trying to accomplish is take the data for each person listed and movie it to it's own sheet via a macro. Creating the sheet name based on the name of the person. I've completed that task before with some help here, but never with data formatted like this.

- does anyone have any options they can think of? I've tried working with the two cells that make up the page number and basicly the move off that but can't seem to get that to work.

- would anyone suggest any formatting changes (while keeping all data integrity) before trying a move?

View 9 Replies View Related

Conditional Formatting: Format 3 Columns Depending On Certain Value From Another Column

Mar 26, 2009

I want to format 3 columns in excel depending on certain value from another column.
By example: I have the columns A B C completed with some text. On the column D it will be the numbers 0 or 1. If the number is 0 the background color from A,B,C columns shall be Green, if the number is 1 the color shall be red.

I have tried in conditional formatting with the formula =$D$1=0 but the color of the columns are changing only depending on the value from cell D1. I don't know what is the correct formula. For column A1 I want to check the value from D1, A2 - D2, A3 - D3,...,An - Dn.

View 2 Replies View Related

Conditional Formatting - Highlight Color Of Text In Particular Cell Depending On Value

Dec 22, 2013

I would like to know the formula to highlight the color of text in particular cell if the value of the particular cell ( value is text ) is so and so.

For Ex: If the J6 is "Vacation" then the J1 text should be in red color.

View 5 Replies View Related

Conditional Format For Low, Mid & High

Jun 13, 2007

Sorry I don't mean to bring up old post of mine but my boss wanted me to change how this works. I have placed a link to the old post of mine in hopes that it may help. Instead of having two conditions that turn green, he wanted to combine those two, have the lower turn red and the higher turn yellow. Still only three colors but I am unfamilar with how these conditional formats work.

View 9 Replies View Related

Excel 2010 :: Conditional Formatting Of Cell Depending On Value Of Another Cell?

May 9, 2013

I'm using Excel 2010 and I would like to format a cell (say, the font of that cell turns RED) if the value of another cell meets a certain criteria.

View 9 Replies View Related

Find The High Price Day Of Each Week. Then Report The Median High Day

Aug 14, 2008

I have an interesting problem (I hope you find it interesting too). I'm trying to find the historical "high" day of the week for a particular stock I follow. I searched for several hours but was honestly unable to make any progress. Normally I do my own formulas, so other than pasting a rare macro, that's pretty much the extent of my (lack of) experience, ie please assume I am a novice....

View 9 Replies View Related

Conditional Formatting Of A Cell Depending On Another Cell

Jul 9, 2014

I want to conditionally format cells K8, L8 and M8 so that when cell C3 contains a 3 it causes the previously mentioned three cells to fill black.

I cannot seem to work out how to do this using the options available under conditional formatting. Is there another way?

View 1 Replies View Related

()Formula Enhancing Visiblilty Of Security Stock

Oct 30, 2007

Need your lights pls to figure out how much times (monthly figures) my stock on hand will cover the demands. For instance: .......

View 9 Replies View Related

Rows High For Only Cells That Have Some Data

Jul 31, 2014

I need a VBA code to adjust Rows high for only the cell has data in it.

View 4 Replies View Related

High Frequency Data Calculation

Oct 16, 2009

Suppose you have a large database, which consists of high frequency minutes data, you need to calculate differences in values between each different time intervals, e.g. from 1 min to 10000 mins.

the format is looked like below

1 min aaa
2 min bbb
3 min ccc
4 min ddd
.................
......................


More specifically, what I am supposed to do is to calculate aaa-bbb, bbb-ccc, ccc-ddd, and then aaa-ccc, bbb-ddd, and then aaa-ddd and so on.

I know the VBA has a function to do repeated executions but am not sure how to adjust the time intervals.

View 9 Replies View Related

Chart: Plot High And Low Data Only

Aug 12, 2008

I have a 46000 rows of data. I want to make a chart, but only want to plot the highest and lowest data points in the data set. How do I get Excel to automatically find and plot only the highest and lowest data points?

View 9 Replies View Related

Conditional Formatting Groups Of Data

May 28, 2014

I have a spreadsheet with data in a table with order numbers in column A. Although each order is given a unique number, the data populates with multiple rows, one for each line of the order, all with the same order number depending on how many lines where on the order (which is generated via other software and cannot be altered). Therefore the data, when sorted by order number, appears in groups:

[URL] .....

Is it possible to conditional format each line in groups of the same order number to make it easier to differentiate between each individual order which will still work when the data is sorted or filtered?

View 2 Replies View Related

Conditional Formatting - No Data No Colour

Nov 4, 2008

On this particular formula but my colleagues have informed me that they require cells with no dates in to have no colour fill. Firstly, I have searched and tried myself with no success on stopping the below formulas from filling empty cells with red, they are as below;

Code below for 11 months after entered date:

View 2 Replies View Related

Conditional Formatting - Colour A Whole Row Of Data

Jun 8, 2009

I am trying to colour a whole row of data (in columns A through to AA) based on the numeric entry in column AB. The numeric entry is either 1, 2 or 3. I reckoned I needed to use the IF function, but as writing formula is not my strong point I am struggling to enter the correct data! The first row of data I wish to use is 3. I have tried the following but to no avail: =IF($AB3,1). =IF($AB3=1). =IF($AB3="1").

View 5 Replies View Related

Data Bars Conditional Formatting

Mar 5, 2012

I am using the simple conditional format "Data Bar" to make a progress bar, going from 0-1 (0-100%), works fine .5 is halfway...ect. but what i would like it to do is to change to a different colour only when it reaches the 100% or 1 in this case so you can see quickly that this progress is complete.

View 7 Replies View Related

Data Validation And Conditional Formatting Using VBA

Jan 14, 2010

I am using Data Validation for my drop down list, using “List” and “source” =$A$132:$A$159 along with Conditional Formatting that changes different fill colors, depending on selection. Is there a way to use VBA with a command button that when selected would give the user a dialog box so that they could enter additional comment that would be added to existing list and would also be able to select a fill color for that new selection.

Below I have a recorded Marco to give an idea of what I would like to achieve, but of course using a input box of some sort to make selections of text and color

Also I'm using Excel 2007

View 14 Replies View Related

Conditional Formatting From Data On Different Sheet

Jan 24, 2014

On one of my excel spreadsheets I have someone's name and a drop down list of "subscribe" or "unsubscribed" in the next column over:

Name

Company
Subscribed?

Name1
amazing company
Unsubscribed

[Code] .......

I have their names in column A on another sheet and a load of contact details and details on subscription price etc. I want to be able to conditional format these rows of details according to if they are subscribed or not. I'm struggling to come up with a formula that works and the conditional formatting menu isn't working much.

View 5 Replies View Related

Data Validation & Conditional Formatting?

May 21, 2009

I have conditional formatting for a range of cells eg. =COUNTA(AC3,AD3,AE3,AH3)
It is currently set so that cell A3 changes to Green if AC3 is populated, Red if AD is populated, Orange if AE3 populated & white if AH is populated.

AE3 has data validation (Yes or No).

I need AE3 to change to White if no is selected and Orange if Yes is selected.

View 9 Replies View Related

VBA Conditional Formatting - Refresh When Data Changes

Jul 13, 2006

I searched, but couldnt find a thread which covers a VBA code which covers writing a conditional format into cells and changes each time contents of the cell are refreshed. The conditions are:

If activecell.value < 0 Then
.interior.colorindex = 3

If activecell.value >=0 Then
.interior.colorindex = 4

and i want this to happen for a big range of cells (range(a1:k1500) So basically, once the macro is run(which has the code to insert the conditinal formating for all the cells), if the user makes any change to the cell(within the range), the color of the cell should change automatically(like Conditinoal formating works by default). Prior to this, i was doing my cell coloring using the 'for loop' approach, but that of course does not reflect once the macro has ended.

View 2 Replies View Related

Conditional Formatting Based On Cell Data?

Jan 29, 2014

I would like to be able to change the color of fill in a cell if there are 3 occurrences in cells. Attached is a sample.

In the attachment, if the cells A2, D2, G2 all have a number "1" in them I would like cell K2 to have a color fill for the cell.

The same would be for the other cells, if B2, E2, H2 all have the number "1", K2 should have a fill in the cell as well, same as if C2, F2, I2 have a number "1", fill K2.

I only want the fill color to be in cell K2 if all 3 of the cells, ex: A2, D2, G2 have a "1" in them. Also, some of the other cells may have a number "1" in them but I would not want them counted unless it is 3 of the consecutive cells.

View 7 Replies View Related

Conditional Formatting On Cells With Data Validation

Jul 24, 2009

I have column of cells, both of with have drop down menus to select information from. I have an adjacent cell to display an error based on conditions. Is there a way to have conditional formatting to apply to the cells with Data Validation to change the color, based on the error. I have tried using the Conditional Formatting options but it still does not change the color of them. I believe i have to use the formula option, but not exactly sure what to put, i know a if statement could work but unsure on how, there are only two conditions that i would need for it to apply, if the adjacent cell has an error, and when it does not. Is this possible?

View 9 Replies View Related

Conditional Formatting Using Formula For Data In Cells

Oct 13, 2009

I am trying to conditionally format some data in cells A3:A6 (shade the cells) depending on whether a number in B1 is 1 (green), 2 or 3 (blue), or 4 (red).

View 3 Replies View Related

Data Validation Lists And Conditional Formatting

May 19, 2008

On sheet 1 I enter data such as:
Visit Date | Customer Name | Customer Number | Job Number | Product

On Sheet 2 i have a list of our 130 products which would be similar to '1130Tots Standard 24" ' I have made these as a list so we can choose from the list using data validation.

Now, out of the 130 products we have about 4 main different Catagories - Tots Direct, Tots RTS, Direct, RTS. - I could put what category they are in in a column next to the list on Sheet 2.

What i would like to happen is if e.g. a product is chosen from the drop down list, it could look in the cell in the column next to it and see what Catagory it is in and format the entire row on Sheet 1.

E.g. Direct changes colour to grey, Tots RTS to Pink, Tots Direct to Grey/Pink stripes, RTS stays standard no colour.


A bit of a development on a question i asked last week to cut out another stage. Currently people have to enter the product, then choose in the next column whether is is Direct, RTS, Tots Direct, Tots RTS then conditional formating will colour the rows. - Want to know if it is possible to do this all in 1 go by selecting the product from the list.

View 10 Replies View Related

Conditional Formatting With Sharepoint Data Connection

May 30, 2007

I have an Excel workbook that has a data connection to a Sharepoint List. I have 4 columns showing the quaterly status of a project. I want to apply conditional formatting based on the value in the column. I have 5 possible choices so I have to use VBA code to accomplish this because of the limit of 3 option in Excel. I am using this

Private Sub Worksheet_Change(ByVal Target As Range)
Dim rng As Range
Set rng = Intersect(Target, Range("X:AA"))
If rng Is Nothing Then
Exit Sub
Else
Dim cl As Range
For Each cl In rng
Select Case cl.Text
Case "1"
cl.Interior.ColorIndex = 4
Case "2"
cl.Interior.ColorIndex = 6
Case "3"
cl.Interior.ColorIndex = 3
Case "4"...............................

View 3 Replies View Related

Auto Sorting Column From High To Low As Data Is Changed?

Jan 15, 2014

in excel where you can select a column and sort it from high to low, how can you get this to be done automaticly as the data changes?

View 2 Replies View Related

Conditional Formatting Highlighting Data That Matches On 2 Different Worksheets?

Jul 17, 2012

I have 2 worksheets. One has locations with numbers, example:

275 Location 1
276 Location 2

I have all my locations on the second sheet, but in 2 different columns, listed with numbers only, example:
271 275
272 300

I have 2 scenarios I need help with.

1st:
If any of the numbers on sheet 1 match the numbers in column 1 on sheet 2, highlight the number on sheet 1 in green If any of the numbers on sheet 1 match the numbers in column 2 on sheet 2, highlight the number on sheet 1 in red

2nd:
If the number on sheet 2 matches any number on sheet 1, highlight green

I want these to apply to all the cells that have numbers (it could apply to all cells I guess as it should ignore it if it doesn't match, I would assume)

View 7 Replies View Related

Conditional Border Formatting Formula (after Repeat 5 Data)

Apr 9, 2014

how to make conditional formatting for border line (top & bottom) after repeat 5 data/text ....

it's possible with CF formula and do not vba?

see my excel file attached..

View 4 Replies View Related







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