conditional-formatting

Conditional formatting from another cell

冷暖自知 提交于 2019-12-13 08:04:01
问题 I would like to know how to conditionally control formats as below: Cell "A" can have several different inputs. Depending on what, it gets colored formatted. Cell "B" can have a value or not. If it doesn't have it it should stay unformatted. If it has a value it should have the same color format as cell "A". If cell "A" changes it should change the color format in cell "B" also, without changing the value in cell "B". Can someone help me? 回答1: I'm not entirely sure I understand your question

Conditional Formatting Rows Based on Date

房东的猫 提交于 2019-12-13 07:49:33
问题 I have a table with a round 500 rows of data. I want to setup conditional formatting to highlight rows based upon how old a row is (based upon the date cell in that row). The idea is that as an entry get's older, it is entered with a white background, but as it ages, it turns a darker shade of red. We have data taken from 5 separate weeks and plan to add more. Is this POSSIBLE in Excel, or will I need to highlight each week manually? 回答1: If you are willing to have one column be highlighted,

Conditional formatting for a column based on the value of header

一个人想着一个人 提交于 2019-12-13 05:52:20
问题 I have several columns where the data from rows 7 onwards changes depending on the selection made from a dropdown menu in row 6. Most of these options will result in textual or number based values appearing, but two of them would need to be formatted as currency. Essentially what I want is a conditional formatting formula that says; if row six in any column has a value of “Implied Unit Rate” or “Annual budget”, format rows 7 and onwards in that column as currency. I can get this to work by

Evaluating data in Conditionally Formatted cells by color to return data in a column

只愿长相守 提交于 2019-12-13 01:38:49
问题 I have used conditional formatting to shade cells red in a saved range named "Loops_1000" that have duplicate values. For discussion sake the range is A1:Z100 . So now I have maybe 100 cells with various tag data in them (e.g. C-03012034 ). The formatting is General. I want to search the Range and find all the red colored cells (background red = 3 I believe) and return the data in them to a single empty column (AA) in ascending order. I looked up one solution on this site utilizing Name

Delete all rows if duplicate in excel - VBA

ぃ、小莉子 提交于 2019-12-12 18:40:38
问题 I need to remove all rows without leaving any unique record. If duplicate exists delete all matching rows. Criteria is column C if any duplicate record exists in column C then delete entire row (including unique). Below given code is working but leaving the unique row Even I don't want that. Code: Sub DDup() Sheets("MobileRecords").Activate With ActiveSheet Set Rng = Range("A1", Range("C1").End(xlDown)) Rng.RemoveDuplicates Columns:=Array(3, 3), Header:=xlYes End With End Sub 回答1: I like the

Conditional Format based on column header

巧了我就是萌 提交于 2019-12-12 17:33:05
问题 I have a list of products in Column A, csv lists of attributes in column B, then a column for each unique attribute across the sheet to column BI. I want to highlight the cells in each column, that appear in the csv for that row. I'll try and explain with this example: ColumnA ColumnB ColumnC ColumnD ColumnE etc... Products csv List Attribute1 Attribute2 Attribute3 etc... Product1 Attribute1,Attribute3 (Formatted) (blank) (Formatted), etc... Product2 Attribute2,Attribute3 (blank) (Formatted)

Is it possible to assign conditional formatting to a named range in Google Sheets?

℡╲_俬逩灬. 提交于 2019-12-12 16:06:14
问题 I'd like to apply a conditional formatting rule to a named range. Is that even possible? How do I do that? When trying to enter the Name of the Range to the Field where you set up the range the rule applies to it won't accept my input. Also with INDIRECT it does not work: 回答1: this is not possible in Google Sheets for the custom formula you need to wrap it into INDIRECT formula like: 回答2: I think it is not possible, it is not documented in official docs. Range names: Can contain only letters,

PivotTable.js conditionally change color on text

耗尽温柔 提交于 2019-12-12 14:14:31
问题 So I'm working with PivotTable.js which has been a great help at work. Right now though, I'm trying to get a filter going to change the color of cells or font within the cell depending on the value. For example, if I have an array of dates in my dataset dates = ["N/A", "4/12/2016", "7/9/2024", "7/9/2024", "4/1/2013"] I want to make it so any dates before 6/1/2016 to change colors. I have my data being passed in locally as a variable 'data' if that makes any difference $(function(){ var

Finding (NOT deleting) duplicate values(rows) in multi-dimensional array using Excel VBA

旧城冷巷雨未停 提交于 2019-12-12 13:31:53
问题 This question was migrated from Code Review Stack Exchange because it can be answered on Stack Overflow. Migrated 3 years ago . Building off of one of my past questions What I'm looking to accomplish: I'm looking to find and highlight duplicate Upcharges using VBA code based on multiple criteria: Product's XID (Column A) Upcharge Criteria 1 (Column CT) Upcharge Criteria 2 (Column CU) Upcharge Type (Column CV) and Upcharge Level (Column CW) If there is more than one instance/row in a

Conditional Format cell if it's value is found in a Column of a Table

假装没事ソ 提交于 2019-12-12 13:26:23
问题 I thought this was going to be Very simple: =COUNTIF(Foo[Bar],$A1)>0 applying this to the entire column I thought would highlight any cell that is found in the Column Bar of table Foo. But excel is telling me my formula contains an error, even though when I paste it into a cell it does give me a correct value of True/False. I thought maybe for some reason I needed to complicate it for excel so i tried: =COUNTIF(Foo[Bar],$A1) + CountIf(A1:A10000, $A1>1 Not sure why i tried it but I figured why