IF Function - vlookup / true false

RJB78

Board Regular
Joined
Aug 8, 2016
Messages
69
Office Version
  1. 365
Hello. Thank you in advance for the assistance.

I have a formula that I am trying to update. Currently, the formula references other data points that are on the same worksheet as the formula. The datapoints use vlookups to display the data from other input worksheets. I would like to convert the formula so instead of looking for the value in the same worksheet, it will go directly to the data input worksheet.

The formula is below. For example, in the bolded section; currently in cell BG2 is a vlookup that will return: 'A+, A, A-, etc'. How can I rewrite the formula to find the letter grade in a different workbook, lets call it 'GRADES', and allow the OR formula to be true or false based on the result.

=IFERROR(IF(AND((($T2*1000)*0.5)>((RF!$AF$38*0.04)/$H2),$D2<>"LP",OR($BG2={"A+","A","A-","B+","B","B-","NR"}),$Q2>=4,OR($BD2="Yes",BE2>=4,BF2=4)),"Yes","No"),"No")
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
currently in cell BG2 is a vlookup

OR($BG2={"A+","A","A-","B+","B","B-","NR"})
Replace $BG2 in the "big" formula with the formula you have in cell BG2.

For example:

VLOOKUP(BH2,Sheet2!$A$2:$B$8,2,0)

Rich (BB code):
OR(VLOOKUP(BH2,Sheet2!$A$2:$B$8,2,0)={"A+","A","A-","B+","B","B-","NR"})

This is an example, never in a million times will I guess what formula you have in cell BG2, so change my formula to your actual formula.
 
Upvote 0

Forum statistics

Threads
1,215,202
Messages
6,123,625
Members
449,109
Latest member
Sebas8956

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