Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6629007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:11:57+00:00 2026-05-25T22:11:57+00:00

I have a table in Excel which has the columns: Date Person Name Amount

  • 0

I have a table in Excel which has the columns:

  1. Date
  2. Person Name
  3. Amount (£)

The table is used to record when people pay me money. Typically, I can get more than one person paying me on the same day. Also, the same person will pay me on many days over the course of time.

Records are added to the bottom of the table so the ordering will be on date but no further ordering on name or amount.

Using formulas, is there a way I can retrieve the most recent amount for a specific person?

If this is too complicated or not possible then I can settle for the following work around:
Add a 4th column to the table called “Last”. This will display TRUE if it is the last entry for a specific person, FALSE if it is not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:11:58+00:00Added an answer on May 25, 2026 at 10:11 pm

    It felt like there should be a fairly straight-forward answer to this but I found it quite a head scratcher so was interested to see an answer.

    Having done some googling I came across a solution posted on a dedicated excel site (view here). [NB – look under the header ‘Arbitrary Lookups’]

    Applying it to your example, suppose your data is in A1:C10 and in cell D2 you want to type a name and return the most recent payment in cell D3:

    1   Date    Name    Amt    EnterName
    2   20 Jul  Bob     50     <enter name here>
    3   13 Sep  Susan   20     = enter formula here (see below)
    4   06 Jan  Xavier  100
    

    In cell D3 enter the following as an array formula (i.e. type in formula and then press CTRL + SHIFT + ENTER

    =INDEX($B$2:$C$10,SMALL(IF(OFFSET($B$2:$C$10,0,0,ROWS($B$2:$C$10),1)=$D$2, ROW(OFFSET($B$2:$C$10,0,0,ROWS($B$2:$C$10),1))-ROW(OFFSET($B$2:$C$10,0,0,1,1) )+1, ROW(OFFSET($B$2:$C$10,ROWS($B$2:$C$10)-1,0,1,1))+1),COUNTIF(OFFSET($B$2:$C$10,0,0,ROWS($B$2:$C$10),1),$D$2)),2)
    

    It would recommend checking out the link I provided if you want more detail. For clarity, I have merely adapted the formula (changed cell references) from the link provided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an excel file which has two columns (1. Name and 2. Value)
I have a table dbo.comp has id and name as columns. dbo.comp Name id
I have a table in excel which has a column for UserIds in the
I have a table with three fields (ID, Price, Date) in excel. It has
I have the following macro which needs to loop though an Excel-2007 table. The
I have a table (it was imported from Excel) that has a wide variety
Database: name_ allmoney Table name: MONEY +-----+--------+------------+---------+---------+ | id | name | date |
I have an excel sheet which has some huge data. Data is organized as
I have a RDLC report which has a table, calling a subreport N times.
I have an Excel file (which has data imported from Oracle 10G Database) one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.