Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Maintaining cell reference after sorting | Excel Discussion (Misc queries) | |||
how to create a variable column in cell reference | Excel Worksheet Functions | |||
Cell Reference Math | Excel Worksheet Functions | |||
Incrementing rows (or columns) to a reference in another worksheet | Excel Worksheet Functions | |||
How do I reference multiple rows | Excel Worksheet Functions |