Entries tagged [ms_excel]
11
Aug
·
Wed
2010
Biow Tutorial: How to append cell values in Excel, how to add single quote to a list for sql query
Many times during programming, we may need to do some sql query. Be it to insert some pre-loaded values or to retrieve some results.. and we were given a list of names, to find out perhaps their address, title, etc from a table.. what is the easiest way? I find Excel is the solution for me.. here's how to do it.. you may download this file in Excel to better understand my explaination.
| Step1: |
![]() |
| Result: |
![]() |
(2010-08-11 11:05:09 SGT) [biow's tutorial] Permalink
sql
ms_excel
office2003
18
May
·
Tue
2010
Biow Tutorial: How to Find the Number of Days, Months, and Years Between Two Dates in MS Excel Tutorial
Question: How to Find the Number of Days, Months, and Years Between Two Dates in MS Excel?
![]() |
Answer: Assuming your date1 is in cell A1 and date2 in cell A2, type the following in the B1 cell:
=YEAR(A2)-YEAR(A1)-IF(OR(MONTH(A2)<MONTH(A1),AND(MONTH(A2)=MONTH(A1), DAY(A2)<DAY(A1))),1,0)&" years, "&MONTH(A2)-MONTH(A1)+IF(AND(MONTH(A2) <=MONTH(A1),DAY(A2)<DAY(A1)),11,IF(AND(MONTH(A2)<MONTH(A1),DAY(A2) >=DAY(A1)),12,IF(AND(MONTH(A2)>MONTH(A1),DAY(A2)<DAY(A1)),-1)))&" months, " &A2-DATE(YEAR(A2),MONTH(A2)-IF(DAY(A2)<DAY(A1),1,0),DAY(A1))&" days"
See also:
- Set header and footer as an Excel template Tutorial
- Remove duplicate data or records, create list of unique data or records in Excel 2003
- Tutorial: Black and White with some parts colored using Photoshop CS3
- Tutorial: Adding copyright watermark to your images using Photoshop
- Biow Tutorial: Animate series of images with Photoshop CS3
- Tutorial: Reflection effect in PS
- Reference: Photoshop Magnifying Glass Tutorial
- Reference: Add Speech Balloons and Text Bubbles to Your Photos in Photoshop or Elements Tutorial
(2010-05-18 10:52:13 SGT) [biow's tutorial] Permalink
office2003
ms_excel
15
Dec
·
Tue
2009
Biow Tutorial: Set header and footer as an Excel template Tutorial
Question: Each time I launch MS Excel, I want it opened with my personal/customized/preferred formatting?
How can I do that?
Answer: follow the steps below..
Step 1. Launch MS Excel
- Select all cells by clicking on top left corner.
- Change font / font size to your preference
- Optional: delete all other worksheets and left with Sheet1

Step 2. Change settings on Page Setup
- File > Page Setup...

- Settings for Page tab:

- Settings for Margins tab:

- Settings for Header/Footer tab - Header:

- Settings for Header/Footer tab - Footer:

- Let's Print Preview to ensure the final look and feel:

Step 3. Save as default template
- Save As... Book.xlt to folder C:\Program Files\Microsoft Office\Office 11\XLStart\

- Save As... Sheet.xlt to folder C:\Program Files\Microsoft Office\Office 11\XLStart\
This is so that when you need to Insert worksheet, the same preferred formatting will be preserved. In case you can't save to
C:\Program Files\Microsoft Office\Office 11\XLStart\
due to some company's policy, you can save to
C:\Documents and Settings\biow\Application Data\Microsoft\Excel\XLSTART\
where biow should be replaced with user name to Windows.
Step 4. Let's try it
- Close the MS Excel window.
- Launch MS Excel.
- Taa-daa.. your new Worksheet's formatting is as you've set above.
That's it. Great tutorial, ya? keke.. *pat myself*..
See also:
- Remove duplicate data or records, create list of unique data or records in Excel 2003
- Tutorial: Black and White with some parts colored using Photoshop CS3
- Tutorial: Adding copyright watermark to your images using Photoshop
- Biow Tutorial: Animate series of images with Photoshop CS3
- Tutorial: Reflection effect in PS
- Reference: Photoshop Magnifying Glass Tutorial
- Reference: Add Speech Balloons and Text Bubbles to Your Photos in Photoshop or Elements Tutorial
(2009-12-15 15:24:44 SGT) [biow's tutorial] Permalink
office2003
ms_excel
19
Jan
·
Sat
2008
Biow Tutorial: how to print out Excel comments tutorial
Do you have any idea how to print out Excel comments? well I have no freaking idea.. i tried the Excel Help.. sucks.. dunno searching what Microsoft Online help.. so freaking slow.. i googled, and the first result explains all.. so, here it is as public service.. keke.. mabbe i'm the only IT person who do not know until today.. *blush*..
![]() |
Reference:
http://www.contextures.com/xlcomments01.html
(2008-01-19 10:00:00 SGT) [biow's tutorial] Permalink
office2003
ms_excel




