Excel Worksheets
To combine First Name, Last Name and Email Address
=A1&" "&B1&" "&"; "&C1
To write phone number format
Select column->number format go to custom type +92
0000000 and then ok.
Adding Date in Excel
o Current date -> =TODAY()
o Current date with Time -> =NOW()
o To check which one is day 5/9/2003 -> =DAY(B1)
o To check which one is month 5/9/2003 -> =MONTH(B2)
o To combine rows of day, month, year -> =DATE(C3,C2,C1)
o Date after 5 days of this date 5/9/2003 -> =B6+5
o Date before 5 days of this date 5/9/2003 -> =B6-5
o To add months in a specific date -> =EDATE(B8,10) here
10 is months which we want to add.
o To subtract months in a specific date -> =EDATE(B8,-10)
here 10 is months which we want to add.
o Date+10years -> =DATE(YEAR(A1)+10, MONTH(A1),
DAY(A1))
o To calculate working days of start and end date ->
=NETWORKDAYS(A1,A2)
o To calculate working days of start and end date excluding
holidays -> then select column of labor days etc along
with this formula =NETWORKDAYS(A1,A2)
o To calculate international weekdays ->
=NETWORKDAYS.INTL(A1,A2,4)
o To convert date into different formats select row/column
->right click -> format cells -> select any one of your
choice.
Calculating Age in Excel
3/22/2004 -> 7/24/2025
o To show age in years use formula =DATEDIF(A1,B1,"y")
o To show age in months use formula
=DATEDIF(A1,B1,"m")
o To show age in days use formula =DATEDIF(A1,B1,"d")
How to compare columns?
o To check duplicate values in 2 columns select 2 columns
go to Conditional Formatting -> Highlight cell rules ->
Duplicate Values.
o 2nd method to check -> =A1=B1
o 3rd method to check -> =IF(A1=B1,"1","0")
o 4th method (to check 2nd column’s specific row value with
whole 1st column) -> =VLOOKUP(B1,A1:A9,1,FALSE)
o To show specific error message while checking ->
=IFERROR(VLOOKUP(B1,A1:A9,1,FALSE),"Not Found")
o How to calculate time difference?
o To get current time press -> CTRL + SHIFT + ;
o To check hours spend -> =B2-C2 (ending time - starting
time)
o DAX
o Go to Data -> Manage Data Model -> Get external data ->
Press Other Sources -> Excel File -> Browse
o To find retirement date in pivot table -> =EDATE(Sheet2[F4],12*65)
o Checkbox
o Developer -> Insert -> CheckBox
o Right click on checkbox cell -> Format control -> click on
cell link box and then select cell of next column’cell which
is in front of check box. -> click ok. This is done to make
sure the values are true or false because to get info the
cell is checked or not?
o How to insert excel in ppt?
o Insert->Text Folder->Object->Create from File->Browse->
You can display as an icon or as a link or both.
Double click on this icon. it will redirect you to the specific file.
o How to insert image in excel?
o Insert->Picture->adjust according to the cell.
o To hide pic along with the text, select pic-> format
picture->size & properties->properties->select move and
size with cells. Now if you want to hide then right click on
that specific cell and click hide. Now it will be
disappeared.
o How to insert pdf/ppt in excel?
o Insert->Text->Object->Create From File->Browse->Display
as icon or link->Double click to open.
o Another way is to insert pic then right click on the picture
click on link and browse for that specific file you want to
link then ok.
o How to convert pdf to excel?
o Go to data tool -> Get Data -> From File -> browse->select
all items->select ->load->right click on specific
table/sheet->load to-> data.
o How to insert Tick marks in excel?
o Method 1
o Click on cell->conditional formatting->new rule->format
style : select Icon Sets -> select icon style
o To show above signs use IF formula -> =IF(C1="Done",1,0)
o If you want to display icons only then select cell go to
conditional formatting manage rules then double click on
icons and select check box of show icons only then click
ok.
o Method 2
o Go to developer options -> insert-> checkbox
o How to insert water marks in excel?
o Insert tool bar->Text->Header & Footer ->select blink
area->Picture->From a file-browse -> select any cell
picture will be displayed. To adjust picture size go to
format picture and resize it.
o Go to view->normal to come back to the original view.
o Water mark doesn’t show in normal mode. When we
want to print that page then watermark will be shown.
o How to set cell size in excel?
o If you have large data -> ctrl + A -> Home -> cells ->
format -> Autofit Row height & Autofit Column width.
o Other method is to use Combination key 1st select all
ctrl+A -> Alt+H+O+I -> 2nd ctrl+A -> Alt+H+O+A
o How to create Barcode in excel?
o First take numbers in a column for example 1294783 then
select all column values or column A etc then Home->
General -> Select Text -> Now all numbers are converted
to text.
o To show barcodes select column B -> go to fonts select
barcode.
o To show numbers inside brackets or stars use formula ->
="*"&A1&"*" or ="("&A1&")"
o Excel Flash Fill
o To use excel flash fill press control + E on empty data cell
then the data will be filled.
o Another method is to press the dot which is shown on
right bottom and drag it down then the plus box is shown
along with It press it and select flash fill it will
automatically fill out correct values.