Need help backtracking and figuring out what this conditional formula means in words.

iceshark17

New Member
Joined
Jun 24, 2014
Messages
7
I am applying a formula from one existing project to a new project with similar data, but need to understand the formula so that I may see if any changes must be made to accomodate the new project:

=IF(OR(C2=0,C2="",D2=0,D2=9999),"",(D2+(IF(AND(C2="ACP",B2<=8),REF_SHEET!$B$9,VLOOKUP(C2,REP_LIFE!$A$7:$B$21,2,0)))-REF_SHEET!$B$23))

I prefer to keep it vague and speak in terms of the names of the cells rather than the content inside of it.

Could someone please provide a translation that would look something like:

if C2 is equal to "0" or no entry, or D2 is equal to "0" or "9999", then the answer is "_". Otherwise, the answer is "D2 + 'X' if so and so is true..."

I've been staring at this formula for a few hours now and it's got me all sorts of confused.

Thank you in advance for anyone taking the time to see if they could help.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
you're pretty much right on the money.
If C2 meets any of the following criteria the result will be a blank cell.
C2 is 0, or blank OR D2 is 0, or 9999.
If it non of these values appear in C2 or D2, then does the following
Whatever value in D2 +
the value of the VLOOKUP. The vlookup is depended on
If C2 = ACP AND B2<=8. If it meets BOTH of those criteria, it will vlookup(C2,rep_life!A7:B21,2,0)
If C2 =ACP and B2 <=8 is not met, it ignores the vlookup.
D2+vlookup (if AND statement is met)-ref_sheetB23 value

hope that helps.
 
Upvote 0

Forum statistics

Threads
1,214,892
Messages
6,122,112
Members
449,066
Latest member
Andyg666

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