UPDATE:
I just thought I'd drop in and let you guys know that I figured out the hardest part of this project today - FINALLY!
My brain must have gone into overtime today, lol because It just dawned on me all of a sudden (strange how these things happen, eh?). Anyways, I'll explain how I was able to do this with 2 simple excel formulas.
First of all, in my vendor's spreadsheet, they give the stock quantities of 12 of their locations seperately, so I needed to figure out a formula to add them all up. They also have a "status" column that states if the product is active or discontinuing, so I needed to make sure the quantity of the products whos status is "discontinuing" was 0. Also, in some of the products, instead of giving an exact stock quantity, they put the word "Available" in the cell that is supposed to contain the quantity. I don't know why they did this, but since I had no idea how many were actualy available, I chose to replace the word "Available" with 99 in the same formula. The status column was column K and the quantity columns were L-W. To make this work, first I selected empty cell X2, and made the following formula:
Then after applying this formula to cell X2, I highlighted it, and the rest of the cells below it and edit-> fill -> down to fill the rest of the cells in that column with data.
The only problem I had with this formula is when I put *IF(K2="DISCONTINUING",0,1) at the very end like I wanted it instead of right after the SUM statement, it didn't calculate right. I dunno why this happened, but it did. So I am just going to have to deal with the very few products whos status is discontinuing, and their quantity is "Available" getting a number other than 0 for now (no biggie). If anyone could tell me why this is happening, I would really love to know.
For the next formula, I needed to get my vendor's price from column F and apply that price to my markup chart. For simplicity's sake, I decided not to use the retail markup method. I made up a new chart once again,and this is the one I am going to stick with:
<$10 ---------------- Add $3
$10-$49.99 ---------- *1.3 (30%)
$50-$74.99 ---------- *1.2 (20%)
$75-$99.99 ---------- *1.15 (15%)
$100+ --------------- *1.1 (10%)
Once the markup is applied, I needed to output the result to column Y. Here is the magical formula that made this work, which has forever eluded me until today:
*drumroll*
Once this code was applied to Y2, I used the same method of filling the rest of the column as earlier.
Only took me 6 months to figure out, lol. But I am proud of myself considering that I had already given up and was going to hire someone to do this for me. Now,I just need to get figure out a way to have these formulas automatically applied to my daily vendor spreadsheet, delete the unnecessary rows, and merge with the easy populate spreadsheet from my website so it can be uploaded.
I don't think that will be nearly as much of a brain teaser as these damn formulas were for me though.
Bookmarks