This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hey r/excel, I've been trying to create this dynamic line graph that uses a user-defined date range and looks in a headerless table, finds all instances within the date range, organizes them in order of dates, and then displays the results:
"On the sheet called "New Relationships", there is a table called "NewRelationships_TrackingTable". It is a HEADERLESS table, meaning it does not have any headers. However, I'd still like to use table column references in my graph instead of absolute static references. Just no header references
In NewRelationships_TrackingTable, there are two columns of note. The first column [Column1] is the name of the tracked entry. This is a dynamically expanding table, so there might be 5000 total entries, or there might be 5. In [Column1], the name of the tracked entry is placed. It can either be S10, S20, etc, but for now, I only want to focus on graphing one: S10.
The second column [Column2] is the DATE that the tracked item was tracked on. These dates might not be in order. The table is dynamic but it will not be automatically sorted by date, so you might have out-of-order dates there.
On a different sheet called "Metrics", there are two cells. Both have defined names linked to them, so there is no reason to use their absolute references. The cells are called "BeginningDateCell" and "EndDateCell" respectively. As their names suggest, they define a user-enterable date range for data analysis.
Underneath this, in the sheet "Metrics", I want to place the line graph. The graph should represent the amount of S10s tracked between the user-entered date range, in order of date.
The horizontal (x) axis of the graph should show the range of time (for example, if BeginningDateCell is 04/01/2023, and EndDateCell is 05/01/2023, then the X-axis of the graph would be one month, spaced out evenly.
The vertical (y) axis of the graph should show the number of S10 entries logged between that time period. For example, if on 04/01/2023, the total amount of S10s that were tracked with dates on or before then totaled 7, then the Y axis should start at 7. If by 05/01/2023, the total amount of S10s that were tracked with dates on or before then totaled 12, then the Y axis should finish at 12. The line graph should always either be a flat or an upwards projection, with the GOAL being to visualize the general progress of tracking throughout the dynamic date range. "
ChatGPT keeps giving me formulas using =FILTER() which does not exist in my Excel version, then an ArrayFormula which did not automatically "spill" downwards like it should have, and then more extremely dense formulas that always resolve to an error. I tried toying around with the graph maker, but I got nowhere.
As a last resort, I'm turning to y'all to see if anyone knows what formulas I'd need and where I would need to put them. I'm sure creating such a graph is *possible*, but I'm surprised it's so unintuitive. I made a quick paint diagram of what I'm trying to do based on BeginningDateCell and EndDateCell and what the graph would look like: https://i.imgur.com/1QWrcKO.png
Thanks everyone!
Subreddit
Post Details
- Posted
- 1 year ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/excel/comme...