Formula Help

  • Thread starter Thread starter KevinM
  • Start date Start date
K

KevinM

I am trying if do an if statment that will enable me to search through
a data set and if it matches it will return with a value. The
following is what I am trying to do

Example A $200 start date 01/02/07

Data Set

01/01/07 - 01/31/07 -01/31/07
02/01/07 - 02/28/07 -02/28/07
03/01/07 - 03/31/07 -03/31/07

Solution: 01/02/07 is between 01/01/07 - 01/31/07 so it will give me
the value of 01/31/07.

Is there any way to have a formula do this. Also I would like to
extend my dates for a full fiscal year if any one knows how.
 
Hi:

If your dates are in distinct columns try:

=VLOOKUP(DATEVALUE("02/01/07"),A1:A3,1, TRUE )

otherwise try:
{=VLOOKUP(DATEVALUE("02/01/07"),DATEVALUE(LEFT(A1:A3,8)),1,TRUE)}

(this is a range formula so replace the {} with control enter).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Date Axis 5
macro help 1
Excel formula 2
Find within Date Range 4
Find Period Date? 5
Lookup part of a cell's contents and return value of entire cell 2
Filtering by newest date 2
SUMIF Formula Help 8

Back
Top