I AM TRYING TO USE VLOOK UP OR ANY OTHER FORMULA THAT WOULD WORK WITH MY APPROACH.
FORMULA WILL LOOK UP THE DATE FROM MULTIPLE TABLES AND POPULATE 1ST AND 2ND VALUES FOR THE CATEGORiES BASED THE DATE VALIDATION NOTE IT WILL GO TO THE NEXT VALID DATE SEE EXAMPLE BELOW I AM SORRY IF I AM NOT CLEAR BUT WHAT I AM TRYING TO DO IS INPUT THE DATE IN THE DATE INPUT AND IT WILL SEARCH THE TABLES BELOW TO POPULATE 1ST VALUE AND 2ND VALUE. FROM THE EXAMPLE BELOW I PUT IT 7/15/2008 SO IT LOOKED UP THE TABLES AT THE BOTTOM AND PICKED UP THE VALUES VALID FOR THAT DATE SO IT PICKUP THE VALUES FOR 12/31/2008
THANK YOU IN ADVANCE
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]CATEGORY[/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]DATE INPUT[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]40[/TD]
[TD]40[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD]7/15/2008[/TD]
[/TR]
</tbody>[/TABLE]
GIVEN TABLES/LOOKUP TABLE
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]CATEGORY[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]VALID TO DATE[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]VALID TO DATE[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]DATE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]20[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]30[/TD]
[TD]80[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD]60[/TD]
[TD]5[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]120[/TD]
[TD]80[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD]7[/TD]
[TD]9[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]40[/TD]
[TD]40[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]50[/TD]
[TD]100[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD][/TD]
[TD]200[/TD]
[TD]8[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]6/30/2009[/TD]
[/TR]
</tbody>[/TABLE]
FORMULA WILL LOOK UP THE DATE FROM MULTIPLE TABLES AND POPULATE 1ST AND 2ND VALUES FOR THE CATEGORiES BASED THE DATE VALIDATION NOTE IT WILL GO TO THE NEXT VALID DATE SEE EXAMPLE BELOW I AM SORRY IF I AM NOT CLEAR BUT WHAT I AM TRYING TO DO IS INPUT THE DATE IN THE DATE INPUT AND IT WILL SEARCH THE TABLES BELOW TO POPULATE 1ST VALUE AND 2ND VALUE. FROM THE EXAMPLE BELOW I PUT IT 7/15/2008 SO IT LOOKED UP THE TABLES AT THE BOTTOM AND PICKED UP THE VALUES VALID FOR THAT DATE SO IT PICKUP THE VALUES FOR 12/31/2008
THANK YOU IN ADVANCE
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]CATEGORY[/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]DATE INPUT[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]40[/TD]
[TD]40[/TD]
[TD]7/15/2008[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD]7/15/2008[/TD]
[/TR]
</tbody>[/TABLE]
GIVEN TABLES/LOOKUP TABLE
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]CATEGORY[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]VALID TO DATE[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]VALID TO DATE[/TD]
[TD][/TD]
[TD]1ST VALUE[/TD]
[TD]2ND VALUE[/TD]
[TD]DATE[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]20[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]30[/TD]
[TD]80[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD][/TD]
[TD]60[/TD]
[TD]5[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]20[/TD]
[TD]20[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]8[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]120[/TD]
[TD]80[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD][/TD]
[TD]7[/TD]
[TD]9[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]40[/TD]
[TD]40[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]50[/TD]
[TD]100[/TD]
[TD]6/30/2009[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD][/TD]
[TD]200[/TD]
[TD]8[/TD]
[TD]6/30/2008[/TD]
[TD][/TD]
[TD]50[/TD]
[TD]50[/TD]
[TD]12/31/2008[/TD]
[TD][/TD]
[TD]100[/TD]
[TD]50[/TD]
[TD]6/30/2009[/TD]
[/TR]
</tbody>[/TABLE]