Sie sind auf Seite 1von 3

Density 0.457 0.525 0.606 0.675 0.746 0.835 0.946 1.09 1.

29 Formula Description

Viscosity Temperature 3.55 500 3.25 400 2.93 300 2.75 250 2.57 200 2.38 150 2.17 100 1.95 50 1.71 0 Live Result

Using an approximate match, searches for the value 1 in column A, finds the largest value less than or =VLOOKUP(1,A2:C equal to 1 in column A which is 0.946, and then 10,2) returns the value from column B in the same row. Using an approximate match, searches for the value 1 in column A, finds the largest value less than or =VLOOKUP(1,A2:C equal to 1 in column A, which is 0.946, and then 10,3,TRUE) returns the value from column C in the same row. Using an exact match, searches for the value 0.7 in =VLOOKUP(0.7,A2: column A. Because there is no exact match in C10,3,FALSE) column A, an error is returned. Using an approximate match, searches for the value =VLOOKUP(0.1,A2: 0.1 in column A. Because 0.1 is less than the C10,2,TRUE) smallest value in column A, an error is returned. Using an approximate match, searches for the value 2 in column A, finds the largest value less than or =VLOOKUP(2,A2:C equal to 2 in column A, which is 1.29, and then 10,2,TRUE) returns the value from column B in the same row.

2.17

100

#N/A

#N/A

1.71

Item-ID ST-340 BI-567 DI-328 WI-989 AS-469 Formula = VLOOKUP("DI-328", A2:D6, 3, FALSE) * (1 + VLOOKUP("DI-328", A2:D6, 4, FALSE))

Item Stroller Bib Diapers Wipes Aspirator Description Calculates the retail price of diapers by adding the markup percentage to the cost.

Cost $145.67 $3.56 $21.45 $5.12 $2.56 Live Result

Markup 30% 40% 35% 40% 45%

$28.96

= (VLOOKUP("WI-989", A2:D6, 3, Calculates the sale price of wipes by FALSE) * (1 + VLOOKUP("WI-989", subtracting a specified discount from A2:D6, 4, FALSE))) * (1 - 20%) the retail price. = IF(VLOOKUP(A2, A2:D6, 3, FALSE) >= 20, "Markup is " & 100 * VLOOKUP(A2, A2:D6, 4, FALSE) &"%", "Cost is under $20.00") = IF(VLOOKUP(A3, A2:D6, 3, FALSE) >= 20, "Markup is: " & 100 * VLOOKUP(A3, A2:D6, 4, FALSE) &"%", "Cost is $" & VLOOKUP(A3, A2:D6, 3, FALSE)) If the cost of an item is greater than or equal to $20.00, displays the string "Markup is nn %"; otherwise, displays the string "Cost is under $20.00"

$5.73

Markup is 30%

If the cost of an item is greater than or equal to $20.00, displays the string Markup is nn %"; otherwise, displays the string "Cost is $n.nn "

Cost is $3.56

ID 1 2 3 4 5 6 Formula

Last name Davis Fontana Leal Patten Burke Sousa Description

First name Sara Olivier Karina Michael Brian Luis Live Result

Title Sales Rep. V.P. of Sales Sales Rep. Sales Rep. Sales Mgr. Sales Rep.

Birth date 12/8/1968 2/19/1952 8/30/1963 9/19/1958 3/4/1955 7/2/1963

For the fiscal year 2004, finds the age of the employee with ID of 5. Uses the YEARFRAC function to subtract the birth date from the fiscal year end =INT(YEARFRAC(DATE(2004,6,30), date and displays the result as an VLOOKUP(5,A2:E7,5, FALSE), 1)) integer using the INT function.

49

If there is an employee with an ID of 5, displays the employee's last name; otherwise, displays the message "Employee not found". =IF(ISNA(VLOOKUP(5,A2:E7,2,FALS The ISNA function returns a TRUE E)) = TRUE, "Employee not found", value when the VLOOKUP function VLOOKUP(5,A2:E7,2,FALSE)) returns the #N/A error value.

Burke

If there is an employee with an ID of 15, displays the employee's last name; otherwise, displays the message "Employee not found". =IF(ISNA(VLOOKUP(15,A3:E8,2,FAL SE)) = TRUE, "Employee not The ISNA function returns a TRUE found", value when the VLOOKUP function VLOOKUP(15,A3:E8,2,FALSE)) returns the #N/A error value.

Employee not found

=VLOOKUP(4,A2:E7,3,FALSE) & " " & VLOOKUP(4,A2:E7,2,FALSE) & " For the employee with an ID of 4, Michael is a " & concatenates (combines) the values of Patten is a VLOOKUP(4,A2:E7,4,FALSE) three cells into a complete sentence. Sales Rep.

Das könnte Ihnen auch gefallen