Convoluted If/Vlookup formula? Not sure how to code this one.

srosk

Board Regular
Joined
Sep 17, 2018
Messages
132
Schedule

Schedule Name
%1
%2
%3
%4
%5
%6
%7
1
bla1
2
0
40
6
0
8
0
100
100
2
bla2
100
100
100
100
10
3immediate
100
100
100
100
100
100
100


<tbody>
</tbody>

Ok.. so this is a little complicated. I currently have an If statement written that says if abs(T-M)> 1 and W < 1, then execute function “C”.The issue, is that isn’t quite exactly how my process shouldwork.

What needs to happen, is it needs to determine the highestschedule before it reaches 100. So for sched 1, that’d be year 5. For schedule2, year 3. The script would say if T < Y4 (for example) and if abs(T-M)> 1, then execute function “C”. My sheet withdata does not have schedule # on it. Instead it has ‘source’ in column U. Ihave table with the following on the instructions tab as well.
Source | Schedule

What I know needs to happen is a vlookup of source (columnU), against the instructions tab columns H:I to determine the schedule. But, Inot know how to determine which year (%1, %2, %3, etc.) is the last year beforeit reaches 100.

To complicate matters… on the schedule 0 where it isimmediately 100, I want to possibly determine out of all schedules, what is thehighest year # (%1, %2, %3, etc.), before there is a 100%. Sorry if this doesn’tmake total sense.. I’ll be around for questions!



 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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