Hi,
I want excel to look at the date value (30-Oct-16) and compare if it falls between 3 date ranges.
First site activation to FPI
FPI to LPFV
LPFV to LPLV
Depending on the result I want excel to insert 0, 0.01 or 0.005 value in the cell. Therefor if the first argument is false it needs to move onto the second argument etc I am using IF (AND) however having trouble combining the 3 arguments
[TABLE="width: 528"]
<colgroup><col width="127" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4644;"> <col width="166" style="width: 125pt; mso-width-source: userset; mso-width-alt: 6070;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;"> <col width="118" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4315;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;" span="2"> <tbody>[TR]
[TD="class: xl151, width: 127, bgcolor: transparent"] [/TD]
[TD="class: xl149, width: 166, bgcolor: transparent"]First Site Activation[/TD]
[TD="class: xl147, width: 97, bgcolor: transparent"]FPI[/TD]
[TD="class: xl147, width: 118, bgcolor: transparent"]LPFV[/TD]
[TD="class: xl147, width: 97, bgcolor: transparent"]LPLV[/TD]
[TD="class: xl148, width: 97, bgcolor: transparent"]DBL[/TD]
[/TR]
[TR]
[TD="class: xl152, bgcolor: transparent"]PRIMA[/TD]
[TD="class: xl150, bgcolor: transparent"]5-Apr-16[/TD]
[TD="class: xl146, bgcolor: transparent"]3-Aug-16[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Mar-18[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Mar-20[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Apr-20[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 382"]
<colgroup><col width="127" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4644;"> <col width="166" style="width: 125pt; mso-width-source: userset; mso-width-alt: 6070;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;"> <col width="118" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4315;"> <tbody>[TR]
[TD="class: xl145, width: 127, bgcolor: #4F81BD"]FTE OCT 2016[/TD]
[TD="class: xl145, width: 166, bgcolor: #4F81BD"]FTE NOV 2016[/TD]
[TD="class: xl145, width: 97, bgcolor: #4F81BD"]FTE DEC 2016[/TD]
[TD="class: xl145, width: 118, bgcolor: #4F81BD"]FTE JAN 2017[/TD]
[/TR]
[TR]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Oct-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Nov-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Dec-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Jan-17[/TD]
[/TR]
</tbody>[/TABLE]
I want excel to look at the date value (30-Oct-16) and compare if it falls between 3 date ranges.
First site activation to FPI
FPI to LPFV
LPFV to LPLV
Depending on the result I want excel to insert 0, 0.01 or 0.005 value in the cell. Therefor if the first argument is false it needs to move onto the second argument etc I am using IF (AND) however having trouble combining the 3 arguments
[TABLE="width: 528"]
<colgroup><col width="127" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4644;"> <col width="166" style="width: 125pt; mso-width-source: userset; mso-width-alt: 6070;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;"> <col width="118" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4315;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;" span="2"> <tbody>[TR]
[TD="class: xl151, width: 127, bgcolor: transparent"] [/TD]
[TD="class: xl149, width: 166, bgcolor: transparent"]First Site Activation[/TD]
[TD="class: xl147, width: 97, bgcolor: transparent"]FPI[/TD]
[TD="class: xl147, width: 118, bgcolor: transparent"]LPFV[/TD]
[TD="class: xl147, width: 97, bgcolor: transparent"]LPLV[/TD]
[TD="class: xl148, width: 97, bgcolor: transparent"]DBL[/TD]
[/TR]
[TR]
[TD="class: xl152, bgcolor: transparent"]PRIMA[/TD]
[TD="class: xl150, bgcolor: transparent"]5-Apr-16[/TD]
[TD="class: xl146, bgcolor: transparent"]3-Aug-16[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Mar-18[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Mar-20[/TD]
[TD="class: xl146, bgcolor: transparent"]1-Apr-20[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 382"]
<colgroup><col width="127" style="width: 95pt; mso-width-source: userset; mso-width-alt: 4644;"> <col width="166" style="width: 125pt; mso-width-source: userset; mso-width-alt: 6070;"> <col width="97" style="width: 73pt; mso-width-source: userset; mso-width-alt: 3547;"> <col width="118" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4315;"> <tbody>[TR]
[TD="class: xl145, width: 127, bgcolor: #4F81BD"]FTE OCT 2016[/TD]
[TD="class: xl145, width: 166, bgcolor: #4F81BD"]FTE NOV 2016[/TD]
[TD="class: xl145, width: 97, bgcolor: #4F81BD"]FTE DEC 2016[/TD]
[TD="class: xl145, width: 118, bgcolor: #4F81BD"]FTE JAN 2017[/TD]
[/TR]
[TR]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Oct-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Nov-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Dec-16[/TD]
[TD="class: xl147, bgcolor: transparent, align: right"]30-Jan-17[/TD]
[/TR]
</tbody>[/TABLE]