Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
excelFan
 
Posts: n/a
Default occurrence (last) reference

hi all,
please help
A1:A100 is for the date values (for each entry a single date)
B1:B100 is holding names (text values) which might be repeated in many
entries
C1 is a referece cell, where i may put any name (from the list B1:B100)
where i want to retrieve the adjacent date of the last occurrence of that
particular name which i put in C1
many thanks for any help
  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Try this array formula entered with the key combo of
CTRL,SHIFT,ENTER:

=MAX(IF(B1:B100=C1,A1:A100))

Format the cell as DATE

Biff

-----Original Message-----
hi all,
please help
A1:A100 is for the date values (for each entry a single

date)
B1:B100 is holding names (text values) which might be

repeated in many
entries
C1 is a referece cell, where i may put any name (from

the list B1:B100)
where i want to retrieve the adjacent date of the last

occurrence of that
particular name which i put in C1
many thanks for any help
.

  #3   Report Post  
Ragdyer
 
Posts: n/a
Default

Just a non-array option:

=SUMPRODUCT(MAX((B1:B100=C1)*A1:A100))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Biff" wrote in message
...
Hi!

Try this array formula entered with the key combo of
CTRL,SHIFT,ENTER:

=MAX(IF(B1:B100=C1,A1:A100))

Format the cell as DATE

Biff

-----Original Message-----
hi all,
please help
A1:A100 is for the date values (for each entry a single

date)
B1:B100 is holding names (text values) which might be

repeated in many
entries
C1 is a referece cell, where i may put any name (from

the list B1:B100)
where i want to retrieve the adjacent date of the last

occurrence of that
particular name which i put in C1
many thanks for any help
.


  #4   Report Post  
excelFan
 
Posts: n/a
Default

thanks Biff for your help
works ok

"Biff" wrote:

Hi!

Try this array formula entered with the key combo of
CTRL,SHIFT,ENTER:

=MAX(IF(B1:B100=C1,A1:A100))

Format the cell as DATE

Biff

-----Original Message-----
hi all,
please help
A1:A100 is for the date values (for each entry a single

date)
B1:B100 is holding names (text values) which might be

repeated in many
entries
C1 is a referece cell, where i may put any name (from

the list B1:B100)
where i want to retrieve the adjacent date of the last

occurrence of that
particular name which i put in C1
many thanks for any help
.


  #5   Report Post  
excelFan
 
Posts: n/a
Default

many thanks Ragdter
your suggestion is excellent and was very helpful to me

"Ragdyer" wrote:

Just a non-array option:

=SUMPRODUCT(MAX((B1:B100=C1)*A1:A100))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Biff" wrote in message
...
Hi!

Try this array formula entered with the key combo of
CTRL,SHIFT,ENTER:

=MAX(IF(B1:B100=C1,A1:A100))

Format the cell as DATE

Biff

-----Original Message-----
hi all,
please help
A1:A100 is for the date values (for each entry a single

date)
B1:B100 is holding names (text values) which might be

repeated in many
entries
C1 is a referece cell, where i may put any name (from

the list B1:B100)
where i want to retrieve the adjacent date of the last

occurrence of that
particular name which i put in C1
many thanks for any help
.



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
Maintaining cell reference after sorting GRITS Excel Discussion (Misc queries) 2 April 30th 23 07:42 PM
how to create a variable column in cell reference Sampson Excel Worksheet Functions 3 February 21st 05 10:13 PM
Cell Reference Math Ralph Howarth Excel Worksheet Functions 0 January 26th 05 06:27 PM
Incrementing rows (or columns) to a reference in another worksheet Ignobilitor Excel Worksheet Functions 2 January 20th 05 03:45 PM
How do I reference multiple rows Awetronics Excel Worksheet Functions 1 November 4th 04 12:37 AM


All times are GMT +1. The time now is 02:50 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"