Combine four Conditions in Excel

lovemachine

New Member
Joined
Sep 9, 2007
Messages
2
HELP!!!

I would like to combine the four formula below in one cell (Column D):

=IF(AND(C4="Electrical",A4="Credit"),$K$4,$K$3)
Notes: If the warranty category is Electrical and the account type is Credit, return a rate of 5% if TRUE and 10% if FALSE.​
=IF(C4="Furniture",A4="Credit"),$K$6,$K$5)
Notes: If the warranty category is Furniture and the account type is Credit, return a rate of $500 if TRUE and $1,000 if FALSE.​
=IF(C4="Optical"),$K$7)
Notes: If the warranty category is Optical, return a rate of $500 if TRUE.​
=IF(AND(A4="POS",C4="Furniture"OR"Electrical"),$K$8,0) - might be wrong??!!
Notes: If the account type is POS and the warranty category is Electrical, return the "Cash Electrical value" of 10% and if the warranty category is Furniture, return the "Cash Furniture value of $1000.​
 

Attachments

  • Warranty Build.JPG
    Warranty Build.JPG
    247.2 KB · Views: 11

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
If you will make a slight modification to your rate table as shown in the image, you can use the following formula:

Excel Formula:
=SUMPRODUCT(($I$3:$I$8=C2)*($J$3:$J$8=IF(A2="POS","Cash",A2)),$K$3:$K$8)

Note that the percentages are displayed in general format so that 5% = 0.05 in column D. I also added rows 26 and 27 to test the POS case.

Hope that helps.

Regards,
Ken
 

Attachments

  • KenU.JPG
    KenU.JPG
    88.7 KB · Views: 9
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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