help me organise this excel report generated by our POS. i want it to be SQL-compatible

완료 등록 시간: 4년 전 착불
완료 착불

Hello

we are a chain of 9 restaurants.

We use "maitreD" as our main Point Of Sale System.

the CEO would like to have a report of all the discounts that occured monthly, for each venue.

I would like to organize the repport in a fashion that i would be able to feed it in a pivot table. So it has to be kinda SQL-compatible.

i need a macro that would reorganize the data.

here attached is the file : "[login to view URL]" it's the report file from our POS.

as you can see, it's a piece of nonsense. different data appears on the same column, lots a merged cells, footers and headers everywhere... it's not workable.

the tab "expected result" is an exemple of what I would like

important :

in B7 you can see the number associated to the venue (called a "succursale"). this number as to appear on each line.

the number can change. if i extract the data for several venues at the same time, the number would increment at some point downwards (it's not at the same row each time) this data is always a number only.

column I is the bill number (numero facture)

for each bill number, there are items associated that appears bellow, as well as the price of each item

"Centre de Revenu" says if the bill has been punched as take out or not, it can be "emporter", "juliette" or "golo". we exepct to have more with uber eats, foodora, etc

"montant" (amount) is a difficult beast. it's the actual money discounted on the bill. we can't repeat it more than one time per bill !

I would like to delete all lines where the price of the item is 0

then i would like to distribute the amount of the discount to the items, proportionnaly to their price.

exemple :

order #563709

has those items

(SIM) ESPRESSO LONG 2,85

SHOOTER CHOCOLAT 4,95

total : 7,8$

the total discount on the bill is 0.78$

i want this total to be distributed

so the column "montant" would show :

(SIM) ESPRESSO LONG 2,85 0,285

SHOOTER CHOCOLAT 4,95 0,495

데이터 처리 엑셀 비쥬얼 베이직

프로젝트 ID: #20034616

프로젝트 소개

10 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 4년 전

수상자:

aubrey03

I am an Excel and VBA specialist with a lot of experience in creating complex automation tools, formulas, databases, queries and macros. You may check some of my projects here: [login to view URL] 기타

$60 CAD (2일 이내)
(161건의 리뷰)
6.4

이 일자리에 대한 프리랜서 10 명의 평균 입찰가: $114

schoudhary1553

Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. Pl 기타

$220 CAD (4일 이내)
(384 리뷰)
8.1
daniyal3214

I can definitely help you with that. I am a professional Data Analyst and Excel (VBA and Macro) expert holding years of experience in Excel, Access, SQL, Tableau and Power BI. I will be happy to discuss in detail.

$250 CAD (3일 이내)
(74 리뷰)
5.8
ChrisKostas

Hi guys, I can make your data fit your database schema in no time . Seriously ,anything you need. I'd love to hear back from you!

$100 CAD (2일 이내)
(4 리뷰)
2.6
TopWritingGuru

Hi. Since functioning from 2008, I have accomplished hawk eye for the requirements, and I have all the aptitudes to produce showpiece as per your anticipations. Creating a masterpiece is an art, and I am a master in it 기타

$30 CAD (1일 이내)
(1 리뷰)
1.2
toplinesolutions

Hi I am good in your required project, I also have a huge amount of working experience of more than 7 years. To ensure please visit my profile and check customers satisfaction level. https://www.freelancer.com/u/topli 기타

$30 CAD (1일 이내)
(0 리뷰)
0.0
AlexOSA

I'm an Excel, VBA macro and formula expert . I can do anything in Excel. Projects: "Data spiders" "parser" .. etc. Algorithms: Algorithms Litla .. etc. Statistical analysis .. etc. Data migration - google tables 기타

$111 CAD (4일 이내)
(0 리뷰)
0.0