formula needed to report value based on value in another column.

RodneyW

Active Member
Joined
Sep 24, 2010
Messages
481
Office Version
  1. 2013
Platform
  1. Windows
I need a formula for R2 that I can drag down to R3, etc.

R2 needs to look at Q2, which will either have a “B” or an “O” if Q2=B, then R2 should report the value inP2. If Q2=O then R2 should report thevalue of O2+P2.

Thanks in advance for the help

 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
How about
=IF(Q2="","",IF(Q2="B",P2,O2+P2))
 
Upvote 0
Needed a minor tweak but this worked:=IF(Q10="","",IF(Q10="O",P10,O10+P10)) Thanks for the help
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,225,761
Messages
6,186,890
Members
453,383
Latest member
SSXP

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