Here are the steps to add random data to the Revenue and Profit columns using RANDARRAY and RANDBETWEEN:
1. Determine the number of rows needed using =COUNTA(A:A)
2. In B2 enter: =RANDBETWEEN(100,1000)
3. In C2 enter: =RANDBETWEEN(100,1000)
4. Select cells B2:C2 and drag the fill handle down to populate the ranges for the number of rows
5. Use Paste Values (Ctrl+Shift+V) to convert the formulas to static values
This will populate the Revenue and Profit columns with random integers between 100-1000. No need for
Here are the steps to add random data to the Revenue and Profit columns using RANDARRAY and RANDBETWEEN:
1. Determine the number of rows needed using =COUNTA(A:A)
2. In B2 enter: =RANDBETWEEN(100,1000)
3. In C2 enter: =RANDBETWEEN(100,1000)
4. Select cells B2:C2 and drag the fill handle down to populate the ranges for the number of rows
5. Use Paste Values (Ctrl+Shift+V) to convert the formulas to static values
This will populate the Revenue and Profit columns with random integers between 100-1000. No need for
Here are the steps to add random data to the Revenue and Profit columns using RANDARRAY and RANDBETWEEN:
1. Determine the number of rows needed using =COUNTA(A:A)
2. In B2 enter: =RANDBETWEEN(100,1000)
3. In C2 enter: =RANDBETWEEN(100,1000)
4. Select cells B2:C2 and drag the fill handle down to populate the ranges for the number of rows
5. Use Paste Values (Ctrl+Shift+V) to convert the formulas to static values
This will populate the Revenue and Profit columns with random integers between 100-1000. No need for
Jan 773 Jan 602 Jan 807 Jan 643 Feb 719 Feb 756 Feb 745 Feb 822 Mar 973 Apr 551 Apr 584 May 716 May 875 Jun 871 Jul 502 Jul 945 Jul 707 Count Unique Months Exercise 02
1. Extract a list of unique months into
2. Extract a list of distinct months into 3. Count the number of unique mont 2
a list of unique months into column G.
a list of distinct months into column H. he number of unique months. The FILTER Function
Sales Agent Month Revenue Profit Agent
Mark Jan 773.00 311.00 Claire Jan 602.00 315.00 Ben Jan 807.00 278.00 Month Ben Feb 643.00 224.00 Ben Feb 719.00 382.00 Mark Feb 756.00 267.00 Claire Feb 745.00 244.00 Mark Mar 822.00 351.00 Claire Mar 973.00 339.00 Claire Mar 551.00 216.00 Mark Mar 584.00 363.00 Ben Apr 716.00 268.00 Mark Apr 744.00 340.00 Claire Apr 697.00 237.00 Ben Apr 758.00 320.00 Ben May 714.00 354.00 Ben May 500.00 239.00 Mark Jun 507.00 207.00 Claire Jun 667.00 359.00 Mark Jun 633.00 315.00 Claire Jun 546.00 254.00 Sales Agent Month Revenue Profit Total Revenue for Claire
Exercise 02
1. Create data validation drop-down lists
containing unique values for 'Sales Agent' an 'Month'.
2. Create a FILTER to filter for Sales Agent 'Be
Ensure that the text 'No Records' is displayed there are no results. 3. Modify the formula to filter for Sales Agen 'Ben' and Month 'Feb'.
4. Modify the formula to filter for Sales Agen
'Ben' OR 'Feb'.
5. Modify the formula and SORT the results
ascending order by Sales Agent.
3. Enter the Total Profit generated by 'Claire
the month of 'Mar' in cell P4. ation drop-down lists alues for 'Sales Agent' and
o filter for Sales Agent 'Ben'.
'No Records' is displayed if . ula to filter for Sales Agent b'.
ula to filter for Sales Agent
ula and SORT the results in
Sales Agent.
ofit generated by 'Claire' for
in cell P4. The XLOOKUP Function
Team Sales Agent Revenue Profit
Team 1 Mack Joseph 773.00 311.00 Team 1 Clinton Aguilar 602.00 315.00 Team 2 Alfonso Huff 807.00 278.00 Team 2 Josh Newman 643.00 224.00 Team 1 Kristi Martinez 719.00 382.00 Team 2 Edwin Day 756.00 267.00 Team 2 Margie Gross 745.00 244.00 Team 1 Robyn Maldonado 822.00 351.00 Team 3 Jeannie Murphy 973.00 339.00 Team 2 Gladys Ryan 551.00 216.00 Team 3 Rosemarie Ortega 584.00 363.00 Team 1 Pablo Morgan 716.00 268.00 Team 3 Becky Wilkerson 744.00 340.00 Team 3 Melanie Gordon 697.00 237.00 Team 1 Lois Caldwell 758.00 320.00 Exercise 02 Select Agent: 1. Create data validation drop-down lists containing unique values for 'Sales Agents'. Team: 2. Create an XLOOKUP formula to return the Team, Revenue and Profit for the selected Sales Revenue: Agent.
Profit: on drop-down lists ues for 'Sales Agents'.
P formula to return the
rofit for the selected Sales The RANDARRAY and RANDBETWEEN Functions
Sales Agent Revenue Profit
Mack Joseph Clinton Aguilar Alfonso Huff Josh Newman Kristi Martinez Edwin Day Margie Gross Robyn Maldonado Jeannie Murphy Gladys Ryan Rosemarie Ortega Pablo Morgan Becky Wilkerson Melanie Gordon Lois Caldwell Exercise 02
1. Use RANDARRAY to add some 'dummy' data
into columns B and C for Revenue and Profit.
2. Use the COUNTA function to work out the
number of rows required.
3. Use 100 as the minimum value and 1000 as
the maximin value. 3. Output the values as integers not decimals.