Hi…
I get data into excel sheet from another application continuously.
I want to create a log with latest data on top when any of criteria is met. (in the same sheet).
Attaching herewith the excel file.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Logging Data in same sheet when criteria is met
Dear Bhushanvshah:
Attached is a solution. It uses a new formula in Col L and then advanced Data Filter.
Each time you populate the sheet you will need to go to the “Data Ribbon” and select Filter “Advanced” make sure to select copy to a different location and press OK. Each time you will get the results.
The first worksheet works for Excel 10 and above, the second worksheet will work with lower versions.
Lastly, the criteria for returning information had a conflict. Your first Criteria was all stocks that equal High which by definition would pick up stocks both above and below 75 therefore the >75 AND High does not pick up new items. Also the information provided were outside the criteria so the log would result in no finds so I added more data that meet the criteria.
Hope this helps.
TomD
Bhush,
I would take the approach of designating a column for a time stamp that gets placed for each record as it is imported from your application with the criteria met. The code would finish up with a sort on the time stamp column placing your most recent data at the top.
You would need to describe the format of how the data is exported from your application and into your spreadsheet. A sample would be beneficial. You also need to elaborate on the criteria that the data is weighed against.
Maud
Dear Bhushanvshah:
Does the attached help? It uses 3 pivot tables to show results. By Clicking the Text Box “Update Tables” it will refresh all three pivot tables and give the results in your request.
Currently the Pivot Table is set to pick up 5,000 lines of data. Of course if more lines are needed you will need to change the data source via the Pivot Table Ribbon. I also included a reference to the row number where the data is being pulled from.
Regards,
Tom D
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications