HEEEYYYLPPPPP with formula please

adam1993

New Member
Joined
May 16, 2018
Messages
16
I am looking for help with a formula for the following situation...
Person APerson B-20%$150Person B
Person APerson B20%$100Person A

<tbody>
</tbody>


I am looking for help in column E. If column C is a negative percentage and column D is between $1 and $200, then I would like column E to show whatever is in column B.
AND the opposite...
If column C is a positive percentage and column D is between $1 and $200, then I would like column E to show whatever is in column A.

Please help:ROFLMAO:
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Try;

Code:
=if(and(C2<0,D2>=1,D2<=200),B2,if(and(C2>=0,D2>=1,D2<=200),A2,""))

Off the top of my head.
 
Upvote 0
Yea...you right. There would be no need for the nested if since the second parameter is just the opposite of the first.

Hi,

May be, may be not, what if the C value is 0? Unless OP considers that a "Positive".
 
Upvote 0
I thought about that too, but decided to wait to see if OP had any thoughts on that
 
Upvote 0

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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