Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default A formula needed - probably an array formula

I have a database with hundreds of names - some repeat customers - which
is set up as follows:

Column A Column B Column C Column D
Dates First Names Last Names A Formula??

- Each row in the database has Date, First Name, Last Name. (More added

each
day)

- the same name is often used several times during the year - hence

another row in
the database.

- is it possible to have a formula in Column D that will say "yes" if it

is
the
most recent(latest date) transaction for that name for the year so far or

"no" if
there is another transaction for that same name farther down (later date)

in the year.

Important! - if a transaction for John Doe is entered, for example, on Feb

5, the formula needs to say "Yes" in Column D. But if a new transaction, for
John Doe again, is entered on May 23, then the one on Feb 5 needs to change
to "No" since is no longer the most recent transaction (for John Doe)PLUS
the May 23rd transaction now needs to say "Yes" - until(if there is one) a
later one is entered, in which case, it will to change to "No".

Thanks for any help
Jim



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default A formula needed - probably an array formula

From: Ron Rosenfeld
Subject: A Stickler of a problem
Date: Wed, 27 Aug 2003 22:13:45 -0400
Message-ID:
References:

On Wed, 27 Aug 2003 20:28:49 -0500, "Jim" wrote:

Is this possible?

Column A Column B
Column C
100's of Different Dates 100's of Different First Names
Last Names(100's of them)

- Each row in the database has Date, First Name, Last Name. (More added

each
day)

- a name is often used several times during the year - hence another row in
the database.

- is it possible to have a formula in Column D that will say "yes" if it

the
most recent(last) transaction for that name for the year so far or "no" if
there is another transaction for that same name farther down in the year.

thanks for any help!!

Jim, again!




If your three ranges are named Dates, First and Last, then *array-enter* the
formula: =IF(A2=MAX((First=B2)*(Last=C2)*Dates),"Yes","No") into D2 and
copy
down as far as necessary.

To array-enter a formula, hold down <ctrl<shift while hitting <enter. XL
will place braces {...} around the formula.


--ron

-----------
Formula, written correctly, will adjust to changing conditions.

--
Regards,
Tom Ogilvy


Jim wrote in message ...
I have a database with hundreds of names - some repeat customers - which

is set up as follows:

Column A Column B Column C Column D
Dates First Names Last Names A Formula??

- Each row in the database has Date, First Name, Last Name. (More added

each
day)

- the same name is often used several times during the year - hence

another row in
the database.

- is it possible to have a formula in Column D that will say "yes" if it

is
the
most recent(latest date) transaction for that name for the year so far

or
"no" if
there is another transaction for that same name farther down (later

date)
in the year.

Important! - if a transaction for John Doe is entered, for example, on

Feb
5, the formula needs to say "Yes" in Column D. But if a new transaction,

for
John Doe again, is entered on May 23, then the one on Feb 5 needs to

change
to "No" since is no longer the most recent transaction (for John Doe)PLUS
the May 23rd transaction now needs to say "Yes" - until(if there is one) a
later one is entered, in which case, it will to change to "No".

Thanks for any help
Jim





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default A formula needed - probably an array formula

Jim,

You've posted this same question now three different times and received
multiple answers.

It looks as if you are unable to find responses to your questions so I'm
sending this also by email.

Try either figuring out your newsreader, or doing a Google search on the
newsgroup looking for the stuff you've posted.

======================================




On Sun, 31 Aug 2003 15:22:54 -0500, "Jim" wrote:

I have a database with hundreds of names - some repeat customers - which

is set up as follows:

Column A Column B Column C Column D
Dates First Names Last Names A Formula??

- Each row in the database has Date, First Name, Last Name. (More added

each
day)

- the same name is often used several times during the year - hence

another row in
the database.

- is it possible to have a formula in Column D that will say "yes" if it

is
the
most recent(latest date) transaction for that name for the year so far or

"no" if
there is another transaction for that same name farther down (later date)

in the year.

Important! - if a transaction for John Doe is entered, for example, on Feb

5, the formula needs to say "Yes" in Column D. But if a new transaction, for
John Doe again, is entered on May 23, then the one on Feb 5 needs to change
to "No" since is no longer the most recent transaction (for John Doe)PLUS
the May 23rd transaction now needs to say "Yes" - until(if there is one) a
later one is entered, in which case, it will to change to "No".

Thanks for any help
Jim



--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array Formula Help Needed nelly Excel Worksheet Functions 5 April 13th 10 12:43 PM
Excel formula to copy/paste formula needed please. colwyn Excel Discussion (Misc queries) 4 October 22nd 08 11:27 PM
Array formula expertise needed CJ-22 Excel Worksheet Functions 0 February 10th 06 02:56 AM
Array formula needed ZipCurs Excel Worksheet Functions 4 December 17th 05 02:16 PM
Array formula needed Domenic Excel Worksheet Functions 0 August 26th 05 04:23 AM


All times are GMT +1. The time now is 03:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"