Using H-lookups in excel - excel

I am searching through 1000's of lines of data and I'm looking for specific info in these cells and if it appears id like the end cell to have a tick in or turn red and ect. for easy distinguish.
So in short what I am looking for would be
All Selected cells
if (all cell a-z Contain "Admin"){
Tick cell AA
}

You should check for Admin inside a concatenation of the cells A1:Z1. This concatenation is achieved via A1&B1&C1&...&X1&Y1&Z1. So, for example, in cell AA1, enter
=IF(ISERROR(FIND("Admin",A1&B1&C1&...&X1&Y1&Z1)),"not found","found")
where you replace ... with the remaining cells in the range.

I have worked out a solution to the range issue instead of highlighting all of the cells
=IF(ISERROR(HLOOKUP("admin",A5:G5,1)),"NOT FOUND","FOUND")
Hope this helps anyone else out there.

One way of doing this is as follows. In the cell you want the indicator have the following code, and assuming that you are looking for the value a - replace "a" with the value you are looking for.
=COUNTIF(D8:I8,"a")
You can then use conditional formating that says if the cell is > 0 then turn it red, or have an adjacent field that has a conditional format to put in a traffic light, tick mark, whatever and hide the previous field.
Hope this helps

Related

Excel Formula To Check If Values Are Present Otherwise Display Nothing - Also using conditional formatting

I am trying to use a formula that checks to see if there is a date in cells E9, F9, or G9, and if so, I want it to display the word "Open" without the parenthesis, in cell J9. Otherwise, if there is nothing in any of those 3 cells, I want J9 to display nothing at all.
The other half of the formula needs to check the same cells, and if there is a date in all 3, I want J9 to display "Done", without the parenthesis. So far, I have:
=IF(ISBLANK(E9:G9),"",IF(OR(ISBLANK(F9), ISBLANK(G9)),"Open","Done"))
This works, BUT, it also outputs the word "Done" in cells K9 and L9. I don't need these. How can I output ONLY to J9?
Here's a visual:
enter image description here
There must be the same / similar formula in cells K9 and L9. Just delete them.
I found a way!!
=IF(COUNT(E9:G9)=0,"",IF(OR(ISBLANK(E9), ISBLANK(F9), ISBLANK(G9)),"Open","Done"))
Can anyone else provide an easier way?

Excel Formula If Cell Contains String

I'm currently working in excel, and I'm trying to figure out a way to find if multiple cells contain the string value of another cell, and if it does highlight the cell where the row and column meet up. I created an example of what I want, only it will be on a much larger scale.
I've tried using: =ISNUMBER(SEARCH(substring,text)) but I'm not quite sure how to use it the way I want to.
Any help will be appreciated!
Your approach is correct, we can use the fact that conditional formatting is applied like dragging a formula, adapting relative references.
Create a conditional formatting formula rule:
=ISNUMBER(SEARCH(B$1,$A2))
Applied to B2:D7
Your formula will work nicely; what you'll want to do is put that formula into all the cells you want to highlight, so you get FALSE and TRUE in every cell.
You'll then use two Conditional Formatting rules. The first will look for Cell Value = TRUE, and will set cell background and font colour to yellow. The second will look for Cell Value = FALSE, and will set cell background to No Colour and Font to White.
This will reproduce the result you're looking for.
Edited to add:
It is possible to do this using just Conditional Formatting too, but it's a little more fiddly. If you want to try it, you can do this:
Highlight your range, and take note of which cell is Active - that's the cell within your highlighted range that is still white. It's also the one whose address is shown in the Name box in the upper left. For the sake of this answer, we'll assume that's B2
Create a new Conditional Formatting rule. Choose "Use a formula to determine which cells to format".
Use the formula =ISNUMBER(SEARCH(B$1,$A2). Set the format to colour just the cell background.
Note where the $ appears in the formula above - you want to leave the row number anchored in the first part, and the column letter anchored in the second part.
This takes advantage of the fact that Conditional Formatting is able to use absolute, relative, and mixed references to find which cells to format. It's also a tidier solution, but it can be harder to maintain if the sheet is ever repurposed or modified.

Excel Highlight one row based on another

I am trying to compare one row with another: IF the cells in Row 1 is equal to Row 2, THEN I must have highlighting. I've tried 100 methods for over an hour now. The problem is that Excel keeps the formula the same across the row!! the formula needs to change, meaning: I am NOT trying to highlight the whole row based on just the first cell, the cell needs to dynamically change. First cell to first cell, 2nd to 2nd, etc.
The circled words need to be highlighted.
Sorry to ensure everyone is clear on the requirement, here is my requirement:
The solution, as a brilliant guy below mentioned, was a stupid $ sign.
If you want the circled words to be highlighted, the "Applies To" field should be "=$A$10,$E$10" - to see what rules are being applied in those cells, they need to be part of the current selection or you need to change the selection in "Show Formatting Rules For" to "This Worksheet."
If you want the comparison to not be absolute, remove the dollar signs.
Also consider adding TRIM() around A9 and A10 in the formula if you don't want stray spaces to lead to a detection of a difference.
change the Formula to = A10 = A9 (or just remove the $'s in yours) and Applies To =$A$10:$E$10

Excel Conditional Formatting: Highlight cells if not equal

I ran into a problem, where i want to highlight certain cells based on the input from another cell. Here is my quick example of what I would like to achive:
Highlight A1:A2 IF B1 does NOT contain the word "Reactor"
This is what is used and it did not work:
=IF(B1<>(search("Reactor",B1),"",""))
Any ideas how to overcome this little problem?Thank you!
A1 will be highlighted when:
=NOT(IFERROR(SEARCH("reactor",B1)>0,FALSE))
Probably this can be written in more beautiful way... But it works..
If you want more than one cell (A1:A2) to be triggered by a single cell (B1) you should anchor B1 (here B$1).
Since if SEARCH fails it will respond with an error, you should be able to apply:
=ISERROR(SEARCH("Reactor",B$1))
having selected A1:A2 first (or making that your Applies to range).

How to make a cell register if there is text in two other cells in Google spreadsheet

I have a spreadsheet (Google spreadsheet) where I register information about employee´s education. In the bottom of each column (every employee is represented by a column) I want the cell to display "Yes" if there is text in two other specified cells. (Not if there is text in only one of them, or none of them.)
I have tried all kinds of combinations using AND and IF and NOTBLANK, but I probably have the wrong syntax, or use the functions wrong.
So what I need help to understand is if there is text in cell B3 and in cell B34, how can I create a formula that displays the text "Yes" in cell B38?
Please try:
=if(and(not(isblank(B3));not(isblank(B34)));"Yes";"No")
This may cover a wider range of possibilities than you require but it is usually easeir to trim back than to expand. For example, If either B3 or B34 is empty, this formula returns No, rather than nothing at all (but the No is not obligatory) and the "text" in B3 and B34 can be either alpha or numeric, or a mixture.
Please try this, it works:
=IF(OR(ISBLANK(B3),ISBLANK(B34),NOT(ISTEXT(B3)),NOT(ISTEXT(B34))),"No","Yes")
Logic:
If any of Cell B3 or B34 is blank or contains Non-Text value is returns "No". It just returns "Yes" only if both the cells have a "Text" value.
More short and powerful Formula as per your requirement is as follows:
=IF(AND(ISTEXT(B3),ISTEXT(B34)),"Yes","No")

Resources