Santosh 的个人资料Santosh Kumar照片日志列表更多 ![]() | 帮助 |
|
|
Excel, Shortcuts for working with formulaOpening paste function window: At any point of time SHIFT+F3 can be pressed to get the paste function window. And a desired function can be selected to work with. Opening formula window: Press CTRL+A, after typing ‘=’ symbol and then the function name, to get the parameter window. For example, press CTRL+A after typing ‘=pmt’ Getting syntax inline: Press CTRL+SHIFT+A, after typing ‘=’ symbol and then the function name, to get the syntax. For example, press CTRL+SHIFT+A after typing =pmt, you will get ‘=pmt(rate,nper,pv,fv,type)’ typed automatically on the cell. »»»»»»» by Santosh Kumar ? Original @ http://santu4you.spaces.live.com Excel, Finding exact date differencesThe following example demonstrates how to find the date difference in terms of years, months and days between two dates. Let us think that you already have first three columns and you want the fourth one. Simply put the formula ‘=DATEDIF(B2,C2,"y") & "y " & DATEDIF(B2,C2,"ym") & "m " & DATEDIF(B2,C2,"md") & "d"’ at cell D2 and copy the same up to D44 EMP_NAME HIRE_DATE DATE_BY EXP_ASON Paolo 27-Aug-1992 9-Sep-2008 16y 0m 13d Pedro 24-Dec-1990 9-Sep-2008 17y 8m 16d Victoria 13-Sep-1990 9-Sep-2008 17y 11m 27d Helen 21-Sep-1989 9-Sep-2008 18y 11m 19d Lesley 13-Feb-1991 9-Sep-2008 17y 6m 27d Roland 5-Sep-1991 9-Sep-2008 17y 0m 4d Rita 9-Oct-1993 9-Sep-2008 14y 11m 0d Helvetius 19-Mar-1993 9-Sep-2008 15y 5m 21d Timothy 19-Jun-1988 9-Sep-2008 20y 2m 21d Sven 5-Apr-1991 9-Sep-2008 17y 5m 4d Miguel 7-Dec-1992 9-Sep-2008 15y 9m 2d Paula 19-Jan-1994 9-Sep-2008 14y 7m 21d Manuel 9-Jan-1989 9-Sep-2008 19y 8m 0d Howard 19-Nov-1988 9-Sep-2008 19y 9m 21d Martin 13-Apr-1990 9-Sep-2008 18y 4m 27d Gary 9-Aug-1988 9-Sep-2008 20y 1m 0d Daniel 1-Jan-1990 9-Sep-2008 18y 8m 8d »»»»»»» by Santosh Kumar ? Original @ http://santu4you.spaces.live.com Excel, Automating a Trial Balance Excel, Searching tipsMicrosoft Office, other office suits may also be, is bounded with a bunch of exciting features; that can make almost of official work happen within itself. Imagine a requirement where you are supposed to find those records, which contains a particular word anywhere in any field. These requirement may exit where address like of field are concerned e.g. M.G. word can be a road, street, area, district or anything else. Think of the following table, oracle gives it by default as SCOTT.EMP; I have modified a bit. S# EMP# NAME JOB HIREDATE SAL DEPTNO 1 7730 CLARK MANAGER 09-Jun-81 2450 10 2 7369 SMITH CLERK 17-Dec-80 800 20 3 7499 ALLEN SALESMAN 20-Feb-81 1600 30 4 7521 WARD SALESMAN 22-Feb-81 1250 30 5 7566 JONES MANAGER 02-Apr-81 2975 20 6 7654 MARTIN SALESMAN 28-Sep-81 1250 30 7 7698 BLAKE MANAGER 01-May-81 2850 30 8 7788 SCOTT ANALYST 19-Apr-87 3000 20 9 7839 KING PRESIDENT 17-Nov-81 5000 10 10 7844 TURNER SALESMAN 08-Sep-81 1500 30 11 7876 ADAMS CLERK 23-May-87 1100 20 12 7900 JAMES CLERK 03-Dec-81 950 30 13 7902 FORD ANALYST 03-Dec-81 3000 20 14 7934 MILLER CLERK 23-Jan-82 1300 10 Now, I want to search those records that contain 30 in it, anywhere. And they are rec#1(emp#), rec#3(deptno), rec#4(deptno), rec#6(deptno), rec#7(deptno), rec#8(sal), rec#10(deptno), rec#12(deptno), rec#13(sal), rec#14(sal). Now add a field FOUND to the right of DEPTNO and in cell H2, put a formula i.e. =IF(ISERROR(SEARCH("30",C3&D3&E3&F3&G3&H3)),"N","Y"). Using autofill feature copy the formula to rest of the cells in range H3 to H15. It now look like this. S# EMP# NAME JOB HIREDATE SAL DEPTNO FOUND 1 7730 CLARK MANAGER 09-Jun-81 2450 10 Y 2 7369 SMITH CLERK 17-Dec-80 800 20 N 3 7499 ALLEN SALESMAN 20-Feb-81 1600 30 Y 4 7521 WARD SALESMAN 22-Feb-81 1250 30 Y 5 7566 JONES MANAGER 02-Apr-81 2975 20 N 6 7654 MARTIN SALESMAN 28-Sep-81 1250 30 Y 7 7698 BLAKE MANAGER 01-May-81 2850 30 Y 8 7788 SCOTT ANALYST 19-Apr-87 3000 20 Y 9 7839 KING PRESIDENT 17-Nov-81 5000 10 N 10 7844 TURNER SALESMAN 08-Sep-81 1500 30 Y 11 7876 ADAMS CLERK 23-May-87 1100 20 N 12 7900 JAMES CLERK 03-Dec-81 950 30 Y 13 7902 FORD ANALYST 03-Dec-81 3000 20 Y 14 7934 MILLER CLERK 23-Jan-82 1300 10 Y Now it is up to you. If want to use autofilter, go ahead! By using the autofilter option you can filter for FOUND? field where it is Y. That’s all. »»»»»»» by Santosh Kumar ? Original @ http://santu4you.spaces.live.com Excel, The best keyboard shortcuts
»»»»»»» by Santosh Kumar ? Original @ http://santu4you.spaces.live.com |
|
|