0% found this document useful (0 votes)
24 views

Repex 04b) BUSCARX, Array Functions and Data Validation

This document provides instructions for completing an Excel exercise involving employee leave data. The tasks include: 1. Converting employee data into an Excel table 2. Using functions like BUSCARX, ORDENAR, and UNICOS to generate lists of departments, contribution groups, and retrieve employee data 3. Creating a new sheet to display an employee leave card, linking it to the employee data table, and using validation lists and functions like BUSCARX, SI.CONJUNTO to populate the card 4. Combining ORDENAR and FILTRAR functions to generate filtered lists of employees meeting certain criteria 5. Hiding unused columns in the employee data table

Uploaded by

cristinaiglesias
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views

Repex 04b) BUSCARX, Array Functions and Data Validation

This document provides instructions for completing an Excel exercise involving employee leave data. The tasks include: 1. Converting employee data into an Excel table 2. Using functions like BUSCARX, ORDENAR, and UNICOS to generate lists of departments, contribution groups, and retrieve employee data 3. Creating a new sheet to display an employee leave card, linking it to the employee data table, and using validation lists and functions like BUSCARX, SI.CONJUNTO to populate the card 4. Combining ORDENAR and FILTRAR functions to generate filtered lists of employees meeting certain criteria 5. Hiding unused columns in the employee data table

Uploaded by

cristinaiglesias
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

EXCEL: REVIEW – EXERCISE 4B

EXCEL 365 – REVIEW: EXERCISE 4B

BUSCARX; ARRAY FUNCTIONS; DATA VALIDATION

Download the file repex4b Register of employees.xlsx. It includes, on its sheet Da-
tos, a register of leaves for professional illness, including some relevant information about
the employees.

TASK

Turn the rank A1:F12 into an Excel table

1- Use the BUSCARX function to get: Departamento, Grupo cotización and Salario
base.

2- Create a new sheet and call it Listas. Use the functions ORDENAR and UNICOS
to get lists of Departments and Contribution groups (the order is ascendant)

3- Add a third sheet to the workbook and name it Ficha trabajador. Include the
following content on it:
EXCEL: REVIEW – EXERCISE 4B

4- In this card (connected with the register of the sheet Datos):

a. Fecha baja: write it by hand


b. Días de baja: get this data with a BUSCARX (special procedure: explained
at the end of the exercise!!)
c. Departamento: it will be chosen from a validation list
d. Planta: use a SI.CONJUNTO function to get the floor from the depart-
ment chosen in B7
e. Empleado: it will be selected from a dependant validation list (you must
previously give the employees of each department a range name that
will match with the name of the department; you can do this on the
sheet Listas)
f. Nº afiliación a la SS, Salario base and Compl. destino: use BUSCARX to
get this information

5- Combine the ORDENAR and FILTRAR functions to get (on the sheet Ficha traba-
jador, on another page) these lists (from the register on the first sheet)

a. Employees whose leave data is that included in B3 or with a leave


shorter than 3 days; ordered by Basic Salary, in ascendant order
b. Employees from the department chosen on B7, whose contribution
group is 2; ordered by contribution group, in ascendant order
c. Employees with a Basic Salary higher than that introduced in B11 or with
a Destination Plus; ordered by leave data, in descendant order

When no employee match the filter criteria, it will appear the expression “No hay
trabajadores”

Finally, hide the columns I to M on the sheet Datos


EXCEL: REVIEW – EXERCISE 4B

PROCEDURE TO GET NUMBER OF LEAVE DAYS

The length of the leave (Días de baja) requires an specific explanation because it
doesn’t depend only on the employee’s name but on a double data: leave data and em-
ployee’s name (the register can include each employee more than once but the length
of the leave is not likely to be the same in all the cases).
So, in this case the Valor buscado must combine information of two different cells.
But the register doesn’t includes any column with both data (Fecha baja and
Empleado). So you must create it.

1- Go to Datos sheet and insert a new column between Empleado and Departa-
mento. There is a special way of doing this in an Excel table: click on the cell C1
(Departamento),

Click on Insertar, Co-


lumnas de la tabla a
la izquierda

Change the column


head text

2- Select the range C2:C12 and delete the list validation rule applied to these cells
3- Click on C2 and insert this formula:
EXCEL: REVIEW – EXERCISE 4B

=A2&B2
The symbol & joins the content of both cells in another one
You get something like this:

Now:

- as first argument (Valor_buscado), introduce this expression: B3&B5 (from


the sheet Ficha trabajador). It means that this value is the result of joining
Fecha baja and Empleado (name)

- use the range C2:C12 (Tabla1[Fecha baja and Empleado]) as second argu-
ment in the BUSCARX to get Días de baja (sheet Ficha trabajador, cell E3)

- the rest of the function doesn’t offer any other peculiarity

- after finishing all the tasks of the exercise, hide the new column on the sheet
Datos

You might also like