Positive or Negative Value in a Cell if a Nearby Cell is One of Two Values

MntnrMark

Board Regular
Joined
Dec 18, 2012
Messages
57
I have a column, say its Column C, that has multiple rows showing either a "P" (for Positive) or "N" (for Negative) impact on endeavors described in the various Rows of Column B.

I then type a numerical value between 1 and 5 in Column D to reflect the severity/lack thereof of the impact.

I want the value in Column D to be a positive value if "P" shows up to the left in Column C, or a negative value (meaning it displays as -1, -2, -3, etc.) if "N" shows up to the left in Column C.

What's the easiest way to do that? I did it but in a very cumbersome way and would like to simplify the method.

Thanks.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
You are welcome.
Sorry for the delay in responding, but I was out most of the day.
 
Upvote 0

Forum statistics

Threads
1,215,568
Messages
6,125,599
Members
449,238
Latest member
wcbyers

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