Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-08-2024, 10:50 PM
ArviLaanemets ArviLaanemets is online now Looking to auto-populate a working table in Excel based on conditions in another table Windows 8 Looking to auto-populate a working table in Excel based on conditions in another table Office 2016
Expert
 
Join Date: May 2017
Posts: 949
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

So you have (at least) 2 tables:
Equipment (has columns for EquipmentID or EquipmentName, and RepairStatus);
RepairTracker (has column for EquipmentID or EquipmentName).

Add a sheet with ODBC query, which reads from Equipment table the needed info for RepairTracker table, where RepairStatus in Equipment table is not "Good", and the matching EquipmentID or EquipmentName in RepairTracker is missing.
After the query is refreshed, copy the query data into RepairTracker table.

No you'll have 2 possible ways to continue.
1. After repairs are done, you change RepairStatus in Equipment table to "Good", and delete matching rows from RepairTracker table (you may add a column with formula checking the value of RepairStatus in Equipment table, and use it to filter the rows to delete). This means no history of repairs is stored;
2.You keep the history of repairs. To do this, you need in RepairTracker table a status column registring repairs as done. You have to add an additional condition to query created earlier, to ignore all entries in RepairTracker table where repairs are done too. And after the repairs are done, you change both statuses in Equipments table and in RepairTracker table, and don't delete any records from RepairTracker table.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking to auto-populate a working table in Excel based on conditions in another table Auto-populating table based on another table? 0rion Excel 12 02-03-2023 09:24 AM
find a value based on two conditions in a table chittari Excel 5 06-02-2022 10:09 AM
Auto-populate text boxes with Excel data based on drop down box selection charkelham Word VBA 0 08-04-2021 04:38 AM
Looking to auto-populate a working table in Excel based on conditions in another table How to Subtract value in table, based on two different conditions nitemath2 Excel 1 06-19-2015 01:28 AM
Looking to auto-populate a working table in Excel based on conditions in another table Excel to auto populate dates based on start and end patidallas22 Excel Programming 9 04-21-2014 03:14 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft