If, AND, OR - How to

fernipascual

Board Regular
Joined
Sep 3, 2009
Messages
76
Hi:

I have two columns with data going down hundreds of rows, including blank cells. Columns E & F.

If in the row, both E and F > 0, $10. If one of them is 0 (or blank) and the other >0, then $5, If both are 0 (or blank), then $0.

I hope this is enough information.

Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
I ommitted the most important part because I thought I could figure it out. So here’s the rest.

This is a program that pays based on product sold. There are two products, A & B and two eligible periods, Month 1 and Month 2. They only get paid once for each product. Either $5 per product or $3. Here are the scenarios:

Month 1 - Sold product A & B = $10. Month 2 – sold product but no payment
Month 1 – Sold product A = $5, no B. Month 2 - Sold product B = $3, (doesn’t matter if sold A)
Month 1 – Sold product B = $5, no A. Month 2 - Sold product A = $3, (doesn’t matter if sold B)
Month 1 – no product sold. Month 2 sold A & B = $6
Month 1 – no product sold. Month 2 sold A = $3, no B = $0
Month 1 – no product sold. Month 2 sold B = $3, no A = $0
Month 1 and Month 2 - Did not sell product at all

Thanks!
EFGHI
Month 1Month 1Month 2Month 2Payment Formula
Prod AProd BProd AProd B
4258$10
5052$8
0522$8
0035$6
0030$3
0002$3
0000$0
0

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,755
Members
448,989
Latest member
mariah3

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