IF Cell A1 = Yes then Fill Red Color in B1 - excel-2007

I have a worksheet in Excel-2007
If Cell A1 has a value of 'Yes' in it then I want the Cell B1 to be filled in red color (irrespective of the content in Cell B1).

About conditional formats.
Expand Formulas as formatting criteria, then expand Example 3.
Example workbook is available.

Select B1, HOME > Styles - Conditional Formatting, New Rule...
Use a formula to determine which cells to format
Format values where this formula is true:
=A1="YES"
Format..., select red, OK, OK.

Related

How to fill empty cells with values from upper non empty cell in libreoffice calc without using macro/coding

I want to fill empty cells with value from upper non-empty cells, ms excel have ctrl+d for doing that. but i want one step further I want to do multi hop ctrl+d.
For Example
A1, A3, A9, A25, A28 have some value and all other cells of column A are empty I want to fill cell A2 with value of A1,cells A4 to A8 with value of A3,cells A10 to A25 with value A9,cells A26 to A27 with value of A25
Other columns also have such empty cells and I want to fill them like I want for column A.
Folowing are images of sample excel:
I can fill the empty cells by grading cell down for each hop.
For given example I can fill cells by dragging down A1, A3, A9, A25, A28 each.
But I want to do that in one go because I have this type of empty cells and filled cells in between empty cell in thousands.
how can I do that?
Assuming the 1st table content is in A1:C15, put :
=IF(A2="",E1,A2) in E2
=IF(B2="",F1,B2) in F1
=IF(C2="",G1,C2) in G1
and drag downwards..
Hope it solves..
You might like this trick
Just use simple formula and Ctrl+Shift+V (Paste Special - Skip Empty Cells)

Conditional formatting to show date task completed is in/out of target with icons

apologies for asking a basic question.
If cell A2 contains the dates a task should be completed by, and cell B2 contains the actual date completed.
Can the icons be used to show a green tick next to the date (in B2) if it is = or < A2 or a Red Cross if it's > than A2?
Many thanks
IMO not exactly a 'basic' Q. One solution, that does not use icon sets but attempts to mimic them, is to place in C1 and copy down to suit:
=IF(AND(A1<>"",B1<A1),CHAR(252),IF(A1<>"",CHAR(251),""))
then clear any existing CF, select ColumnC, choose Windings as font and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=C1=CHAR(251)
Format..., select red font OK, OK.

Excel formula to translate text in one column and show result in another column

I am using Excel 2016 and have text in another language in column A (currently French but could be another in another spreadsheet) and I want to put a formula in e.g. cell B1 which will translate cell A1 and show the result in B1. I then want to drag the formula down (if possible) so then this formula translates each cell in column and puts the result in the corresponding cell in column B e.g. B2 will have the translation in English for A2 and B3 will have the translation for A3 and so on...
Is this possible?
To answer your question:
"Yes"
...it is definitely possible.

Using conditional formatting in excel, I want to highlight the value in the range if matches with value given in cell B1

Using conditional formatting in excel, I want to highlight the value in the range if matches with value given in cell B1.
Assuming the relevant range is as in example, select A1:A10 and HOME > Styles - Conditional Formatting, New Rule..., Use a formula to determine which cells to format and Format values where this formula is true::
=A1=B$1
Format..., select choice of formatting, OK, OK.

How do percentages get calculated in LibreOffice?

Cell A1 contains value 0.974, and cell A2 contains formula =A1.
Formatting for cell A1 is a number like -1234.123, and formatting for cell A2 is a percent like -12.95%.
The result shown in A2 is 97.35%.
How is that being calculated? And how do I convert that calculation to SQL?
I'm guessing that the actual value of cell A1 is something like 0.9735. You can see the actual value by selecting the cell and looking in the formula bar. Then it shows 0.974 when formatted to 3 decimal places, and cell A2 shows 97.35% as you said.
It sounds like it is simply rounding the value in cell A1 to the nearest 3 decimal places. To do this in SQL, use the ROUND function.