Professional Documents
Culture Documents
Some Few Excel Formula
Some Few Excel Formula
SITUATION: I have a column of account names (text) with approximately 3000 rows. I
would like to compare column with another column, and identify (i.e. flag) those account
names that exist in both columns (duplicates).
QUESTION: How do I get Excel to identify (preferably by highlighting) those entries that are listed in BOTH column
#1 AND column #2?
NOTE: The columns do not share the same case (Column #1 is a mixture of small-caps and large-caps, while Column
#2 is all capital letters) - does this matter?
=(COUNTIF($A:$A,B1)=0)*(B1<>"")
Will show all the values that are not common in color, NOTE you will have to choose a
color in FORMAT part before clicking OK
The values that will not be colored in the column A are the values which are common in
the column B
Shade Alternate Rows
The above formula will be put in the select row and column using the format
Conditional Formatting Formula is =(mod(row(),2)=0
Also you have to click on format button to select the pattern of color you want in the
alternative rows.
=sheet2!B3
In the above, Currently I am in sheet1 and then the above will give me the output of
sheet2 column B of the row 3.
=SUM (Sheet1!A3:A7)
In the above the data in sheet 1 having column from A3 to A7 will be added and can be
put at any other sheet , so that the total sum will be the output.
=TODAY()
or
=now()
To insert Fixed Date into a cell
Hold down Ctrl while you press the semicolon ( ; ) key today’s date
To insert the current time (without the date ) press Ctrl-Shift-Semicolon. timestamp
Do not print
Use the hide and unhide to not allow the print of the particular column or row for that
particular print given.
1. Select the cell in which you want to have a drop down list
2. go to Data Validation Setting
3. In validation Criteria select LIST
4. Now in source write the list of data that you want to have in Drop down list
Separated with a comma e.g. Jan,Feb,March,April and press ok.
Add form to the excel sheet
In the above first I had created 3 Option Button for 30 – 33 – 50 , all these value are been
determined by D5 (where you are seeing the number 3).
Just right click on the option button and then click on FORMATE
CONTROL and then click the radio button of VALUE as checked ( this determine that
when ever it is checked the cell will be linked to …) .Also put a cell value over here in
this e.g I have as D5 so the value’s for the option button will be kept over here in D5.
Now in G7 have written a formula = CHOOSE(D5,20,21,35) .This values
are taken as we select the Option Button. In the above since we have select the 3rd option
value 50 so D5 has a value 3 and the chosen value in G7 become 35 (since 3rd value is
been select ).
The same goes for the check box if check box is check when the value in format control
is check and linked to a row , then it while give a result as TRUE or FALSE (is not
checked).