Create GST Invoice Format in Excel: 4 Methods

Method 01 – Making an Outline of GST Invoice Format

1. We need to have the basic inputs such as the Product Details in the product sheet and the Company Details in the Customer sheet like the following two figures.

Excel invoice format GST

Excel invoice format GST

2. We created the basic outline of the GST invoice for “N” Fruit Supplier.

Excel invoice format GST

3. Give some basic fixed inputs in the required places. So, we will fill up the indicated region first.

making an outline

Type 1 as Invoice No, ON as State Code (Code for Ontario), and for having today’s date we have used the TODAY function.

making an outline

4.Move into the filling of the banking details.

making an outline

Use your desired A/C Name and A/C No. (we used Michael James and 0034567)

Excel invoice format GST


Method 02 – Creating Dropdown List

Get to know the way to create a dropdown list to change the values easily in the bill form.

1. Make a dropdown list for the GSTIN numbers of the companies to whom the products will be supplied.

Excel invoice format GST

➤ Select the cell B8 where you want to have the dropdown list
➤ Go to Data Tab >> Data Tools Group >> Data Validation Option

using formulas

The Data Validation dialog box will pop up
➤ Select the List Option in the Allow box
➤ Type the following formula in the Source box and press OK

=Customer!$B$5:$B$10

Customer! Is the sheet name and $B$5:$B$10 is the range containing the GSTIN numbers in that sheet for different companies.

using formulas

In this way, you will get the dropdown sign in your desired cell and now you can choose any of the numbers from this list.
We selected the GSTIN number ONAAACXXXX5D1E5 for this example at first.

using formulas

The selected number will appear in cell B8

Excel invoice format GST

2. Use the GSTIN number to look for the values of the Company Name in the Customer sheet and then have this value in the indicated region.

using formulas

➤ Type the following formula in the selected region

=IFERROR(VLOOKUP($B$8,Customer!$B$5:$E$10,2,FALSE),"")

$B$8 is the lookup value, Customer!$B$5:$E$10 is the table array where Customer! Is the sheet name, 2 is the column number of which we want the values, and FALSE is for an exact match.
If sometimes VLOOKUP returns an error, then IFERROR will convert it into a Blank

Excel invoice format GST

➤ Press ENTER
Get the Company Name, A,  for the GSTIN number ONAAACXXXX5D1E5

using formulas

Use the following two formulas for getting the Area and the Contact No. of the company respectively.

=IFERROR(VLOOKUP($B$8,Customer!$B$5:$E$10,3,FALSE),"")

Excel invoice format GST

=IFERROR(VLOOKUP($B$8,Customer!$B$5:$E$10,4,FALSE),"")

using formulas

See that, we have the following Company Name, Area and  Contact No. for the corresponding GSTIN number ONAAACXXXX5D1E5

using formulas

When you change the GSTIN number by using the dropdown list then the corresponding Company Name, Area and  Contact No. will be changed

using formulas


Method 3 – Using Excel Formulas to Modify GST Invoice Format

1. Type the HSN Codes of your products in the HSN Code

using formulas

2. Use the HSN Code to look for the values of the Product Name in the Product sheet and then have this value in cell C13.

➤ Type the following formula in this cell

=IFERROR(VLOOKUP(B13,product!B5:F9,2,FALSE),"")

B13 is the lookup value, product!B5:F9 is the table array where product! is the sheet name, 2 is the column number of which we want the values and FALSE is for an exact match.
If sometimes VLOOKUP returns an error then IFERROR will convert it into a Blank

using formulas

➤ Press ENTER
➤ Drag down the Fill Handle tool

using formulas

Get the Product Names in the Product column

Excel invoice format GST

Use the following formula to get the Unit Price of the products.

=IFERROR(VLOOKUP(B13,product!B5:F9,3,FALSE),"")

using formulas

3. Type the number of your products in the Qty

Excel invoice format GST

4. Get the prices by multiplying the Qty and Unit Price in the Amount column

=D13*E13

using formulas

5. Get the CGST rates and the SGST rates by using the values of the HSN Codes by using the following formulas.

=IFERROR(VLOOKUP(B13,product!B5:F9,4,FALSE),"")

using formulas

=IFERROR(VLOOKUP(B13,product!B5:F9,5,FALSE),"")

Excel invoice format GST

6. It is the turn to get the CGST Amount by using the following formula

=F13*H13

using formulas

We used the following formula for having the SGST Amount

=F13*J13

Excel invoice format GST

For calculating the Taxable Amount you can use the following formula

=I13+K13

Excel invoice format GST

7. Calculate the Total Amount of these products.

By using the following formula, we will sum up the amounts of the products

=SUM(F13:F17)

SUM will add up the values of the Amount column

using formulas

To get the total CGST Amount we will use the following formula

=SUM(I13:I17)

using formulas

To have the total SGST Amount you can use the following formula

=SUM(K13:K17)

using formulas

After having all of these amounts, we will sum up them by using the following formula to get the Total Amount

=SUM(F19:K21)

using formulas

After performing all of these calculations, we will get the following bill form

Excel invoice format GST

 


Method 4 – Saving and Resuming Invoice Format in Excel

Use two VBA codes to refresh the bill form for performing calculations for new data and then saving the bill form.

1. Go to Developer Tab >> Visual Basic Option

Excel invoice format GST

The Visual Basic Editor will open up.
➤ Go to Insert Tab >> Module Option

using formulas

A Module will be created.

using formulas

 

➤ Write the following code for resuming the sheet

Sub resumeinvoice()

Range("C4").Value = Range("C4").Value + 1
Range("B13:B17").ClearContents
Range("D13:D17").ClearContents
Range("B9").ClearContents

End Sub

This code will clear these ranges and add up 1 with the value in the cell

using formulas

➤ Type the following code to save the code in your desired location

Sub savegst()

Set ws = Worksheets("Invoice")

ws.Range("A1:K27").ExportAsFixedFormat xlTypePDF, _
Filename:="C:\Users\Mima\Downloads\" & ws.Range("C4").Value, _
openafterpublish:=False

End Sub

The Invoice is the sheet name and A1:K27 is the range of the sheet you want to save

using formulas

2. Go to Developer Tab >> Insert Group >> Button Option

Excel invoice format GST

A plus sign will appear and drag down, and to the right side, this sign.

Saving and resuming

The Macro name dialog box will open up

Saving and resuming

➤ Select the resumeinvoice macro name to create a button for resuming the operation
➤ Press OK

Saving and resuming

We edited the name of the button as Resume

Excel invoice format GST

Create a Save button for saving the bill form as a PDF by using the savegst macro name.

Saving and resuming

3. After pressing the Save button the bill form will be saved as a PDF like below in your desired location

Excel invoice format GST

4. When you press the Resume button, the Invoice No will be increased by 1 and the values of the indicated boxes will be removed

Saving and resuming

After giving the inputs in the indicated boxes of the previous figure you can get a new bill form like below

Excel invoice format GST


Download Practice Workbook


Further Readings

Get FREE Advanced Excel Exercises with Solutions!
Tanjima Hossain
Tanjima Hossain

TANJIMA HOSSAIN is a marine engineer who enjoys working with Excel and VBA programming. For her, programming is a handy, time-saving tool for managing data, files, and online tasks. She's skilled in Rhino3D, Maxsurf C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. She holds a B.Sc. in Naval Architecture & Marine Engineering from BUET and is now a content developer. In this role, she creates tech-focused content centred around Excel and VBA. Apart from... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo