Multiple IFs and other options

Ogunhe

New Member
Joined
Jun 10, 2010
Messages
42
Hello

I am trying to get a fairly tedious pricing structure sorted with a formula, and could do with some lateral thinking if anyone can help :)

I have a number of products, 5 in total, and 2 category of customer : F and NF

Product NF F
1 Free Free
2 40 50
3 45 55
4 40 45
5 45 55

I have an order form which returns values of "yes" or blank for each product to a worksheet 'submissions'.

If customers order 4 or more, F pay 150 while NF pay 190 (saving 20 and 15 respectively)
If customers order 3, F pay 115 while NF pay 145
If 2 or less, individual prices apply.

I have a separate worksheet, Invoices, with a cell where i want to calculate a total based on submitted order.

I thought to use a multiple IF with COUNTA for the discounts and then deal with the individual price orders, but I think it has two many nested layers to work...is there another solution?

So far I got the discount deals done, but am not sure how to go about turning "yes" on submissions into the associated value for summing...hm.

=IF(AND([F or NF cell]="NF", COUNTA([Product cell range])>=4, 190,(IF(AND([F or NF cell]="F", COUNTA([Product cell range])>=4,150,
(IF, (AND([F or NF cell]="NF", COUNTA([Product cell range]=3, 145,
(IF(AND([F or NF cell]="F", COUNTA([Product cell range])=3, 115))))))

Thats as far as it goes. I need somehow to get 'If customer = NF and cell
#VALUE!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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