Professional Documents
Culture Documents
1. Limited customization: Generic software may Using Macros to customize Generic software
not fully meet the unique needs of an
organization, and customization options are • A macro is a series of commands that you can use to
often limited. automate a repeated task.
2. Limited functionality: It may not have all the • It is used to automate frequently used tasks to save
features and functionality that an organization time on a keystrokes and mouse actions and to
requires, and may be missing some specific increase productivity.
features needed to perform certain tasks.
3. Security concerns: As generic software is widely • Macros are commonly used in software applications
used; it is also more susceptible to security such as Microsoft Excel, Word, PowerPoint and
breaches and cyber-attacks. Publisher.
1
Uses of Macros in Word processing software 4. Ease of use - Macros can be created and edited
using simple commands, making them accessible to
• Adding your address and current date into a business users of all skill levels.
letter. 5. Compatibility - Macros can be used across a range
• Routine editing and formatting. of applications and devices, making them a versatile
• Creating tables of a specific size with specific tool for productivity.
number of rows and columns.
Disadvantages of Macros
How to record a macro in Microsoft word
1. Security risks - Macros can be used to spread
Step 1: click on the view tab and click on the arrow on malware or execute malicious code, posing a risk to
the macros button. the security of a device or network.
2. Complexity - Advanced macros may be complex
Step 2: select Record Macro. the Record Macro dialogue
and require specialized knowledge or programming
box appears.
skills to create and maintain.
Step 3: under assign macro to option, click a keyboard to 3. Compatibility issues - Macros may not be
assign hotkey. compatible with all devices or applications, limiting
their utility.
Step 4: you will see a record-like image with a pointer. 4. Dependence - Relying heavily on macros can make
Step 5: to stop recording, click on view tab and click users less proficient in performing tasks manually,
stop. potentially hindering their ability to adapt to new
situations.
Step 6: to run a macro, click on view tab, select the
5. Limited functionality - Macros are limited to
macro and click on run.
performing predetermined tasks and may not be able
to handle unexpected or complex situations.
2
3. PRODUCT: The PRODUCT function is used to VLOOKUP function
multiply a range of numbers together. For example,
=PRODUCT(A1:A10) would multiply the values in There are four pieces of information that are needed in
cells A1 to A10. order to build the VLOOKUP syntax:
4. QUOTIENT: The QUOTIENT function is used to
find the integer quotient of two numbers. For 1. The value you want to look up, also called the
example, =QUOTIENT(10, 3) would return 3, since lookup value.
10 divided by 3 is 3 with a remainder of 1. 2. The range where the lookup value is located.
5. MAX: The MAX function is used to find the highest Remember that the lookup value should always
value in a range of numbers. For example, be in the first column in the range for
=MAX(A1:A10) would return the highest value in VLOOKUP to work correctly. For example, if
cells A1 to A10. your lookup value is in cell C2 then your range
6. MIN: The MIN function is used to find the lowest should start with C.
value in a range of numbers. For example, 3. The column number in the range that contains
=MIN(A1:A10) would return the lowest value in the return value. For example, if you specify
cells A1 to A10. B2:D11 as the range, you should count B as the
7. COUNT: The COUNT function is used to count the first column, C as the second, and so on.
number of cells in a range that contain numbers. For 4. Optionally, you can specify TRUE if you want
example, =COUNT(A1:A10) would count the an approximate match or FALSE if you want an
number of cells in cells A1 to A10 that contain exact match of the return value. If you don't
numbers. specify anything, the default value will always
8. COUNTA: The COUNTA function is used to count be TRUE or approximate match.
the number of cells in a range that are not blank. For
example, =COUNTA(A1:A10) would count the
VLOOKUP syntax:
number of non-blank cells in cells A1 to A10.
9. IF: The IF function is used to return one value if a
condition is true, and another value if the condition =VLOOKUP (lookup value, range containing the lookup
is false. For example, =IF(A1>10, "Yes", "No") value, the column number in the range containing the
would return "Yes" if the value in cell A1 is greater return value, Approximate match (TRUE) or Exact
than 10, and "No" if it is not. match (FALSE)).
10. COUNTIF: The COUNTIF function is used to
count the number of cells in a range that meet a Example of VLOOKUP
certain condition. For example,
=COUNTIF(A1:A10, ">10") would count the
number of cells in cells A1 to A10 that are greater
than 10.
11. SUMIF: The SUMIF function is used to add up the
values in a range of cells that meet a certain
condition. For example, =SUMIF(A1:A10, ">10")
would add up the values in cells A1 to A10 that are
greater than 10.
12. VLOOKUP: The VLOOKUP function is used to
look up a value in a table and return a corresponding
value from a different column in the same row. For
example, =VLOOKUP("John", A1:B10, 2, FALSE)
would look for the value "John" in the first column
of the table A1:B10, and return the corresponding
value from the second column in the same row.
https://support.microsoft.com/en-us/office/vlookup-
3 function-0bbc8083-26fe-4963-8ab8-93a18ad188a1