Solved

Excel formula question

Posted on 2011-09-14
8
226 Views
Last Modified: 2012-05-12
I have an amortization table in the first tab. I need to pull information from that schedule into the second tab for a given set of dates. I would like to put a start date and end date field in the second tab, and the information automatically populates.

The start date input field in the second tab is B16, and the end date is B17.
The amortization schedule information needs to be populated from A23 to H23 and down until the end date is reached.

The cells from the first tab that need brought over are A16 to H16. Some of those cells have formulas in them, and they need to be brought to the second tab without causing errors.
Can anybody help give me a formula to work for this please?
Thanks,
0
Comment
Question by:binaryman101
  • 4
  • 4
8 Comments
 
LVL 50

Expert Comment

by:barry houdini
Comment Utility
In which column is the date? Assuming it's A and that original sheet is called data try this formula in A23 of 2nd sheet, copied across and down as far as required

=IF(AND(Data!$A16>=$B$16,Data!$A16<=$B$17),Data!A16,"")

regards, barry
0
 

Author Comment

by:binaryman101
Comment Utility
that didn't quite work...it was close, but when I attempted to drag it down, the formula only worked on 2 lines.  I am attaching the file so you can see what I am trying to do.  Thanks.  All of the information from "Day" to "Total Interest" needs to be populated in the Report Tab.
Copy-of-Amortization-on-a-Simple.xls
0
 
LVL 50

Expert Comment

by:barry houdini
Comment Utility
You have the start date as 15/09/2011 and end date as 16/09/2011 so you only got 2 lines because there are only 2 rows that are in that date range - if you change the date range you should see the other rows.......

Note you'll have to format the columns appropriately for date etc.

regards, barry

0
 

Author Comment

by:binaryman101
Comment Utility
very cool, thanks...is there any way to import the "Day" column over also?   Your help is very much appreciated.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 50

Expert Comment

by:barry houdini
Comment Utility
Yes, that column can be included too - just copy the existing formulas in column B into that column too.......
0
 

Author Comment

by:binaryman101
Comment Utility
everything you have given has worked, and i greatly appreciate it.  But i have another thing I would like to do with this.  I will only be pulling approx 30 days each time i do this report, and I would like the cells to only populate from cells 23-60 so that way i can make a simple print out.  The way it populates now, i can't do that.  for example if i want info for the year 2020 the data populates in cell A 30,000.  Can this be done? Thanks
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
Comment Utility
Ok no problem - see the attached

I added a "match" formula in B18, it makes the other formulas simpler - so that one is

=MATCH(B16,Data!B:B,0)

That finds the row with the date from B16, you can hide that if you want (or move it)

Now the formula in A23 is

=IF(ROWS(A$23:A23)>$B$17-$B$16+1,"",INDEX(Data!A:A,$B$18+ROWS(A$23:A23)-1))

copied down to H60

regards, barry
27308482.xls
0
 

Author Closing Comment

by:binaryman101
Comment Utility
mr houdini, you should totally be #1 on the hall of fame!
thanks,
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now