|
|
Subject:
Excel - matching a date within date ranges
Category: Computers > Software Asked by: mykemyke-ga List Price: $5.00 |
Posted:
15 Jul 2005 14:39 PDT
Expires: 17 Jul 2005 10:33 PDT Question ID: 543970 |
|
There is no answer at this time. |
|
Subject:
Re: Excel - matching a date within date ranges
From: shockandawe-ga on 15 Jul 2005 17:55 PDT |
Lets say your categories are in range B1:F1 And your from dates are in B2:F2 lets say the date in question is cell A5 then this formula in any cell will do the trick. match(A5,B1:F1,B2:F2) notice it doesn't use the from date at all. This works because there aren't any gaps between the intervals starting on your "to" dates. It just finds the cell that is the closest date match without going over -- price is right style-- then reports the corresponding category. it gets trickier if there are gaps in the intervals. |
Subject:
Re: Excel - matching a date within date ranges
From: shockandawe-ga on 15 Jul 2005 17:56 PDT |
I goofed that function should read =match(A5,B2:F2,B1:F1) |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |