Returning multiple values based on multiple parameters

thelsleyjr

New Member
Joined
Sep 18, 2019
Messages
3
Please help! I am struggling so bad!

I am trying to run 4 potential values.

C11 can contain "Mini" or "Regular"
Mini = 5.50
Regular = 6.50

BUT

If H11 contains "Lays","BBQ","Doritos", then add .50 to total.

So if they select one of those options, the total then becomes 6.00 for a Mini & Chip, or 7.00 for Regular & Chip


Here's what I have so far... =IF(C11="Regular","6.50",IF(C11="Mini","5.50")) But I can't seem how to work it in to add the .50 if they add chips to either option.

If this would let me add a photo I would share but I can't seem to figure that out.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi & welcome to MrExcel.
Where do the chips come into it?
 
Upvote 0
Assuming you meant H11 could be Chips rather than Lays, try
=IFERROR(LOOKUP(C11,{"Mini","Regular"},{5.5,6.5})+IF(OR(H11={"Chips","BBQ","Doritos"}),0.5,0),"")
 
Upvote 0
Assuming any of the 3 brands of chips add $0.50:
Code:
=IF(C11="Regular","6.50",IF(C11="Mini","5.50",0))+IF(H11="",0,LOOKUP(H11,{"Lays","BBQ","Doritos"},{0.5,0.5,0.5}))
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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