Question Locked

Replace data in Excel 2007

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am at a loss on HOW to take the data I have in one sheet and update it from another (data feed). All cells have a unique value although the information I want to replace uses the same formula. Exactly what am I doing? I have all of the product I sell including quantities, pricing, etc in on excel sheet. All product has a unique id. I need to update what has become in or out of stock, but more important is the fluctuation of MY cost on items ... so I need to change my selling price frequently for thousands of items. Can I somehow MATCH on the ID ... AND at the same time CHANGE the value of the sale price? Any directives would be greatly appreciated. Thanks in advance ... Lisa

4 replies

by scott_heath

Through good coding anything is possible. But not always feasible. What it your data source(s)? It sounds like it may be another spreadsheet. I am not an Excel guru, but I wrote some VBA that coallates data we get from two vendors and a text file I generate from a router. External data gathering is certainly possible. Can you give specific samples?

Regards,
Scott

http://scottisageek.spaces.live.com

by lmp884

Hi Scott ... thank you for caring to help. I don't see where I can upload an example, so I will try to explain as best I can. Like I said, I am really at a loss. There has to be a way EXCEL can work for me.

All of my data starts as a .txt file. I Open it in excel to make the changes needed as I have over 11,000 items. I sort and make changes several times to specific data and type, but that isn't the issue as that can change depending on my mood :-)

Column A = Action (Add to inventory, revise, or delete from inventory)
Column B = item label that may be used for multiple items... such as different quantites, but still the same part number.
Column C - I = different descriptives that doesn't change
Column J = Retail (not used, just reference for me)
Column K = Selling price
Column L = where I do my modifications to start price that I get from Column M which is my cost. I get my start price using =M2*35%+M2 and if no mods are needed I move it to K. This is the intial sheet. I save as .csv to upload to the web... with Column A being a command of ADD.

Once the product is added to the web a unique id is assigned. I can if I have to manually MATCH as this would be a one time task.

What I need to do is REVISE my selling prices daily. I receive a daily datafeed (.txt) This is where I don't know how to explain it. I need somehow to match to current inventory and update the prices. Once I get that part accomplished ... I want to be able to ADD and REMOVE items that aren't on my main file.

I know excel is a great tool and it is probably wasted in my hands as I don't use (don't know how) for all it's worth. I am familiar with the basic math functions of it, sorting, find and replace ... simple stuff ... that's about it.

I don't find it in help ... I tried a couple of different things from the import data, that made a mess that I couldn't undo (no ask for save) ... but I did attempt from a copy.

so ... how do I match and replace as the main thing I need to do?

Thanks for helping! ... Lisa

by scott_heath

I am not an Excel formula guru, but it sounds like the best way to achieve what you want it through custom coding in Excel. MS Office products support VBA (Visual Basic for Applications) and it is quite powerful. It is how I manipulate my data. The problem is, for what you want to do, it would be time consuming. Try using Goodle to look for VBA tutorials and see how it comes along. Or maybe bring in a contrator to write it for you?

Regards,
Scott

http://scottisageek.spaces.live.com

This discussion is closed to new replies.