VLOOKUP Question for Sales Spreadsheet

SkzDaLimit

Board Regular
Joined
Dec 1, 2002
Messages
54
Greetings to everyone, I come once again to ask for your assistance on a nice head scratching problem I have.

I have a sales spreadsheet I created for eBay that uses macros to make fee calculations. I have had a few requests from people for a version without macros since they contain VBA code and some people are leery of such things.

I want to do this using VLOOKUP but I am not sure how to incorporate the formula into it. It's pretty extensive and uses different %'s and other calculations just to give you a fee.

This is an example of what I have so far......

Excel Workbook
ABCDEFG
1Item CategorySelling PriceeBay FeeeBay CategoriesFormula
2$19.99
3All Other Items
4Books & Media
5Car Electronics
6Car Parts
7Clothing
8Consumer Electronics
9Regular Auction (No Store)
10Regular Auction (Store)
Sheet1
Excel 2003

In this example, A2 is a drop down using Data Validation from column F. B2 is the price an item sold for and C2 will be the fee when calculated. F3:C10 is where I am going to put the VLOOKUP but how would I integrate the formulas in. Here are the formulas:

Code:
=IF(C2<=50,C2*11%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=IF(C2<=50,C2*13%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=IF(C2<=50,C2*7%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=IF(C2<=50,C2*10%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=IF(C2<=50,C2*10%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=IF(C2<=50,C2*7%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
=SUM(C2*9%)
=IF(C2<=50,C2*7.5%,IF(C2<=1000,(C2-50)*6%+3.75,(C2-1000)*2%+41.75))
The formulas are in the correct order to the appropriate category in column F starting with "All Other Items" and working down.

Many thanks for your help as always!
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Excel Workbook
ABCDEFG
1Item CategorySelling PriceeBay FeeeBay CategoriesFormula
2Car Parts19.992.00
3All Other Items2.20
4Books & Media2.60
5Car Electronics1.40
6Car Parts2.00
7Clothing2.00
8Consumer Electronics1.40
9Regular Auction (No Store)1.80
10Regular Auction (Store)1.50
Sheet
#VALUE!


Hide column G.
 
Upvote 0
SkzDaLimit,

I do have some thoughts on this but can't respond in detail for 2 / 3 hours or so.

Can you tell me...
Is this just a calculator? As in, enter a price in C2 and get the bay fee. Then clear C2 and enter your next query. As opposed to computing a fee in each row for various different items?
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,710
Members
452,939
Latest member
WCrawford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top