Re: Query

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Arvi's formula makes an assumption about what you want to happen when
the date in A1 is at the end of the month. It's not that either formula
is wrong, but that since months are rather squirrelly concepts, having
different lengths, adding numbers of months can mean different things to
different folks.

Using the formula you cited, if A1 is 31/1/2005 and A2 is 13, the result
will be 3/3/2006.

Since the 0th day of XL's months are the last day of the previous month,
Arvi's formula gives 28/2/2006.

In article <1135000805.609320.277800@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"Sumit" <sumitagg@xxxxxxxxx> wrote:

> Hi Arvi Laanemets,
>
> I am not able to understand the formula. Mainly why you have used the
> Min formula. Can I use the following part of the formula :
> =DATE(YEAR(A1),MONTH(A1)+A2,DAY(A1))
>
> Please give an example to illustrate when the above formula will give
> wrong result and why.
>
> Thanks a lot for taking interest in my query.
.



Relevant Pages

  • Re: Query
    ... Please give an example to illustrate when the above formula will give ... Thanks a lot for taking interest in my query. ... Sumit ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Create table from query?
    ... I would like to add some information to a query. ... if i run the query again the additional data will be lost. ... Below I'll try to illustrate what i mean: ... Prev by Date: ...
    (comp.databases.ms-access)
  • Re: Identifying fields out of order
    ... Click on "Create Query in Design View" ... tblSeq AS Prev, tblSeq AS Next; ... Our SQL now would look like: ...
    (microsoft.public.access.queries)
  • Query based on Column Index
    ... I have attached the sql to a query that I have developed. ... regarding the TraitHistory fields. ... Prev fields from my table and update the query. ... query determine the Curr and Prev based on their position in the table. ...
    (microsoft.public.access.queries)
  • Re: Multiple field query
    ... > I need a query that will give me single column list produced from all 20 ... > the opeation fields. ... EdS ... Prev by Date: ...
    (microsoft.public.access.queries)