₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,110 members, 8,448,736 topics. Date: Monday, 20 July 2026 at 06:21 PM

Toggle theme

Excel Sales Entry Form - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingExcel Sales Entry Form (589 Views)

1 Reply (Go Down)

Excel Sales Entry Form by b4bola(op): 4:53pm On Jun 26, 2022
Hello, excel gurus in the house!
Pls check out this simple Sales entry form and database I designed using excel. The two were connected using VBA programming.

I was inspired by this thread
https://www.nairaland.com/7161636/need-someone-good-excel#113475049

To create this for a frozen food store in front of my house ( I notice they fill the sales log and calculate manually using pen and book),
they have a PC though.

I also create one for the POS transaction for the thread above

Here is a link to the excel file in my repo.
https://github.com/jinadu-bolanle/Excel-Sales-Entry-Form.git

Re: Excel Sales Entry Form by b4bola(op): 5:11pm On Jun 26, 2022
corrections are welcome
I am an aspiring data scientist, changing career path

field validation and linking of the command button of the form with the database form was done using VBA

Re: Excel Sales Entry Form by RepoMan007: 5:51pm On Jun 26, 2022
Looks good. So Excel can link database? Never heard of that before.
Re: Excel Sales Entry Form by b4bola(op): 6:04pm On Jun 26, 2022
RepoMan007:
Looks good. So Excel can link database? Never heard of that before.
Yes
Re: Excel Sales Entry Form by Xedmark:
RepoMan007:
Looks good. So Excel can link database? Never heard of that before.
Excel Can be linked to a database but this not worth being linked to a Database. I will be surprise if it is because it's not complex in anyway.

You Can as well add a drop down list to the payment mode You also know how this was done. Data - Data Validation- list. After you must have highlighted your values in their cell range.
Also did you write any argument for price_per_kg incase the basic price per kg for each products are not the same? or are you assuming the price for each category of products per kg is 100? My One Cent.
Re: Excel Sales Entry Form by b4bola(op): 10:39am On Jun 27, 2022
Xedmark:
Excel Can be linked to a database but this not worth being linked to a Database. I will be surprise if it is because it's not complex in anyway.

You Can as well add a drop down list to the payment mode You also how this was done Data - Data Validation- list. After you must have highlighted your values in their cell range.
Also did you write any argument for price_per_kg incase the basic price per kg for each products are not the same? or are you assuming the price for each category of products per kg is 100? My One Cent.
Alright
The product category, mode of payment all have a dropdown list
you only need to enter the Quantity/kg as this varies (these are validated as they cant be blank)

Price_per_kg and total_price are generated automatically using the "IF" function.

click the save button, a prompt is generated "Do you want to submit" YES save it in the database.

you can delete a record by entering the S/No.

The transaction ID or serial no. are auto increment, date and time too are auto generated.

Re: Excel Sales Entry Form by b4bola(op): 10:59am On Jun 27, 2022
Xedmark:
Excel Can be linked to a database but this not worth being linked to a Database. I will be surprise if it is because it's not complex in anyway.

You Can as well add a drop down list to the payment mode You also how this was done Data - Data Validation- list. After you must have highlighted your values in their cell range.
Also did you write any argument for price_per_kg incase the basic price per kg for each products are not the same? or are you assuming the price for each category of products per kg is 100? My One Cent.
Lols

Here is a Code to validate the "Product Category"

Re: Excel Sales Entry Form by Xedmark: 11:37am On Jun 27, 2022
b4bola:
Lols

Here is a Code to validate the "Product Category"
If you're applying Visual Basic on this LB excel form, What will you do when there's something much more complex? This validation code must have been a miracle for you cos I don't get the excitement over visual basic.

I just called your attention to the payment_mode field and I also enquired if you write any argument to check price_per_kg once the products changes. You also know the
Price of turkey per kilo will never be equal to the price of a kilo of chicken so where's the "Lols" coming from? Bro knowledge without condemnation is what I've done... So calm down.
Re: Excel Sales Entry Form by b4bola(op): 1:06pm On Jun 27, 2022
Xedmark:
If you're applying Visual Basic on this LB excel form, What will you do when there's something much more complex? This validation code must have been a miracle for you cos I don't get the excitement over visual basic.

I just called your attention to the payment_mode field and I also enquired if you write any argument to check price_per_kg once the products changes. You also know the
Price of turkey per kilo will never be equal to the price of a kilo of chicken so where's the "Lols" coming from? Bro knowledge without condemnation is what I've done... So calm down.
Ok
I'm excited because this would enhance the business of my neighbour(I did it for free) while sharpening my skills set
1 Reply

My New Excel DashboardDashboard: Data Visualization With Microsoft Excel.Caritas University, Enugu 2019/2020 Post UTME Admission/direct-entry Form234

I need a Crypto Trading PlatformHow To Find The Best Social Media ProviderBattle Of Frontend. React/nextjs Vs Vuejs Vs Angular Which One Is The Best??