Help in dynamically summarizing info with refreshing option

0kuden

New Member
Joined
Oct 12, 2017
Messages
4
Hello,


I am looking for your Excel wisdom to help me resolve the below explained problem, having searched and not really identified a specific solution for my issue. I am not sure how much has to be code (for a if..then loop, etc) and how much is Excel formula.




I have a set of data (such as a made up Example A below) on 800 or so rows and has several columns which contain dates, amounts, names and so on. I then have a few rows on the top of the sheet (such as a made up Example B below) dedicated to extracted information from the data set in function of a variable X in one of the columns. This "summary" section (which should end up being about 10 rows) needs to be populated with the oldest entries (ascending order) in the data set where the variable is X, and the list needs to refresh (manually or whichever way) when I change the variable to Y for entries in the data set, therefore removing that entry and populating with new entry for bottom row(s).


Example A:


[TABLE="width: 715"]
<colgroup><col width="143" span="5" style="width:107pt"> </colgroup><tbody>[TR]
[TD="class: xl67, width: 143"]Date[/TD]
[TD="class: xl67, width: 143"]Name[/TD]
[TD="class: xl67, width: 143"]Color[/TD]
[TD="class: xl67, width: 143"]Amount[/TD]
[TD="class: xl67, width: 143"]Has replied[/TD]
[/TR]
[TR]
[TD="class: xl66"]5-Jun[/TD]
[TD="class: xl65"]John[/TD]
[TD="class: xl65"]Red[/TD]
[TD="class: xl65"]54[/TD]
[TD="class: xl65"]No[/TD]
[/TR]
[TR]
[TD="class: xl66"]9-May[/TD]
[TD="class: xl65"]Mary[/TD]
[TD="class: xl65"]Blue[/TD]
[TD="class: xl65"]100[/TD]
[TD="class: xl65"]No[/TD]
[/TR]
[TR]
[TD="class: xl66"]11-Dec[/TD]
[TD="class: xl65"]Alfie[/TD]
[TD="class: xl65"]Red[/TD]
[TD="class: xl65"]54[/TD]
[TD="class: xl65"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl66"]17-Jul[/TD]
[TD="class: xl65"]Ronald[/TD]
[TD="class: xl65"]Green[/TD]
[TD="class: xl65"]845[/TD]
[TD="class: xl65"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl66"]19-Jul[/TD]
[TD="class: xl65"]Paul[/TD]
[TD="class: xl65"]Red[/TD]
[TD="class: xl65"]654[/TD]
[TD="class: xl65"]No[/TD]
[/TR]
[TR]
[TD="class: xl66"]10-Nov[/TD]
[TD="class: xl65"]Julia[/TD]
[TD="class: xl65"]Red[/TD]
[TD="class: xl65"]125[/TD]
[TD="class: xl65"]Yes[/TD]
[/TR]
[TR]
[TD="class: xl66"]1-Dec[/TD]
[TD="class: xl65"]Betty[/TD]
[TD="class: xl65"]Purple[/TD]
[TD="class: xl65"]5558[/TD]
[TD="class: xl65"]No[/TD]
[/TR]
</tbody>[/TABLE]



Example B:


[TABLE="width: 429"]
<colgroup><col width="143" span="3" style="width:107pt"> </colgroup><tbody>[TR]
[TD="class: xl67, width: 143"]Date[/TD]
[TD="class: xl67, width: 143"]Name[/TD]
[TD="class: xl67, width: 143"]Amount[/TD]
[/TR]
[TR]
[TD="class: xl66"]9-May[/TD]
[TD="class: xl65"]Mary[/TD]
[TD="class: xl65"]100[/TD]
[/TR]
[TR]
[TD="class: xl66"]5-Jun[/TD]
[TD="class: xl65"]John[/TD]
[TD="class: xl65"]54[/TD]
[/TR]
[TR]
[TD="class: xl66"]19-Jul[/TD]
[TD="class: xl65"]Paul[/TD]
[TD="class: xl65"]654[/TD]
[/TR]
</tbody>[/TABLE]



I am looking for your help in how to setup something of the sort, or where I can start hunting to build something adequate for the job.


Many thanks in advance for your help, and apologies if this does not fit the bill in this section of the forum.


Cheers
0kuden
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top