=if with drop down list using VLOOKUP

RedleoUK

New Member
Joined
Jul 3, 2022
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

Really hope someone can help me with this as I've been digging around the internet and racking my brains for days now.

I'm a sales person in a team and I'm looking at making a spreadsheet to help other people and myself create deals to sell to customers.

Spreadsheet.png

This is what I have made so far but I've hit a bit of a brick wall.

The person using this guide will first have to select if the customer is a B2B client from the drop down in B12. If they are a B2B customer then they get a 15% discount. If they are not they get 10%. The value in G10 will change dependent on the Yes or No selection.

However, they only get this discount if the value in B10 is 10 units or higher.

Is there a way to make the value in H10 switch between three possible outcomes?

So, if less then 10 it stays at £19.55.
If more than 10 it takes the percentage from G10 and puts the price in H10 either £16.62 for 15% or £17.60 if 10%.

Am I asking excel to do too much here? is this formula even possible??

Any help would be much appreciated.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Here's a copy of my sheet if it will help someone :)

deal calculator.xlsx
A
9
Deal Maker
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=IF(B10<10,C10,C10*(1-G10))
 
Upvote 0
deal calculator.xlsx
ABCDEFGHIJK
1Within the deal?Wholesale priceWholesale price +VATRRP Value (per Outer)PORDiscountWholesale priceWholesale price +VATRRP Value (per Outer)POR
2£ 50.00£ 60.00£ 320.00£ 196.00£ 50.00£ 60.00£ 320.00£ 196.00
3£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
4£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
5£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
6£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
7£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
8£ 32.50£ 39.00£ 59.90£ 8.92£ 7.50£ 25.00£ 30.00£ 59.90£ 17.92
9£ 13.50£ 16.20£ 24.95£ 3.76£ 13.50£ 16.20£ 24.95£ 3.76
10£ 19.55£ 23.46£ 34.95£ 4.5015%£ 19.55£ 23.46£ 34.95£ 4.50
11Full Price£ -£ -£ -Discounted Price£ -£ -£ -
12B2B?Yes
13
14
15
16
17
18
19
20
21Answer0
22Yes15%£ 16.62
23No10%£ 17.60
24
2510
26
Deal Maker
Cell Formulas
RangeFormula
H3:H8H3=SUM(32.5-G3)
K2:K10,F2:F10F2=SUM((E2*0.8)-D2)
D2:D10,I2:I10D2=SUM((C2*0.2)+C2)
G10G10=VLOOKUP(B12,A21:B23,2,FALSE)
D11D11=SUM((B2*D2)+(B3*D3)+(B4*D4)+(B5*D4)+(B6*D5)+(B6*D6)+(B7*D7)+(B8*D8)+(B9*D9)+(B10*D10))
E11E11=SUM((B2*E2)+(B3*E3)+(B4*E4)+(B5*E4)+(B6*E5)+(B6*E6)+(B7*E7)+(B8*E8)+(B9*E9)+(B10*E10))
F11F11=SUM((B2*F2)+(B3*F3)+(B4*F4)+(B5*F4)+(B6*F5)+(B6*F6)+(B7*F7)+(B8*F8)+(B9*F9)+(B10*F10))
I11I11=SUM((B2*I2)+(B3*I3)+(B4*I4)+(B5*I4)+(B6*I5)+(B6*I6)+(B7*I7)+(B8*I8)+(B9*I9)+(B10*I10))
J11J11=SUM((B2*J2)+(B3*J3)+(B4*J4)+(B5*J4)+(B6*J5)+(B6*J6)+(B7*J7)+(B8*J8)+(B9*J9)+(B10*J10))
K11K11=SUM((B2*K2)+(B3*K3)+(B4*K4)+(B5*K4)+(B6*K5)+(B6*K6)+(B7*K7)+(B8*K8)+(B9*K9)+(B10*K10))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B12Expression=$B12="No"textNO
B12Expression=$B12="No"textNO
B12Expression=$B12="Yes"textNO
Cells with Data Validation
CellAllowCriteria
B12ListAnswer,Yes,No
 
Upvote 0
Did you see my reply?
 
Upvote 0

Forum statistics

Threads
1,214,416
Messages
6,119,384
Members
448,889
Latest member
TS_711

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