conditional-formatting

Using an array based formula in conditional formatting

江枫思渺然 提交于 2019-12-24 09:04:06
问题 What I am trying to do with excel is a bit unorthodox, but I need a method of cleaning the data people import in to TechExcel's DevTrack. DevTrack creates values for fields if what you attempt to import is not 100% accurate to what exists already in the project, leading to duplicate values with slightly different formatting. What I have come to is having a "validator" excel sheet; people copy/paste what they want to import, and anything that doesn't match a data validation table is

Why does formatting removal from Excel increase speed of MATLAB readtable?

夙愿已清 提交于 2019-12-24 08:44:43
问题 I have a spreadsheet with about 400 rows and 10 columns of data. I have it set up in MATLAB to import this sheet using readtable (since the data is not homegenous, I've found this to be the simplest method, over xlsread). The problem is, the formatting in the Excel file is causing the readtable function to be super slow. Both the number formatting (decimal places) and the conditional formatting are affecting this. % With formatting: 35 seconds % Without formatting: 1 second I would like to be

Why does formatting removal from Excel increase speed of MATLAB readtable?

余生颓废 提交于 2019-12-24 08:40:05
问题 I have a spreadsheet with about 400 rows and 10 columns of data. I have it set up in MATLAB to import this sheet using readtable (since the data is not homegenous, I've found this to be the simplest method, over xlsread). The problem is, the formatting in the Excel file is causing the readtable function to be super slow. Both the number formatting (decimal places) and the conditional formatting are affecting this. % With formatting: 35 seconds % Without formatting: 1 second I would like to be

Function to return interior colour of conditional formatted cell

主宰稳场 提交于 2019-12-24 05:12:25
问题 I want a function that returns a value for the colour index of a conditionally formatted cell. It is being used to check a number of cells in a row that if they highlighted using conditional formatting then an action will be required - it is simpler to check if there is a colour in the cell rather than create a combined conditional formula covering the conditions of all the cells. Or so I thought.. The code below is returning a #VALUE error although the code works in a msg box.. Function

Excel changes conditional formatting formula

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 04:58:28
问题 I have a table containing a lot of cells representing a time line (one cell per minute, very small width) and I want to visualize operations, containing of three phases, in this table. (There can be several operations in one line, representing one operating room) For example, if the preparation starts at 10:00 and the real operation starts at 10:23, all 23 cells between those times should get red, and the next 55, representing the actual operation between 10:23 and 11:18, should be green, and

Conditional Formatting in VBA, based on functions

我的梦境 提交于 2019-12-24 03:43:37
问题 I have some (semi) complex conditional formatting to do in Excel. I can get it working no problem using the menu, but I want to do it programmatically because I want it applied across multiple sheets (copy, paste as format does not work). I tried recording a macro while I set up the CF to get the code, but it doesn't record that type of entry. Here are the rules I'm applying, currently to the range: =$1:$65536 =OR(COLUMN()=1,COLUMN()=2,ISBLANK($B1)) =AND(LEFT($A1,6)="Base (",A1>100) =AND(LEFT

conditional formatting entire row if cell contains text

时间秒杀一切 提交于 2019-12-23 20:36:13
问题 I have an excel sheet where I'm trying to use conditional formatting but it doesn't seem to work as I would like it to. It seems as though any formula won't work as I don't want the cell to match TBC, but contain it. In short, I am looking for this: If D2 Contains "TBC" then highlight the whole row I've tried around 10 suggestions through Google and also Stack Overflow but it seems as thou Note: Each cell will have different values, i.e. D2 has "1 screenshot TBC" and D3 has "5 screenshots TBC

Formula to conditional formatting text that contains value from another cell

China☆狼群 提交于 2019-12-23 17:52:59
问题 I have a column A that contains a 1-4 word phrases in each cell. I also have 4 cells that contain 1 word values: B1 C1 D1 and E1 I need to setup conditional formatting is such a way, that: 1) If text in a cell from column A contains a word that matches value from ONE of the cells mentioned above, highlight that cell (from column A) in red. 2) If text in a cell from column A contains words that matches value from TWO of the cells mentioned above, highlight that cell (from column A) in blue. 3)

Highlight series of dates that met conditions

柔情痞子 提交于 2019-12-23 06:10:50
问题 I have a data in excel sheet that contains client id, date of a result and the result of some lab tests. The dates are sorted ascending for each client. I want a VBA code to go through the dates of every client and test if the difference between every date is not more than 2 months and to find the longest consecutive set of Dates and Highlight it with color, yellow for example. This set of date is not necessarily to be the oldest or the newest, but should be the longest duration of non

Jtable with conditional formatting like Excel

无人久伴 提交于 2019-12-23 04:58:20
问题 Does JTable supports 3 color conditional formatting like excel does. Example: I checked on google and all I could find assigning single color at a time to a cell which matches the criteria. I was wondering if I could just provide three colors and Jtable would assign shades of color according to the value of the cell. 回答1: Here is one of the ways, how you can do this. Additional classes we can find here . import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension;