Formula Recommendation

stockopt

New Member
Joined
Jan 7, 2019
Messages
4
I have referred to a number of your videos and your advice has helped me immensely. Can you please proved a recommendation for me? I am putting together an order form and to set up the shipping and handling. Here are the guidelines:


[TABLE="width: 242"]
<colgroup class=""><col width="101" class="" style="width: 76pt;"><col width="141" class="" style="width: 106pt;"></colgroup><tbody class="">[TR]
[TD="class: xl64, width: 101"] Total[/TD]
[TD="class: xl65, width: 141"] Shipping[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$0.00[/TD]
[TD="class: xl66, align: right"]$10.00[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$99.99[/TD]
[TD="class: xl66, align: right"]$10.00[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$100.00[/TD]
[TD="class: xl68, align: right"]10.00%[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$1,999.99[/TD]
[TD="class: xl68, align: right"]10.00%[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$2,000.00[/TD]
[TD="class: xl68, align: right"]9.50%[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$4,999.90[/TD]
[TD="class: xl68, align: right"]9.50%[/TD]
[/TR]
[TR]
[TD="class: xl67, align: right"]$5,000.00[/TD]
[TD="class: xl66, align: right"]$0.00[/TD]
[/TR]
</tbody>[/TABLE]


I have a cell with the subtotal where I have used the Vlookup but the problem is with orders below $100. Can I do a Sumif and Vlookup combo? With the Vllookup, I have to multiply Shipping (%) with subtotal but I am unable to add $10 for all orders under $100. Thank you for your time.
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
can you add an IF()

IF( subtotal < $100.00 , Subtotal + 10 , Vlookup () )
 
Upvote 0
did that solve the question for you
 
Upvote 0
Wayne,

I wrote this formula: IF(subtotal <100,subtotal +10,VLOOKUP(subtotal ,Shipping,2)*subtotal ). If automatically add the the $10 but will the amount if over $100 it also the $10. It this correct formula. Thank you again
 
Upvote 0
Wayne,

I wrote this formula: IF(subtotal <100,subtotal +10,VLOOKUP(subtotal ,Shipping,2)*subtotal ). If automatically add the the $10 but will the amount if over $100 it also the $10. It this correct formula. Thank you again

VLOOKUP(subtotal,shipping,2)*subtotal will only give you the shipping $, if you want the amount + shipping, you need subtotal + vlookup(subtotal,shipping,2)*subtotal.

Add ,1 at the end of your vlookup to make it vlookup(subtotal,shipping,2,1)
this will make it an approximate match, rather than an exact match
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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