Formula (search For Colour)
Apr 22, 2009I have a large spreadsheet that is colour coded. E.g. Red means x and Blue means y etc.
Do you know if it is possible to build a formula to count how many red cells there are?
I have a large spreadsheet that is colour coded. E.g. Red means x and Blue means y etc.
Do you know if it is possible to build a formula to count how many red cells there are?
Is it possible to search Excel by cell colour, i.e. font colour...and then change the said colour to another one?
View 3 Replies View RelatedColumn A = Dates in ascending order
Im after the code for searching this coloumn for 8 dates i have listed elsewhere and then i would like it to apply rose colour just to the dates in column a.
how do i link with specified dates?
With Selection.Interior
.ColorIndex = 38
.Pattern = xlSolid
End With
End Sub
I need one formula to copy and paste the checkcard data changing it from this "CHECKCARD XXXXXX5623" to "CHECKCARD 5623", but I need one formula to look for multiple known checkcard numbers. I will have more then one typically in the bank download so I need to search and copy at least two known numbers as shown below.
I am providing the formula that I am using right now, "=IF(ISNUMBER(SEARCH("5623",B3)),RIGHT(B3,41),"")" but it only works for one checkcard number? Also I don't really need to capture the DEBIT or CREDIT that will always be at the end, it would be redundant. If it's easier to write the formula including that data that is no problem. What I want to copy and move into an adjacent cell is in red.
Here is the source data:
Row 2 - SONIC DRIVE IN#1531 AUSTIN TXDEBIT FOR CHECKCARD XXXXXX5623 DEBIT
Row 3 - JASON'S DELI # 125 Q64 AUSTIN TXDEBIT FOR CHECKCARD XXXXXX9718 DEBIT
I would like it to loop through all the charts on the "Graphs" sheet.
It works well but gives a "Run-time error '1004'" Application-defined or object-defined error afterward that I would like to get rid off.
VB:
Sub Colour_Chart_working()
Dim rngColors As Range
Dim rngCell As Range
[Code].....
I have a lookup that gives and RGB colour code in Cell A1; for example 186, 206, 140.
I'd then like Cells R10:V15 to fill with the RGB colour based on the result in A1.
I think this can be done by using VBA but i was wondering if there was a way to do this without.
I would like to highlight (with Conditional formatting) if a cell contains a formula. Or if easier, colour a cell if it doesnt contain a formula.
Is it possible and what formula to use in the conditional format formula field to do this?
I have a auto generated report that colours a certain column, that shows all the items that are in receiving error. I want to pivot the data and show the break down on the colours used; Green = newly added, Amber = escalated, Red = urgent
at the moment I'm adding a column next to it and filling it in myself. is there away to automate this? either via a custom forumla or marco
Is it possible to use the colour of a cell in a SUMIF formula? i.e On the worksheet differnt entries are colour coded depending on what they relate to. If I only want to add all the cells that are Blue can it be done?
View 9 Replies View RelatedA column of cells can be 1o different shades of green according to their value (achieved by using conditional formatting.) I want to arrange that at a certain time all the cells of a part of the row of a formatted cell are the same colour.
View 4 Replies View Relatedi am looking for a formula, if i put it as plainly as i can then i hope someone can work it out for me!
if ad4 is greater or less than 30 then ad4 text is red, if ad4 is equal too 30 then text is green
how to change the cell colour due to a sum increase or decrease? For example: if the amount is greater than 200, change cell colour to green. If under 200 change cell colour to yellow.
View 2 Replies View RelatedI'm using vlookup to find data, but the data is highlighted in different colours and I need this to appear as well as the data/text. Is there a way to do this? The data is individually highlighted with a specific RGB colour for each one and so far could not think of a way to do this. In the end there will be 81 RGB colours and text answers (just in case there is a limit, but if I had to I could break this down to 14 and less for each cell).
View 1 Replies View RelatedI want to change the colour of rows depending on the letter that is in a column. I want it to do it over all the sheets of the document. In the G column there will be letters like 'W' and 'L' that signify something and I want to make it clear by changing the row colour fill. I've tried a few formulas I found by googling but they didn't work. I should point out that the letters are connected, so if I put a 'W' on the second sheet it appears on the first sheet as well.
View 2 Replies View RelatedSo I have a macro that colors the selected cells in a certain color. Now im looking for a code that will switch that color every 7th cell, the cells will only be selected horizontally. For example:
if the selected range is 10 cells, 7 of them should be in one color and 3 of the should be in another. But if the selected range is 15 cells the first 7 should have one color and the next 7 should have another and then the last one should have the first color again, and so on..
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 RelatedI want to write an "if" formula which determines the colour of the adjacent cell. For example if colour of A2 is red then B2 is 1,else B2 is 2.
View 9 Replies View RelatedI need to set a cell colour by the value of a cell in another sheet so i can't use conditional format. Is there a formula that allows the user to set a cell style, colour, font etc.
View 9 Replies View RelatedI'm creating a worksheet which tracks pupils progress in our school. down the left there is a column to put in the level they came into our school on - eg 1C or 3B etc.. to the right of the level is a colour coded row which shows Pink, Yellow and Green - if the pupil makes it into the green part of their level by the time they leave then they are on target.
Basically I have a column of cells which use a data validation list which is linked to another sheet with a list of levels. What I want to happen is when I select the level - it fills the row to the right with the correct colours.. I've attached a picture to show you what i'm trying to do.
Reason being is - we might have 6 kids on L3, and 1 on L1 so the number of rows needed for each level changes - at the moment I'm having to copy and paste - which although is easy enough, it is a bit tedious when you have a whole bunch of pupils to put on the grid.
I can't find the option in imageshack to use a thumbnail
I have an excel spreedsheet that has columns of numbers. ex.
SKU - DESC - SKU - DESC - SKU - DESC
I enter sku's and information about them each week all on the same sheet. Each group sku/desc is one week. I need something I can put in the conditional formating.. a formula that will check the columns previous and tell me if a number appears in any column before the one I'm typing in.
ex.
6413 - B/O 2145 - B/O
4434 - B/O 6413 - B/O
4456 - B/O 4356 - B/O
4567 - B/O 4967 - B/O
76677 - B/O 76477 - B/O
I would like second 6413 to highlight to show me it's a repeat!!
i am currently using the following array formula to search a range for a value and return its self refrence however i need to modify it as at present it will only return exact matches i need it to be able to search a string find a value and return the cell refrence
View 4 Replies View RelatedBasically on Sheet 1 in cell A1 I would like to create a formula that will search Sheet 2 to see if a particular word occurs anywhere in that sheet. If it does I want it to display like an if statement.
View 2 Replies View RelatedI'm having trouble finding the correct way to use this formula. Basically, I need the formula to populate what is in another cell, minus any apostrophe's ( ' ) that are in the text. Sometimes the text contains the apostrophe and other times it does not. I just want whatever text is in the cell to populate, whether it contains an apostrophe or not.
Here is what I've been using so far, but it only produces a value if there is an apostrophe. If there isn't an apostrophe in the text, nothing populates.
=RIGHT(Input!G2,LEN(Input!G2)-SEARCH("'",Input!G2))
I'm trying to use wildcards in the Search formula and it isn't working the way I thought it would. I'm trying to use the following two strings:
????1234
compared to
1234????
Shouldn't search find these two strings the same since given the wildcards? Or am I missing something? If I use the above, I receive a VALUE error rather than a match.
I import excel generated data (in form of a worksheet) from our supplier provided programs into an excel spreadsheet. My excel spreadsheet then performs an analysis using only certain data columns of the imported data.
Background:
1. Currently, my excel spreadsheet has formulas that includes the cell references of the imported data.
2. However, the suppliers' data format may change - what I mean is that another supplier program may have the required data in a different column. I use the same program for all suppliers.
3. What does not change is the heading titles of the imported data worksheet - it is basically consistent among the different supplier programs.
Question:
Is there a way to write a formula so that the formula can go to the imported worksheet and search for a specific heading title of a column, and then place the data from that column in another worksheet?
In other words, let say a specific heading title in the imported worksheet is "Total Benefit" and that it is located in column D and the data needed is in rows D2 - D60 (inclusive).
Let's say - in another worksheet, I need the data in cells D2 - D60 of the imported worksheet in cells A10 - A68.
Currently, I write the formula in A10 and copy it to A11 - A60 knowing that the needed cells of the imported data worksheet are D2 - D60. But another supplier's program may have the "Total Benefit" in column BB (and therefore the required data in cells BB2 - BB60).
Therefore, if my formula in cells A10 is Imported sheet!D2 x 100 - it will be incorrect when I import this other suppliers' data (because it has the required data located in cells BB2 - BB60).
Therefore, if the formula can search by heading title (which is constant amongst the suppliers data), it will make it easier to locate correctly the required cells.
In other words, can the formula perform a search on the Imported sheet! worksheet for the heading "Total Benefit". Once it is found, the formula then takes the data in that column - obviously, it has to match up properly - in that the A10 takes the data from D2, A11 from D3, A12 from D4....
Constraint - Cannot use VBA macros in this solution.
= SUMIF( 'Worksheet'!$A$6:$A$22,"*Living*",'Worksheet'!$P$6:$P$22)
But i has one a major defect, it doesn't search the whole worksheet, the reason why i limited the search area (Worksheet'!$A$6:$A$22) is because this formula must only find the word 'living' under one part on the worksheet which its rows have the number 3 in them. So from A6 to A22 all rows have the number 3 in column D but after the A22 the number changes to 4 and so on.
Is there a way that the formula can search the number 3 in Column C from C6 to C500 first, then find the word Living from A6 to A500 then sums the rows the formula has found from P6 to P500.
I attached an example excel sheet. I tried to figure out but could not get a way. I need a formula which takes the value in D2, search it in column A, if the value is in the list, type the corresponding result in E2.
View 7 Replies View RelatedFormula 1 : =IF(SEARCH({"spinning"},A2),"AUTOGEN")
Formula 2 : =IF(SEARCH({"typing"},A2),"Manual")
I want to combine above two formula's with "OR" function.
how to use a formula or macro or whatever that is applicable to solve my current issue.
For example:
I've the following text below. The prefix of "atest", "bgo", "crun" and "dfly_c" are fixed pattern, however, the text after prefix will change accordingly.
atest_myhomeisfar
bgo_runfast
crun_b:veryfast
dfly_c:bluesky
Now my request is, I would like to have the final output as per below. Notices that there are some additional numbers behind the text (with semicolumn).
Final output:
atest_myhomeisfar:1998
brun_veryfast:2009
cfly_bluesky:1790
dfly_c:bluesky:1800
My question is, is it possible to create something to handle this issue? I mean something that will seach thru a particular fixed pattern as mentioned above and add the number behind it?
I would like to do it one at the time (one prefix at a time). Not mass searching and adding.
For example:
Search all "atest*" pattern and add an additional number behind.
Is it possible to use the Sumproduct formula to search for a particular word
and grab the amount in the next column, but 1 row down? For example, I would
search for region 1, but want to grab the figure in the total loans column
next to Consumer.
Region Loan Type Total Loans
--------- ------------ --------------
Region 1 Commercial 150000
Consumer 75000
Region 2 Commercial 90000
Consumer 145000