google search

Embed Size (px)

DESCRIPTION

how google search works

Citation preview

  • -2 1 52.98 2 6

    3 19 3 7452 ABS Max4 CEILING Min6 FACT Median

    2.95 FLOOR 3 RANK( number, array, [order] )4 MOD 1

    1024 POWER stddev19.335317 RAND()*(b-a)+a 5 LARGE( array, nth_position )0.264155 -4 INTERCEPT( known_y_values, known_x_values )

    5 RANDBETWEEN( bottom, top ) COUNTIF( range, criteria )3 ROUND( number, digits ) COUNT( argument1, [argument2, ... argument_n] )0 AVERAGE( number1, [number2], ... [number_n] )

    Err:502 SQRT( number ) Statistical Functions1.732051

    SUMIF( range, criteria, [sum_range] )2.9 TRUNC( number, [digits] )

    Math functions

    CONCATENATE( text1, text2, ... text_n )EXACT( text1, text2 )FIND( substring, string, [start_position] )FIXED( number, [decimal_places], [no_commas] )LEFT( text, [number_of_characters] )LOWER( text )

    REPLACE( old_text, start, number_of_chars, new_text )

    SEARCH( substring, string, [start_position] )SUBSTITUTE( text, old_text, new_text, [nth_appearance] )TRIM( text )UPPER( text )

  • LOOKUP( value, lookup_range, [result_range] )HLOOKUP( value, table, index_number, [approximate_match] )VLOOKUP( value, table, index_number, [approximate_match] )INDEX( array, row_number, [column_number] )MATCH( value, array, [match_type] )OFFSET( range, rows, columns, [height], [width] )ADDRESS( row, column, [ref_type], [ref_style], [sheet_name] )

    TEXT FUNCTIONS

    LOOKUP / REFERENCE FUNCTIONS

  • 111

    AND( condition1, [condition2], ... )IF( condition, [value_if_true], [value_if_false] )NOT( logical_value )

    RANK( number, array, [order] ) OR( condition1, [condition2, ... condition_n] )LOGICAL functions

    7 BIN2DEC( binary_number )LARGE( array, nth_position ) BIN2HEX( binary_number, [places] )INTERCEPT( known_y_values, known_x_values ) 007 BIN2OCT( binary_number, [places] )COUNTIF( range, criteria ) CONVERT( number, from_units, to_units )COUNT( argument1, [argument2, ... argument_n] ) other functionsAVERAGE( number1, [number2], ... [number_n] )

    Statistical Functions

    DATE( year, month, day )DAY( date_value )Hour( serial_number )MINUTE( serial_number )MONTH( date_value )NOW()TODAY()

    DATE / TIME FUNCTIONS

  • CONVERT( number, from_units, to_units )

  • Imagine the case of the result of a football match. You want to display Win or Lose when the team in column A has a better result than the team in column D

    Team Result Result Team ResultAAA 2 0 DDD WinBBB 1 1 EEE TieFFF 3 1 RRR WinHHH 1 0 JJJ Win

    In column E, you have the average result for each students for an exam. In column F, write a function which returns if students Pass or Fail if the average mark is greater or equal than 10.

    Student Course 1 Course 2 Course 3 Average ResultLuc 8 15 9 10.67 AcceptedEstelle 4 15 16 11.67 AcceptedLaurent 11 6 8 8.33 FailPaul 17 16 3 12 Good enoughLa 17 18 10 15 GoodMurielle 6 5 13 8 FailThierry 18 19 15 17.33 All right

  • Imagine the case of the result of a football match. You want to display Win or Lose when the team in column A has a better result than the team in column D

    In column E, you have the average result for each students for an exam. In column F, write a function which returns if students Pass or Fail if the average mark is greater or equal than 10.

  • Imagine the case of the result of a football match. You want to display Win or Lose when the team in column A has a better result than the team in column D

    In column E, you have the average result for each students for an exam. In column F, write a function which returns if students Pass or Fail if the average mark is greater or equal than 10.

  • Name Firstname Genre Income Situation Children ResultJANJUAH Bob Man 20000 Relationship 0 0SARA Sumit Man 80000 Married 1 1CHAMPNEY Robert Man 67000 Married 0 0JONAS Lee Man 35000 Relationship 0 0SAMEN Michael Man 77000 Single 0 0SATAKE Kaori Man 70000 Married 3 0LEON Fernando Man 23000 Single 3 0BYERLY Kimberly Woman 97000 Relationship 1 0WARNER Norris Man 26000 Divorced 3 0GAUDEFROY Marie-Claire Woman 89000 Relationship 0 0CHAPMan Mathew Woman 77000 Single 2 0SIMPSON Aubrey Man 34000 Divorced 0 0FORDYCE David Man 61000 Relationship 2 0TORTELLI Olavo Woman 27000 Single 0 0ADCOCK David Woman 72000 Divorced 3 0CONTAT Thibault Man 85000 Relationship 1 0ZIZZARI Stephen Woman 84000 Single 3 0FREYERMUTH Jean-Luc Man 50000 Single 2 0JONES David Man 31000 Single 0 0

  • Question 1: How many clients are married with one childQuestion 2: How many clients are single or divorcedQuestion 3: How many clients are married with an income above 75,000Question 4: How many clients are male, unmarried and without childrenQuestion 5: How many clients are women with 1 or 2 children.

    The answer for the question 1 is:=IF(AND(E2="Married",F2=1),1,0)The answer for the question 2 is:=IF(OR(E2="Single",E2="Divorced"),1,0)The answer for the question 3 is:=IF(AND(E2="Married",D2>75000),1,0)The answer for the question 4 is:=IF(AND(C2="Man";E2="Single";F2=0);1;0)The answer for the question 5 is:=IF(AND(C2="Woman";OR(F2=1;F2=2));1;0)The answer for the question 6 is:=IF(AND(D2>=50000;F2>=2;OR(E2="Married";E2="relationship"));1;0)

  • Question 1: How many clients are married with one childQuestion 2: How many clients are single or divorcedQuestion 3: How many clients are married with an income above 75,000Question 4: How many clients are male, unmarried and without childrenQuestion 5: How many clients are women with 1 or 2 children.

  • The answer for the question 1 is:=IF(AND(E2="Married",F2=1),1,0)The answer for the question 2 is:=IF(OR(E2="Single",E2="Divorced"),1,0)The answer for the question 3 is:=IF(OR(E2="Married",D2>75000),1,0)The answer for the question 4 is:=IF(AND(C2="Man";E2="Single";F2=0);1;0)The answer for the question 5 is:=IF(AND(C2="Woman";OR(F2=1;F2=2));1;0)The answer for the question 6 is:=IF(AND(D2>=50000;F2>=2;OR(E2="Married";E2="relationship"));1;0)

  • The answer for the question 1 is:=IF(AND(E2="Married",F2=1),1,0)The answer for the question 2 is:=IF(OR(E2="Single",E2="Divorced"),1,0)The answer for the question 3 is:=IF(OR(E2="Married",D2>75000),1,0)The answer for the question 4 is:=IF(AND(C2="Man";E2="Single";F2=0);1;0)The answer for the question 5 is:=IF(AND(C2="Woman";OR(F2=1;F2=2));1;0)The answer for the question 6 is:=IF(AND(D2>=50000;F2>=2;OR(E2="Married";E2="relationship"));1;0)

  • Alpha Alphabet CONCATENATE( text1, text2, ... text_n )betLovely Professional University UPPER( text )

    LOVELY PROFESSIONAL UNIVERSITYLOWER( text )

    lovely professional university

    Alphabet goal REPLACE( old_text, start, number_of_chars, new_text )betabet goalAlph1234et goal

    Alpha LEFT( text, [number_of_characters] )

    0 EXACT( text1, text2 )1

    1 FIND( substring, string, [start_position] )#VALUE!

    12000.3612000.4 FIXED( number, [decimal_places], [no_commas] )12,000.3652.13

    6 SEARCH( substring, string, [start_position] )66

    Alphacon g SUBSTITUTE( text, old_text, new_text, [nth_appearance] )alphabetalphabet alphaconalphabet

    alphabetalphacon

    alphabet TRIM( text )alphabet

  • REPLACE( old_text, start, number_of_chars, new_text )

    FIXED( number, [decimal_places], [no_commas] )

    SUBSTITUTE( text, old_text, new_text, [nth_appearance] )

  • 20128 8/31/2012 DATE( year, month, day )

    31

    31 DAY( date_value )

    4 Hour( serial_number )16

    80 MINUTE( serial_number )30

    302/28/2016 8:30 NOW()

    37 SECOND( serial_number )24

    3 3:30 AM TIME( hour, minute, second )3037

    2/28/2016 TODAY()

    2 MONTH( date_value )

  • DATE( year, month, day )

    DAY( date_value )

    Hour( serial_number )

    MINUTE( serial_number )

    SECOND( serial_number )

    TIME( hour, minute, second )

    MONTH( date_value )

  • year is leap year or not ?Date Leap Year

    3/15/1998 0 False9/20/2012 15/12/2013 0

  • OrderID Product Unit Price Quantity10247 Apples 14 12 18.610249 Oranges 9.8 10 1025110250 Bananas 34.8 5 Grapes10251 Pears 18.6 910252 Grapes 42.3 40

    reference ManufacturModel ValueCB2 3A 3ACB10 Text1CB19 Text2CB20 Text3

    reference ManufacturModel ValueCB10 Text1 3ACB19 Text2CB2 3ACB20 Text3

    3A

    In Microsoft Excel, we have a table of data in cells A2:D5. we have tried to create a simple LOOKUP to find CB2 in the data, but it always returns 0. What are we doing wrong?

  • LOOKUP( value, lookup_range, [result_range] )

    using Vlookup

    LOOKUP function returns a value from a range (one row or one column) or from an array

  • VLOOKUP( value, table, index_number, [approximate_match] )

  • VLOOKUP( value, table, index_number, [approximate_match] )

  • OrderID Product Unit Price Quantity10247 Apples 14 12 1410249 Oranges 9.8 10 12 VLOOKUP( value, table, index_number, [approximate_match] )10250 Bananas 34.8 5 34.810251 Pears 18.6 910252 Grapes 42.3 40

    ApplesOrangesBananasPearsGrapes

    OrderID 10247 10249 10250 10251 10252Product Apples Oranges Bananas Pears GrapesUnit Price 14 9.8 34.8 18.6 42.3

    Apples

    The VLOOKUP function performs a vertical lookup by searching for a value in the first column of atableand returning the value in the same row in theindex_numberposition.

  • VLOOKUP( value, table, index_number, [approximate_match] )

    HLOOKUP( value, table, index_number, [approximate_match] )

    The VLOOKUP function performs a vertical lookup by searching for a value in the first column of atableand returning the value in the same row in theindex_numberposition.

    HLOOKUP function performs a horizontal lookup by searching for a value in the top row of thetableand returning the value in the same column based on theindex_number

  • Student Course 1 Course 2 Course 3 Average ResultLuc 8 15 9 10.67 Fill your formula hereEstelle 4 15 16 11.67Laurent 11 6 8 8.33Paul 17 16 3 12La 17 18 10 15Murielle 6 5 13 8Thierry 18 19 15 17.33

    Pass0 Fail Pass

    10 Pass #N/A12 Good #N/A14 Very Good #N/A16 Excellent

    commision tableVolume percentage Name Car sales Commission

    0 0% a 1510 5% b 2020 10% c 1925 15% d 230 20%

  • 0 Fail10 Pass ISO Code HU12 Good Currency n Forint14 Very Good16 Excellent ISO Code Country N

    PL PolandHU HungarySK Slovakia

    Pass AT AustriaPass DE GermanyFail SI SloveniaGood FR FranceVery Good IT ItaliaFail HR CroatiaExcellent CH Switzerland

    CZ Czech Repu

    Commission

    0.050.1

    0.050

  • Currency Parity0.24

    Forint 0.0037Euro 1Euro 1Euro 1Euro 1Euro 1Euro 1kuna 0.14Franc Suiss 0.6612Czech koru 0.039

    Zloty

  • year Value criteria2000 1 2000 SUMIF( range, criteria, [sum_range] )2003 2 2 COUNTIF( range, criteria )2004 3 0 32001 4 15 32000 5 6

    Value RANK( number, array, [order] )10.5 5 200

    7.2 1 8.1200 5 LARGE( array, nth_position )5.4 2.333452 STDEV( number1, [number2, ... number_n] )8.1 110.3728

    COUNT( argument1, [argument2, ... argument_n] )32 512 5

    123 689

    -12

    y Value X value INTERCEPT( known_y_values, known_x_values )5 12 25

    10 9 -915 620 3

    www.lpu.in

  • SUMIF( range, criteria, [sum_range] )COUNTIF( range, criteria )

    AVERAGE( number1, [number2], ... [number_n] )

    RANK( number, array, [order] )

    LARGE( array, nth_position )STDEV( number1, [number2, ... number_n] )

    COUNT( argument1, [argument2, ... argument_n] )

    INTERCEPT( known_y_values, known_x_values )

  • OrderID Product Unit Price Quantity total cost10247 Apples 14 12 168 INDEX( array, row_number, [column_number] )10249 Oranges 9.8 10 9810250 Bananas 34.8 5 17410251 Pears 18.6 9 167.4 Bananas10252 Grapes 42.3 40 1692

    Bananas40

    5 MATCH( value, array, [match_type] )#N/A

    lookup valuresult FruitPears 2 applespears 2 pearspeaches 3 peaches lookup valugrapes 4 grapes Pears???? #N/A lemon pearsstrawberrie #N/A peaches peaches

    #N/A kiwi grapes????strawberrie

  • find the missing values Count Matchinvoice amount invoice Found

    10023 100 10024 OK OK10024 200 10025 Missing #N/A10028 300 10027 OK OK10026 40010027 500

  • INDEX( array, row_number, [column_number] )

    MATCH( value, array, [match_type] )

    result2111

    #N/A#N/A#N/A

    INDEX function returns either the value or the reference to a value from a table or range. There are 2 syntaxes for the INDEX function

    MATCH function searches for a value in an array and returns the relative position of that item.

  • Vlookup

    ok#N/A

    ok

  • Product Unit Price Quantity Cost Total sales tax 7.50%Apples 14 12 168 12.6 840Oranges 9.8 10 98 7.35 490Bananas 34.8 5 174 13.05 870Pears 18.6 9 167.4 12.555 837Grapes 42.3 40 1692 126.9 8460

    0$E$4 0 $E$4 #VALUE!E$4 0 0E4 0 0$E$4 0 0R4C5 0

  • 500

    #VALUE!00

    There are two types of cell references:relativeandabsolute. Relative and absolute references behave differently when copied and filled to other cells. Relative referenceschangewhen a formula is copied to another cell. Absolute references, on the other hand, remainconstant, no matter where they are copied.

    There may be times when you do not want a cell reference to change when filling cells. Unlike relative references, absolute references do not change when copied or filled. You can use an absolute reference to keep a row and/or column constant.

  • There are two types of cell references:relativeandabsolute. Relative and absolute references behave differently when copied and filled to other cells. Relative referenceschangewhen a formula is copied to another cell. Absolute references, on the other hand, remainconstant, no matter where they are copied.

    There may be times when you do not want a cell reference to change when filling cells. Unlike relative references, absolute references do not change when copied or filled. You can use an absolute reference to keep a row and/or column constant.

  • 30 AND( condition1, [condition2], ... )University 0

    11

    larger IF( condition, [value_if_true], [value_if_false] )equal

    121 OR( condition1, [condition2, ... condition_n] )00 NOT( logical_value )

    662.79 663 ROUND( number, digits )54.1 662.8

    50-23.7

    1 4 RANDBETWEEN( bottom, top )5 147

    4.830685 RAND()*(b-a)+a155

  • AND( condition1, [condition2], ... )

    IF( condition, [value_if_true], [value_if_false] )

    OR( condition1, [condition2, ... condition_n] )

  • 111 7 BIN2DEC( binary_number )1011 11

    B BIN2HEX( binary_number)003B013 BIN2OCT( binary_number)

    245 2 CONVERT( number, from_units, to_units )2 60

    Value

    "m" Meter

    "mi" Mile

    "Nmi"

    "in" Inch

    "ft" Foot

    "yd" Yard

    "ang"

    "pica" Pica

    "g" Gram

    "sg" Slug

    "lbm" Pound

    Measurement Unit

    Measurement Type

    Length/Distance

    Length/Distance

    Nautical mile

    Length/Distance

    Length/Distance

    Length/Distance

    Length/Distance

    Angstrom

    Length/Distance

    Length/Distance

    Weight/MassWeight/MassWeight/Mass

  • "u"

    "ozm" Ounce

    "yr" Year Time"day" Day Time"hr" Hour Time"mn" Minute Time

    "sec" Second Time

    Celsius

    Kelvin

    "tsp"

    "tbs"

    "oz"

    "cup" Cup

    US pint

    "uk_pt" UK pint

    "qt" Quart

    "gal" Gallon

    Atomic unit

    Weight/MassWeight/Mass

    "C" or "cel"

    Temperature

    "F" or "fah"

    Fahrenheit

    Temperature

    "K" or "kel"

    Temperature

    Teaspoon

    Liquid Volume

    Tablespoon

    Liquid Volume

    Fluid ounce

    Liquid Volume

    Liquid Volume

    "pt" or "us_pt"

    Liquid Volume

    Liquid Volume

    Liquid Volume

    Liquid Volume

  • "l" or "lt" Liter

    "N" Newton Force

    Dyne Force

    "lbf" Force

    Pascal Pressure

    "atm" Pressure

    "mmHg" Pressure

    Power

    Watt Power

    "J" Joule Energy

    "e" Erg Energy

    "c" Energy

    "cal" Energy

    Energy

    Energy

    Energy

    "flb" Energy

    Liquid Volume

    "dyn" or "dy"

    Pound Force

    "Pa" or "p"

    Atmosphere

    mm of Mercury

    "HP" or "h"

    Horsepower

    "W" or "w"

    Thermodynamic calorie

    IT calorie

    "eV" or "ev"

    Electron volt

    "HPh" or "hh"

    Horsepower-hour

    "Wh" or "wh"

    Watt-hour

    Foot-pound

  • BTU Energy

    "T" Tesla

    "ga" Gauss

    "BTU" or "btu"

    MagnetismMagnetism

  • ORDER PRODUCATEGORY AMOUNT COUNTRY1 A 11 200 AA2 B 22 300 AA3 C 33 400 AA4 D 44 500 DD5 E 55 600 EE6 F 66 700 FF COUNTRY7 G 77 800 GG8 H 88 900 HH Sum of AMOUNT

    PRODUCTSum of AMOUNT APRODUCT Total BA 200 CB 300 Grand TotalH 900Grand Total 1400

  • (All)

    Total200300 Sum of AMOUNT400 PRODUCT Total900 A 200

    B 300C 400D 500E 600F 700G 800H 900Grand Total 4400

    Sheet1practice questionsquestionanswertext functionsDatetimelookupVlookup and HlookupVlookup question 1statistical functionsindex and matchaddresslogical functionsother functionspivot table