simulation on excel 2
simulation on excel 2
EXPERIMENT #2
Working with functions in excel
1
Table of Contents
EXECUTIVE SUMMARY 3
OBJECTIVE 4
METHODOLOGY 4-7
RESULTS & DISCUSSIONS 7-9
CONCLUSIONS & RECOMMENDATION 9
REFERENCES 9
2
EXECUTIVE SUMMARY
The objective of this experiment is to learn about various function
and how to we apply it for data analysis and visualization in
chemical and biotechnological contexts
3
2.1.1 Objective
• To learn and apply advanced Excel functions for data
analysis and visualization in chemical engineering and
biotechnology contexts.
• This exercise will focus on usage of functions such as
VLOOKUP, HLOOKUP, INDEX-MATCH, Pivot Tables, and
conditional formatting that are needed to organize, analyze,
and visualize experimental data effectively.
2.1.2 Methodology Using Basic Functions
• SUM Function: Calculate the total of a range of numbers.
=SUM(A1:A10)
• AVERAGE Function: Calculate the average value of a range
of numbers. =AVERAGE(A1:A10)
• MIN and MAX Functions: Find the minimum and maximum
values in a range. =MIN(A1:A10)
=MAX(A1:A10)
• Conditional Functions
IF Function: Perform logical tests and return different values
based on the result. =IF(A1 > 50, "Pass", "Fail")
• Lookup Functions
VLOOKUP and HLOOKUP Functions: Search for a value in
the first column/row of a table and return a value in the
same row/column from another column/row.
=VLOOKUP(B1, A1:D10, 2, FALSE)
=HLOOKUP(B1, A1:D10, 2, FALSE)
4
• Counting and Summing Functions
COUNT and COUNTA Functions: Count the number of cells
that contain numbers and
count the number of non-empty cells, respectively.
=COUNT(A1:A10)
=COUNTA(A1:A10)
COUNTIF and SUMIF Functions: Count the number of cells that
meet a criteria and sum the values that meet a criteria.
=COUNTIF(A1:A10, ">50")
=SUMIF(A1:A10, ">50")
• Text Functions
CONCATENATE Function: Combine text from multiple cells
into one cell.
=CONCATENATE(A1, " ", B1)
LEFT, RIGHT, MID Functions: Extract specific characters from a
text string.
=LEFT(A1, 5)
=RIGHT(A1, 5)
=MID(A1, 3, 5)
• LEN Function: Find the length of a text string. =LEN(A1)
• TRIM Function: Remove extra spaces from text. =TRIM(A1)
• UPPER, LOWER, PROPER Functions: Convert text to
uppercase, lowercase, or proper case.
=UPPER(A1)
=LOWER(A1)
=PROPER(A1)
5
• Rounding Functions
ROUND, ROUNDUP, ROUNDDOWN Functions: Round
numbers to a specified number of digits.
=ROUND(A1, 2)
=ROUNDUP(A1, 2)
=ROUNDDOWN(A1, 2)
• Logical Functions
AND, OR, NOT Functions: Perform logical tests.
=AND(A1 > 50, B1 < 100)
=OR(A1 > 50, B1 < 100)
=NOT(A1 > 50)
• Lookup and Reference Functions
• INDEX and MATCH Functions: More powerful and flexible
alternatives to VLOOKUP. =INDEX(A1:A10, MATCH(B1,
A1:A10, 0))
• Date and Time Functions: Create dates and times from
individual components.
=DATE(2024, 7, 2)
=TIME(14, 30, 0)
• TODAY, NOW Functions: Get the current date and time.
=TODAY()
=NOW()
• Text Conversion Functions
TEXT Function: Format numbers as text.
=TEXT(A1, "0.00")
• Scientific Functions (e.g., SIN, COS, TAN, LOG, LN, EXP,
SQRT)
6
2.1.3 Case Studies
Biotechnology Application
Case Study: Cell Growth Monitoring In a biotechnology
experiment, cell growth is monitored over time. The dataset
includes time points and cell counts. The objective is to calculate
the growth rate and determine when the cells reach a specific
density.
Dataset Example:
7
Conditional Functions:
• Create a dataset of scores.
• Use the IF function to determine if each score is a pass or
fail based on a threshold. 3. Lookup Functions
• Create a table with product names and prices.
• Use the VLOOKUP function to find the price of a specific
product.
4. Counting and Summing Functions
• Create a dataset with a mix of numerical and text data.
• Use the COUNT and COUNTA functions to count the
numerical and non-empty cells.
• Use the COUNTIF and SUMIF functions to analyze subsets
of the data based on criteria.
5.Text Functions:
• Create a dataset with mixed text and numerical data.
• Use the CONCATENATE function to combine text from
multiple cells.
• Use the LEFT, RIGHT, MID, LEN, and TRIM functions to
manipulate text data. o Use the UPPER, LOWER, and
PROPER functions to format text.
6.Rounding Functions
• Create a dataset with numerical data.
• Use the ROUND, ROUNDUP, and ROUNDDOWN functions
to manipulate numerical precision.
7. Logical Functions
• Create a dataset with numerical and logical data.
• Use the AND, OR, and NOT functions to perform logical
tests on the data.
8
8. Lookup and Reference Functions
• Create a dataset with reference data.
• Use the INDEX and MATCH functions to look up data in the
dataset.
9. Date and Time Functions
• Create a dataset with date and time data.
• Use the DATE, TIME, TODAY, and NOW functions to
manipulate date and time data.
10. Text Conversion Functions
• Create a dataset with numerical data and use the TEXT
function to format numbers as text.
2.1.6 REFERENCES
Online tutorials from websites like Coursera, edX, and Khan
Academy.
Microsoft Office Excel Documentation - Microsoft Office Support
9
10