Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2021, 12:38 AM
ArviLaanemets ArviLaanemets is online now Extracting Totals and Summary of raw data Windows 8 Extracting Totals and Summary of raw data 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

Quote:
Originally Posted by TomJ1 View Post
Yes, but your suggestion is a bit beyond me I'm afraid!
All tables are defined as Tables.
To define a Table, you select an area, or you activate any single cell in existing table, and then select Table from Insert Menu. You can then also specify a name for created Table (by default it will be Table#). When you activate any cell of existing Table, a Table Design Menu will be available with some options.
In Excel formulas, you can refer to components of Table (Header row, Table datarange, column datarange, an active cell in current row, etc., using special syntax.
When you add new row of data into Table, then usually all formats, data validations, formulas etc. are automatically expanded to new row(s).
When you edit Table name, or the name of any column in Table, all formulas in Workbook referring to this Table are adjusted accordingly;
When you refer to Table column, or to specific header, or to value in current row of Table, this reference doesn't depend on position - you can drag the column to another position in Table, and all formulas (except ones referring to certain column number) will work correctly.

To ensure that no typos are getting into DataEntry table, data validation lists are used whenever possible. The Tables on sheets Participiants, EventCategories, and Retreats are for registering such values, and are sources for those data validation lists. Excel recognizes as sources for data validation lists:
1. The list of values entered directly on creation;
2. The reference to cell range ON SAME SHEET;
3. A defined Name (Name Manager from Formulas Menu).
I used 3rd option and defined a column in appropriate registry Table as Named Range (lParticipiants, lEventCat, etc.) - this ensures those names will be dynamic (whenever a new row is added to registry Table, this option will be available in matching data validation list automatically).

Instead of SUMIF/COUNTIF, I prefer SUMIFS/COUNTIFS, as they allow any number of conditions. And as they work with single condition too, there is no reason to use both of them - so when in future there will be a need to add a 2nd condition to single one, you don't have to edit the rest of formula.

The rest is Excel as usual. You can replace Table syntax in formulas with regular range references, and all will work - until you add a new row into DataEntry table
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Summary page of totals? srussell Mail Merge 1 08-13-2019 11:16 AM
Extracting data to another tab franz Excel 4 04-14-2018 06:05 PM
excel 2013 summary line totals float jassie Excel 7 03-04-2017 09:53 PM
Extracting Totals and Summary of raw data Extracting data, pivot tables, and maybe VBA help? rbexcelhelp Excel Programming 3 05-09-2015 12:13 AM
Extracting Totals and Summary of raw data Extracting data from excel Eric855 Word 6 07-25-2013 08:02 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:27 PM.


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