Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Hello,
I am new to Excel. I am starting a business online, and I am using osCommerce to run my online shop. I have installed a contribution for osCommerce called "Easy Populate", and I am in need of help. Easy populate exports a tab-delimited text file with the info in my store's database regarding my products, and my vendor provides me with a daily ..csv file with all of the data relating to their products. Once I have these two files, I am supposed to merge them both into a single tab-delimited text file (using Easy Populate's structure) to import into my store's database. I have 2 questions that I need help with: 1) How do I merge these 2 files into a single file? The rules of the resulting file should be as follows... The products whose model number already exists in the Easy Populate file should only have their prices updated, and the products whose model number does not exist in the Easy Populate file should be added either at the top or at the bottom of the resulting file because they will need to be manually edited to include the missing info that is not provided by the vendor's .csv file, and will need to be easily identified so that the import will not give errors due to missing data. 2) The resulting file should have a formula applied to it so that the prices from the vendor's .csv file are adjusted according to the following table: Price ----------------- Mark Up $1-$50 ---------------- 30% $51-$100 -------------- 20% $101-$200 ------------- 15% $201+ ------------------ 10% I am totally clueless on even where to start on this, and am in need of dire help! Someone please give me some pointers on how to do it. -- ElNino |
#2
![]() |
|||
|
|||
![]() Quick question: Are you using the retail markup method? Or just your standard (Price*Percent)+Price??? Just want to know before I get started on question 2 that you have :) As for the rest....I'm leaving work now, but I'll read it later after class and try to help whether or not anybody responds -- malik641 ------------------------------------------------------------------------ malik641's Profile: http://www.excelforum.com/member.php...o&userid=24190 View this thread: http://www.excelforum.com/showthread...hreadid=391062 |
#3
![]() |
|||
|
|||
![]()
Hello Malik,
Thanks for looking into this for me! I can't even begin to tell you how much it is appreciated. As to your question... I think I would prefer the retail markup method, as it would make things easier on accounting. Thanks again! I can't wait to see your response! -- ElNino Quick question: Are you using the retail markup method? Or just your standard (Price*Percent)+Price??? Just want to know before I get started on question 2 that you have :) |
#4
![]() |
|||
|
|||
![]() Just to double check myself....(I haven't done this in a while)... Retail mark-up method: $500 with a markup of 20% =(500*0.20)+500 =$600 And Retail margin: $500 with a 30% margin =500/0.70 =714.29 And you want the retail *markup* method, right? -- malik641 ------------------------------------------------------------------------ malik641's Profile: http://www.excelforum.com/member.php...o&userid=24190 View this thread: http://www.excelforum.com/showthread...hreadid=391062 |
#5
![]() |
|||
|
|||
![]() I'm not too sure yet how you will combine the two files into one yet...I'm still kinda new to Excel's capabilities and how to use them ![]() Although I'm pretty sure you're going to need a macro to do that, which I'm trying to figure out right now. But for now, I have something for you to play with. Check out the attachment. I gave you two ways to do the markup (either a formula or a macro). I think you will want to use the macro function procedure because when you combine the two files into one and there is a new model number, you can use the macro that will combine the two functions to add the formula in the adjacent cell to display the markup value INSTEAD of manually typing in the formula. I'm sure you would rather it be done automatically. Tell me what you think of the attached file (worksheet and VB Editor). Hope this is a good start! +-------------------------------------------------------------------+ |Filename: Example.zip | |Download: http://www.excelforum.com/attachment.php?postid=3656 | +-------------------------------------------------------------------+ -- malik641 ------------------------------------------------------------------------ malik641's Profile: http://www.excelforum.com/member.php...o&userid=24190 View this thread: http://www.excelforum.com/showthread...hreadid=391062 |
#6
![]() |
|||
|
|||
![]()
Sweet! I didn't even know that excel had a built-in VB editor until now.
That is just awesome!! It's been a while since I used VB though, and I've never used Excel/macros for that matter until now, so I'm going to need a while to learn, but this looks very promising. You have opened my eyes to the power of Excel! This program just became 1000 times more useful in my eyes. =) -- ElNino I think you will want to use the macro function procedure because when you combine the two files into one and there is a new model number, you can use the macro that will combine the two functions to add the formula in the adjacent cell to display the markup value INSTEAD of manually typing in the formula. I'm sure you would rather it be done automatically. Tell me what you think of the attached file (worksheet and VB Editor). |
#7
![]() |
|||
|
|||
![]() I have registered on these forums now. For some reason the messages I just posted on the newsgroup haven't made it here yet. I suppose it's not instantly synchronized with the newsgroup or something, but I still think that this is pretty cool. I like these types of boards better than newsgroups anyways. ;) -- ElNino ------------------------------------------------------------------------ ElNino's Profile: http://www.excelforum.com/member.php...o&userid=25725 View this thread: http://www.excelforum.com/showthread...hreadid=391062 |
#8
![]() |
|||
|
|||
![]()
Ahh, I see the difference now. I'm going to need the margin method actually.
I'm probably going to need to rethink my chart now that I have been enlightened with this info, but I can probably adjust that easily if need be once I see the actual excel formula to accomplish this. -- ElNino |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
making changes to excel file on Windows 2003 small business server | Excel Discussion (Misc queries) | |||
Spreadsheet Dilemma | Excel Discussion (Misc queries) | |||
Scan and copy cells from one spreadsheet to another. | Excel Discussion (Misc queries) | |||
Some exported records do not show on spreadsheet | Excel Worksheet Functions | |||
Applying Existing Password to New Spreadsheet | Excel Discussion (Misc queries) |