Solved

Complex Lookup Formulas

Posted on 2016-10-07
3
45 Views
Last Modified: 2016-10-07
Hi, I am hoping someone can help me with 3 complex look up formulas please.

Attached is a file with 2 active sheets. The are 3 columns I am trying to fill in the 'SUMMARY' sheet based on data in the 'Transactions' sheet.

All lookups are based on the Account # (which is 'Acc #' in the 'SUMMARY' sheet and 'accno' in the 'Transactions' sheet).
1. 'Trans Count' - # of transaction listed in the 'Transactions' sheet (so in the case of account 35 there is 3 transactions)
2. 'Last Trans Date' - date of the most recent transaction listed in the 'Transactions' sheet (so in the case of account 35 it is 1st Aug 2016 - this is column D)
3. 'Last Trans Value' - value of the most recent transaction listed in the 'Transactions' sheet (so in the case of account 35 it is $569.8 - this is column N)

If someone is able to put these calculations directly into the spreadsheet I have attached I would be extremely grateful!

Thanks a lot
Troy
Amalgam-separator-rebate-informatio.xlsx
0
Comment
Question by:recycleaus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
Subodh Tiwari (Neeraj) earned 500 total points
ID: 41834674
Please try this....

On Summary Sheet,
In H2
=COUNTIF(Transactions!$E$2:$E$302,G2)

Open in new window

and copy down.

In I2
=MAX(INDEX((Transactions!$E$2:$E$302=G2)*Transactions!$D$2:$D$302,))

Open in new window

and copy down. (format as date)

In J2
=IFERROR(INDEX(Transactions!$N$2:$N$302,MATCH(1,INDEX((Transactions!$E$2:$E$302=G2)*(Transactions!$D$2:$D$302=I2),),0)),"")

Open in new window

and copy down.
0
 

Author Closing Comment

by:recycleaus
ID: 41834676
Thanks a lot
0
 
LVL 31

Expert Comment

by:Subodh Tiwari (Neeraj)
ID: 41834677
You're welcome Troy! Glad to help.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question