I have a an Excel spread sheet which has external links to csv files with some vlookups of other csv files. I want to conditional format cells based on the value but it's not working. I'm assuming because it's checking the field and seeing the formula not the value the formula gives you...
For example:- A field has =MySheet.csv!$A$1:$A$700 I'd like to look up "wibble" and make the box yellow".
Another one has =IFERROR(VLOOKUP(A:A,MySheet.csv!$B:$D,3,FALSE),"") I'd like to look up "wobble" and make the box orange.
Do you have to make it complicated and refer back to the original source for it to work?
Related
I am trying to highlight cells in column G based off of whether or not the cell contains any of the text strings I have entered into another table, specifically the Pgroup table in Column U. I would like this to become a flexible conditional format based on text strings that can be added to or subtracted from the secondary table based on a project basis. I have tried a couple different ways but to no avail. Any help would be appreciated. I know I can enter another condition for every text string but thought this would be a better alternative since my text strings can change regularly. I am trying to do this with different columns and different reference tables as well but if I can find a way to make it work with one I think it will work with all. Not all will be absolute matches, I'd also like to be able to search for text strings inside of a cell that contains more than just the text string I'm looking for.
My File
Conditional formatting --> New Rule --> Formula -->=SUM(COUNTIF($A2,$P$2:$P$7))
Where A2 is the start of a column to format and P2:P7 is where your values are located.
To format the whole row, set "Applies to" to $A$2:$endOfYourTable
I have a database, where in one column I have the information about if the data was revised or not.
I then have a table that I have built using index/match, to have the data presented as desired.
However, I have tried unsuccessfully to conditionally format the data on the table, so that in case the column "Was revised?" is "Yes", it would show the value in red, as shown below.
Have you ever done anything similar? Did you use a formula in conditional formatting on VBA?
Thank you!
I will suggest converting your data into Excel Tables first. The easiest thing would be using Conditional Formatting in Excel.
However, if you convert your data into Tables, you can write a Macro to highlighted the cells red when the update column says "Yes"
I would be very grateful for help with this conditional formatting problem as I'm terrible with excel but learning.
I have a large data set which I want to count specific OPCS codes (Classification of Interventions and Procedures). The issue is, that in some rows there are multiple OPCS codes that I am searching for and I need to find these rows and then manually decide which is most appropriate so figured highlighting the offending rows would be best.
I previously did this manually by using a simple conditional formatting formula to highlight all the OPCS codes I was interested in, then just scrolled down and made changes. However now I have ~8000 rows which makes this prone to error.
Is it possible for a conditional formatting formula to highlight rows which contains multiple OPCS codes that I am searching for? For reference columns I-U contain the OPCS codes and my lookup OPCS codes I am searching for are in a separate table.
It may be that conditional formatting can't be used for this so alternatives solutions would be much appreciated.
Many thanks!
Spreadsheet image example
I would say this is too complicated to do with a single formula. However, if you are willing to additional 13 columns to your table, can you get the info you need. Let's say you put the first formula in AI2 and fill it across to AU2 and then down to all rows:
=IF(ISERROR(MATCH(I2,$H2:H2,0)),IFERROR(MATCH(I2,TableOfInterestedCodes[OPCS Code Field Name],0),""),"")
This will display only the unique values of any OPCS codes that you are interested in. Now you can apply the conditional formatting formula as follows:
=COUNT($AI2:$AU2)>1
Select the area to be formatted and use the formula shown below (suitably adjusted to your actual layout)
I am trying to find a conditional formatting rule in Excel that will highlight a cell if the header of its field is found in a different cell in that row. I have a data set with several fields including one called 'Failures' which lists the fields in each record that contain values outside of certain parameters. The data is from an outside source, so I do not have the parameters to make individual rules for each field. I want to highlight the cells in each record listed in it's 'Failures' cell. Is there a way to do this?
This is what the data looks like now:
This is what I want it to look like:
Conditional Formating > New rule > Use a formula to determine which cells to format >
=ISNUMBER(SEARCH(A$1,$E2))
Applies to =$A$2:$D$9
This is a excel question:
I have a excel sheet which is heavily formatted, that is, the column widths have been changed and the cells have color formatting. I have filtered this sheet on certain fields. Now, I want to copy this filtered data to another excel sheet with all the formatting.
So for the only way possible seems like to copy the formatting first using paint formatter one by one for each column but that is very tedious. Is there a simple way to do this?
Copy what you want, then paste special three times into your target range: values, columns widths, formats.
Edit: Changed order, putting widths before formats. Otherwise wrapped cells will incorrectly change row height.
To copy the cell values and the formatting use the Camera Tool. This is available on the Command Tab of the customise menu. This Camera Tool copies the cells as a graphic and is dynamic.