Formula Help

vharp91

New Member
Joined
Jul 24, 2020
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
Looking for a formula in column R that has the following logic (see screenshot of spreadsheet below):
  • If column I = 1, pull in value from column L into column R
  • If column I = 2, pull in value from column M into column R
  • If column I = 3, pull in value from column L into column R
  • If column I = 0 and column J = 1, pull in value from column N into column R
  • If column I = 0 and column J = 2, pull in value from column O into column R
  • If column I = 0 and column J = 3, pull in value from column N into column R
  • If column I = 0 and column J = 0 and column K = 1, pull in value from column P into column R
  • If column I = 0 and column J = 0 and column K = 2, pull in value from column Q into column R
  • If column I = 0 and column J = 0 and column K = 3, pull in value from column P into column R
  • If column I = “Not Benchmarked”, pull in same value that is in column I (i.e. Not Benchmarked) into column R
1691615606247.png
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Try

Excel Formula:
=IF(I2="Not Benchmarked",I2,IF(I2=1,L2,IF(I2=2,M2,IF(I2=3,L2,IF(AND(I2=0,J2=1),N2,IF(AND(I2=0,J2=2,),O2,IF(AND(I2=0,J2=3),N2,IF(AND(I2=0,J2=0,K2=1),P2,IF(AND(I2=0,J2=0,K2=2),Q2,IF(AND(I2=0,J2=0,K2=3),P2,""))))))))))
 
Upvote 0
Try

Excel Formula:
=IF(I2="Not Benchmarked",I2,IF(I2=1,L2,IF(I2=2,M2,IF(I2=3,L2,IF(AND(I2=0,J2=1),N2,IF(AND(I2=0,J2=2,),O2,IF(AND(I2=0,J2=3),N2,IF(AND(I2=0,J2=0,K2=1),P2,IF(AND(I2=0,J2=0,K2=2),Q2,IF(AND(I2=0,J2=0,K2=3),P2,""))))))))))
Thank you so much! The formula is working aside from these three records in the screenshot below that are pulling in blanks but are going by this logic:
  • If column I = 0 and column J = 2, pull in value from column O into column R
1691620230522.png

1691620201585.png

Any ideas on how to fix this?
 
Upvote 0
Can you click on I207 and J207 and show decimals? like this

1691666503085.png
 
Upvote 0

Forum statistics

Threads
1,215,152
Messages
6,123,323
Members
449,094
Latest member
Chestertim

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