Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 22

What is the GST?

Product Sales
Accessories 17663 2119.56
Appliances 28384 3406.08
Art 17451 2094.12
Binders 40347 4841.64
Bookcases 48418 5810.16

Create Projections for next year

Next Year Sales Growth - Projection


Product Last Year Sales 10%
Accessories 17663 1766.3
Appliances 28384 2838.4
Art 17451 1745.1
Binders 40347 4034.7
Bookcases 48418 4841.8
Chairs 24490 2449
Copiers 36836 3683.6
Envelopes 20310 2031
Fasteners 11458 1145.8
Furnishings 41011 4101.1
Labels 23182 2318.2
Machines 14318 1431.8
Paper 40987 4098.7
Phones 26505 2650.5
Storage 22534 2253.4
Supplies 45855 4585.5
Tables 33983 3398.3

Create Projections for next year

Next Year Sales Growth - Projection


Product Last Year Sales 10%
Accessories 17663
Appliances 28384
Art 17451
Binders 40347
Bookcases 48418
Chairs 24490
Copiers 36836
Envelopes 20310
Fasteners 11458
Furnishings 41011
Labels 23182
Machines 14318
Paper 40987
Phones 26505
Storage 22534
Supplies 45855
Tables 33983
GST 12%

=C4*$F$2 shortcut to apply $ is F4


lock the cell

Next Year Sales Growth - Projection


20% 30%
3532.6 5298.9 Tip to apply $:
5676.8 8515.2 Left Col
3490.2 5235.3 Top Row
8069.4 12104.1
9683.6 14525.4 Start at cell D14
4898 7347 Press Shift
7367.2 11050.8 Click on cell F30
4062 6093 Ctrl + D
2291.6 3437.4 Ctrl + R
8202.2 12303.3
4636.4 6954.6
2863.6 4295.4
8197.4 12296.1
5301 7951.5
4506.8 6760.2
9171 13756.5
6796.6 10194.9

Next Year Sales Growth - Projection


20% 30%
Split Ship Mode, Customer ID and Name in Different Columns
Correct the Name

Ship Mode
First Class_AB-100151402_Bergman Aaron Bergman
Second Class_JR-162107_Ritter Justin Ritter
First Class_CR-127307_Reiter Craig Reiter
First Class_KM-1637548_Murray Katherine Murray
Same Day_RH-9495111_Hansen Rick Hansen
Second Class_JM-156557_Mitchum Jim Mitchum
First Class_TS-2134092_Swindell Toby Swindell
Standard Class_MB-1808592_Brown Mick Brown
First Class_AB-100151402_Bergman Aaron Bergman
First Class_AB-100151404_Bergman Aaron Bergman
First Class_AB-100151404_Bergman Aaron Bergman
First Class_AJ-107801_Jacobs Anthony Jacobs
Second Class_MM-7260110_Morse Magdelene Morse
Same Day_VF-2171518_Freymann Vicky Freymann
Second Class_PF-1912027_Fuller Peter Fuller
Second Class_BP-1118545_Peterman Ben Peterman
Standard Class_AB-100151402_Bergman Aaron Bergman
Standard Class_PJ-1883564_Jones Patrick Jones
First Class_JS-156857_Sink Jim Sink
Second Class_RH-9555129_Hightower Ritsa Hightower

Flash Fill
Ctrl + E
Only available on Excel 2013 and above

If the problem is complex


give more samples!!!

no limit on number of rows


you CANNOT see the formula
it is NOT dynamic

CANNOT have a blank column in the middle


ID First 4 numbers only Name
AB-100151402 1402 Bergman Aaron
JR-162107 2107 Ritter Justin
CR-127307 7307 Reiter Craig
KM-1637548 7548 Murray Katherine
RH-9495111 5111 Hansen Rick
JM-156557 6557 Mitchum Jim
TS-2134092 4092 Swindell Toby
MB-1808592 8592 Brown Mick
AB-100151402 1402 Bergman Aaron
AB-100151404 1404 Bergman Aaron
AB-100151404 1404 Bergman Aaron
AJ-107801 7801 Jacobs Anthony
MM-7260110 0110 Morse Magdelene
VF-2171518 1518 Freymann Vicky
PF-1912027 2027 Fuller Peter
BP-1118545 8545 Peterman Ben
AB-100151402 1402 Bergman Aaron
PJ-1883564 3564 Jones Patrick
JS-156857 6857 Sink Jim
RH-9555129 5129 Hightower Ritsa
Correct Name Email ID
Aaron Bergman aaron.b@gmail.com
Justin Ritter justin.r@gmail.com
Craig Reiter craig.r@gmail.com
Katherine Murray katherine.m@gmail.com
Rick Hansen rick.h@gmail.com
Jim Mitchum jim.m@gmail.com
Toby Swindell toby.s@gmail.com
Mick Brown mick.b@gmail.com
Aaron Bergman aaron.b@gmail.com
Aaron Bergman aaron.b@gmail.com
Aaron Bergman aaron.b@gmail.com
Anthony Jacobs anthony.j@gmail.com
Magdelene Morse magdelene.m@gmail.com
Vicky Freymann vicky.f@gmail.com
Peter Fuller peter.f@gmail.com
Ben Peterman ben.p@gmail.com
Aaron Bergman aaron.b@gmail.com
Patrick Jones patrick.j@gmail.com
Jim Sink jim.s@gmail.com
Ritsa Hightower ritsa.h@gmail.com
Fix the dates that have come incorrectly from the system

Period 11.11.2014 11/11/2014 sample


05.02.2014 2/5/2014
17.10.2014 10/17/2014
28.01.2014 1/28/2014
05.11.2014 11/5/2014
28.06.2014 6/28/2014
Backslash 06\11\2012 11/6/2012 sample
14.04.2013 4/14/2013
11.11.2014 11/11/2014
06_03_2012 3/6/2012
06.03.2012 3/6/2012
19.04.2013 4/19/2013
26.12.2012 12/26/2012
Underscore 13_11_2013 11/13/2013
06.06.2014 6/6/2014
31.07.2015 7/31/2015
19.02.2012 2/19/2012
Minimum 2 samples of DIFFERENT types have to be given Is it a date?
Not a date!!!!
ONLY for old versions of Excel 02.08.2021

Ctrl + H Dates cannot have "."


Replace . with - Dates can have - OR /
Replace \ with -
Replace _ with - 8/2/2021
2-Aug-21

Right Click
Format Cells
Custom
dd-mmmm-yy
Clean the Data
=LEFT(B6,3) =MID(B6,5,2)
Separate Product ID into 3 parts

Product ID Product ID Code - First 3 Letters Product ID Code - Middle 2 Letters


FUR-PH-5816 FUR PH
FUR-CH-5379 FUR CH
TEC-PH-5356 TEC PH
TEC-PH-5267 TEC PH
TEC-CO-6011 TEC CO
TEC-PH-5842 TEC PH
FUR-CH-5378 FUR CH
FUR-TA-3764 FUR TA
FUR-BO-5957 FUR BO
FUR-CH-4421 FUR CH
OFF-AR-5309 OFF AR
=RIGHT(B6,4)
Separate First and Last Name

Product ID Number Customer Name


5816 Aaron Bergman
5379 Justin Ritter
5356 Craig Reiter
5267 Katherine Murray
6011 Rick Hansen
5842 Jim Mitchum
5378 Toby Swindell
3764 Mick Brown
5957 Aaron Bergman
4421 Aaron Bergman
5309
=LEFT(H6,FIND(" ",H6)-1) =RIGHT(H6,LEN(H6)-FIND(" ",H6))

t and Last Name

First Name Last Name


Aaron Bergman
Justin Ritter
Craig Reiter
Katherine Murray
Rick Hansen
Jim Mitchum
Toby Swindell
Mick Brown
Aaron Bergman
Aaron Bergman

Step 1: Find the position of Space Step 1: Find Length of complete name
Step 2: Subtract 1 (the space has to be removed) Step 2: Find position of Space
Step 3: Use LEFT function Step 3: Subtract the two
Step 4: RIGHT function

Will NOT work with 3 names

https://www.ablebits.com/office-addins-blog/2018/01/10/separate-first-last-name-excel/
Join the details into a single Product Code

Part 1 Part 2 Part 3 Part 4 Part 5


CA 2014 AB 10015140 41954
IN 2014 JR 162107 41675
IN 2014 CR 127307 41929
ES 2014 KM 1637548 41667
SG 2014 RH 9495111 41948
IN 2014 JM 156557 41818
IN 2012 TS 2134092 41219
IN 2013 MB 1808592 41378
CA 2014 AB 10015140 41954
CA 2012 AB 10015140 40974

Why is & better


You can choose order
You can leave certain values
You can choose different delimiters

Why is TEXTJOIN better


shorter formula
=M6 & "_" & N6 & "_" & O6 & "_" & P6 & "_" & Q6

Combined
CA_2014_AB_10015140_41954
IN_2014_JR_162107_41675
IN_2014_CR_127307_41929
ES_2014_KM_1637548_41667
SG_2014_RH_9495111_41948
IN_2014_JM_156557_41818
IN_2012_TS_2134092_41219
IN_2013_MB_1808592_41378
CA_2014_AB_10015140_41954
CA_2012_AB_10015140_40974

Very important TIP


You CAN put spaces in your long / complex formulas
WHY?
It makes your formula much easier to write and read

Flash Fill CAN ALSO give the same result

NEW FUNCTION (check if you have this / not)


CA_2014_AB_10015140_41954

=TEXTJOIN("_",,M6:Q6)
TRUE - how to handle any missing data
Clean the extra spaces and make Upper Case

Product Name
Samsung Convoy 3
Novimex Executive Leather Armchair, Black
Nokia Smart Phone, with Caller ID
Motorola Smart Phone, Cordless
Sharp Wireless Fax, High-Speed
Samsung Smart Phone, with Caller ID
Novimex Executive Leather Armchair, Adjustable
Chromcraft Conference Table, Fully Assembled
Sauder Facets Collection Library, Sky Alder Finish
Global Push Button Manager's Chair, Indigo

Extra spaces (middle)


Leading spaces (front)
Trailing spaces (end)

TRIM removes all these three


=UPPER(TRIM(U6)) Replace . with _

Cleaned Data Product ID


SAMSUNG CONVOY 3 TEC.PH.5816
NOVIMEX EXECUTIVE LEATHER ARMCHAIR, BLACK FUR.CH.5379
NOKIA SMART PHONE, WITH CALLER ID TEC.PH.5356
MOTOROLA SMART PHONE, CORDLESS TEC.PH.5267
SHARP WIRELESS FAX, HIGH-SPEED TEC.CO.6011
SAMSUNG SMART PHONE, WITH CALLER ID TEC.PH.5842
NOVIMEX EXECUTIVE LEATHER ARMCHAIR, ADJUSTABLE FUR.CH.5378
CHROMCRAFT CONFERENCE TABLE, FULLY ASSEMBLED FUR.TA.3764
SAUDER FACETS COLLECTION LIBRARY, SKY ALDER FINISH FUR.BO.5957
GLOBAL PUSH BUTTON MANAGER'S CHAIR, INDIGO FUR.CH.4421
OFF.AR.5309

Hello World
Hello World
Hello World How to do Find and Replace
using a Function

WHY???
It is dynamic

Another advantage
You can CHOOSE which instance number to
which . do I want to replace
2

Product ID Code - First 3 Letters


TEC.PH_5816
FUR.CH_5379
TEC.PH_5356
TEC.PH_5267
TEC.CO_6011
TEC.PH_5842
FUR.CH_5378
FUR.TA_3764
FUR.BO_5957
FUR.CH_4421
OFF.AR_5309

o Find and Replace

CHOOSE which instance number to replace


IGNORE
Get last word

Product Name
Samsung Convoy 3 - Paid
Novimex Executive Leather Armchair Black Black - Pending
Nokia Smart Phone with Caller ID ID - Pending
Motorola Smart Phone Cordless Cordless - Pending
Sharp Wireless Fax High Speed Speed - Unknown
Samsung Smart Phone with Caller ID ID - Pending
Novimex Executive Leather Armchair Adjustable Adjustable - Paid
Chromcraft Conference Table Fully Assembled Assembled - Paid
Sauder Facets Collection Library Sky Alder Finish Finish - Pending
Global Push Button Manager's Chair Indigo Indigo - Unknown
Status
IGNORE
Change to TEC

Product ID
PH-TEC-5816
CH-FUR-5379
PH-TEC-5356
PH-TEC-5267
CO-TEC-6011
PH-TEC-5842
CH-FUR-5378
TA-FUR-3764
BO-FUR-5957
CH-FUR-4421
AR-OFF-5309
=TRIM(B4)*1 =VALUE(TRIM(B4))
12345 12345 12345
12345 12345 12345
12345 12345 12345
12 12 12
37047 37047

You might also like