Solved

Complex Lookup Formulas

Posted on 2016-10-07
3
40 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
  • 2
3 Comments
 
LVL 29

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 29

Expert Comment

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

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
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 demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

832 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