+ Reply to Thread
Results 1 to 9 of 9

Choosing latest number from table

  1. #1
    Registered User
    Join Date
    08-13-2017
    Location
    Copenhagen
    MS-Off Ver
    10
    Posts
    14

    Choosing latest number from table

    Hi Excelforum

    I am using google sheets and would like to solve the below issue. I need to pick the latest dividend from a column containing multiple numbers on the same ticker, but with different dates.

    Can anyone help me out? - Please see attached an example of the issue.

    Much appreciated.

    Kind regards
    Magnus
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Choosing latest number from table

    Hi Magnus415,

    It messy but please try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Hope this helps.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    08-13-2017
    Location
    Copenhagen
    MS-Off Ver
    10
    Posts
    14

    Re: Choosing latest number from table

    Hi D13L,

    Thats amazing! Thank you very much :-)

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Choosing latest number from table

    Please try

    =INDEX(VLOOKUP(H2:H4,{index(sort(A2:E,1,0),,2), SORT({A2:E,IF(E2:E,E2:E,D2:D)},1,0)},7,0))

  5. #5
    Registered User
    Join Date
    08-13-2017
    Location
    Copenhagen
    MS-Off Ver
    10
    Posts
    14

    Re: Choosing latest number from table

    Hi Bo_Ry

    Thank you for your reply.

    For some reason I cant get this to work.

    Would you mind putting it into this spreadsheet please?

    Kind Regards
    Magnus
    Attached Files Attached Files

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Choosing latest number from table

    Quote Originally Posted by Magnus415 View Post
    I am using google sheets
    Google sheet is not Excel.

    Please share the editable google sheet link.

  7. #7
    Registered User
    Join Date
    08-13-2017
    Location
    Copenhagen
    MS-Off Ver
    10
    Posts
    14

    Re: Choosing latest number from table

    Hi,

    Thats correct, my mistake.

    Please see below:

    https://docs.google.com/spreadsheets...910/edit#gid=0

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Choosing latest number from table

    =INDEX(VLOOKUP(H2:H4,{index(sort(A2:E,1,0),,2), SORT({A2:E,IF(E2:E,E2:E,D2:D)},1,0)},7,0))

    change seperator

    =INDEX(VLOOKUP(H2:H4;{index(sort(A2:E;1;0);;2)\ SORT({A2:E\IF(E2:E;E2:E;D2:D)};1;0)};7;0))

  9. #9
    Registered User
    Join Date
    08-13-2017
    Location
    Copenhagen
    MS-Off Ver
    10
    Posts
    14

    Re: Choosing latest number from table

    Hi,

    Thank you very much for the help it works.

    Kind Regards
    Magnus

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Problem with choosing value out of table. Please help
    By joshgun in forum Access Tables & Databases
    Replies: 3
    Last Post: 03-08-2019, 12:14 PM
  2. VBA- Filter Pivot table based on latest and 2nd latest date in column
    By ziyan89 in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 12-29-2015, 11:18 AM
  3. [SOLVED] Choosing latest set of data
    By sammymalta in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 04-14-2014, 09:16 AM
  4. Replies: 9
    Last Post: 11-28-2013, 05:20 PM
  5. Choosing more than one table at a time
    By samkumar in forum Word Formatting & General
    Replies: 4
    Last Post: 09-10-2013, 05:55 AM
  6. Choosing values from table
    By turbosax2 in forum Excel General
    Replies: 18
    Last Post: 05-28-2011, 05:06 AM
  7. Choosing a closest number
    By yeah in forum Excel General
    Replies: 3
    Last Post: 10-11-2009, 03:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1