Move Rows based on Date

%3CLINGO-SUB%20id%3D%22lingo-sub-2116226%22%20slang%3D%22en-US%22%3EMove%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116226%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20been%20trying%20to%20figure%20this%20out%20for%20a%20few%20days%20now%20and%20I'm%20not%20getting%20very%20far.%20Essentially%20this%20is%20the%20situation.%20I'm%20a%20huge%20orchid%20collector%20and%20before%20my%20collection%20get's%20much%20bigger%2C%20I%20wanted%20to%20start%20getting%20organized.%20So%20I%20am%20trying%20to%20get%20a%20workbook%20together.%20I%20know%20what%20I%20want%20it%20to%20do%2C%20but%20I%20can't%20remember%20how%20to%20do%20it.%20I%20don't%20know%20how%20I%20graduated%20school%20sometimes.%20lol%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%2C%20%22Complete%20List%22%20worksheet%20is%20where%20I%20put%20in%20all%20of%20my%20orchids%2C%20when%20I%20purchased%20them%2C%20when%20they%20were%20shipped%2C%20and%20when%20they%20were%20received.%20How%20much%20I%20spent%2C%20the%20shipping%2C%20the%20seller%2C%20the%20orchid%20ID%2C%20etc.%20I%20have%20all%20of%20my%20receipts%20all%20of%20the%20way%20back%20to%202018.%20So%20I%20need%20to%20have%20that%20%22Complete%20List%22%20worksheet%20automatically%20filter%20into%20separate%20worksheets%2C%20which%20I'm%20not%20finished%20fully%20plotting%20out%2C%20but%20I%20have%20the%20years%20there.%20So%20I%20want%20to%20at%20least%20get%20that%20started.%20From%20there%2C%20I%20may%20move%20to%20filtering%20them%20to%20types%20of%20orchids.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%2C%20if%20someone%20can%20help%20me%20with%20how%20to%20get%20them%20to%20automatically%20filter%20to%20these%20worksheets%20within%20the%20workbook%20without%20the%20help%20of%20a%20button%2C%20that%20would%20be%20great.%20If%20a%20button%20is%20absolutely%20necessary%2C%20I%20am%20fine%20with%20that%2C%20but%20what%20I%20absolutely%20need%2C%20is%20for%20the%20formula%20to%20not%20allow%20for%20duplicates.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20really%20appreciate%20you%20all%20on%20this%20site.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOH!%20And%20right%20now%20I'm%20working%20on%20a%20windows%2010%20PC%2C%20but%20I%20originally%20started%20the%20file%20on%20my%20mac%20mini%20at%20work%20that%20runs%20High%20Sierra.%20If%20you%20need%20more%20information%20than%20that%2C%20just%20let%20me%20know.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2116226%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119185%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119185%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F735498%22%20target%3D%22_blank%22%3E%40FrameofLightDesigner%3C%2FA%3E%26nbsp%3BIf%20you%20want%20to%20use%20this%20system%20only%20on%20a%20Windows%20PC%2C%20I%20guess%20you%20could%20create%20a%20separate%20table%20with%20the%20care%20information%20for%20each%20type%20(Genre)%20of%20orchid%2C%20and%20load%20both%20tables%20into%20the%20Data%20Model.%20From%20there%20you%20could%20create%20(a)%20pivot%20table(s)%20that%20draws%20information%20from%20both.%20But%2C%20it's%20difficult%20to%20visualise%2Fexplain%20without%20the%20data%20on%20hand.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2119140%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2119140%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BSir!%20You%20have%20some%20serious%20skills!%20I%20love%20your%20excel%20style!%20The%20one%20thing%20I%20need%20to%20do%20is%20input%20the%20proper%20care%20information%20for%20each%20orchid%20type%20so%20that%20the%20%22average%22%20can%20be%20automated.%20The%20one%20thing%20I'm%20struggling%20with%2C%20with%20that%2C%20is%20if%20I%20should%20do%20that%20by%20tab%3F%20Or%20would%20a%20table%20be%20best%3F%20I'm%20thinking%20table%2C%20because%20the%20headings%20are%20what%20the%20graph%20would%20pull%20from.%20If%20I'm%20correct%2C%20I%20can%20make%20a%20new%20worksheet%20called%20%22Orchid%20Care%22%20and%20then%20create%20a%20table%20with%20the%20proper%20headings%20and%20input%20the%20proper%20information.%20I%20say%20a%20new%20worksheet%20because%20I%20know%20it%20will%20help%20with%20organization%20and%20cleanliness.%20I%20know%20it's%20not%20completely%20necessary.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThoughts%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118677%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118677%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F735498%22%20target%3D%22_blank%22%3E%40FrameofLightDesigner%3C%2FA%3E%26nbsp%3BPossible.%20Where%20and%20how%20do%20you%20intend%20to%20keep%20the%20%22care%22%20information%3F%20And%20when%20you%20talk%20about%20%22types%22%20of%20orchids%2C%20do%20you%20then%20refer%20to%20%22Genre%22%3F%20If%20so%2C%20you%20are%20dealing%20with%2082%20unique%20genres%20in%20the%20table.%20That's%20quite%20a%20lot%20of%20data%20labels%20if%20you%20want%20to%20capture%20all%20of%20them%20in%20a%20graph.%3C%2FP%3E%3CP%3EAnyhow%2C%20I've%20added%20a%20pivot%20table%20and%20a%20graph%20with%20a%20slicer%20and%20a%20timeline%2C%20just%20to%20demonstrate%20the%20principle.%20Not%20very%20pretty%2C%20though%2C%20and%20probably%20not%20very%20meaningful%20either.%20Have%20a%20look%20and%20see%20if%20this%20is%20something%20worth%20pursuing.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2118545%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2118545%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BSo%20each%20orchid%20has%20different%20care%20requirements.%20So%20I%20want%20the%20graph%20to%20reflect%20the%20%22average%22%20care%20requirements%20necessary%2C%20but%20also%20a%20graph%20showing%20the%20orchid%20types%20I%20have.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116605%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116605%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F735498%22%20target%3D%22_blank%22%3E%40FrameofLightDesigner%3C%2FA%3E%26nbsp%3BI%20believe%20you%20can.%20What%20kind%20of%20graphs%20did%20you%20have%20in%20mind%3F%20You%20can%20create%20pivot%20tables%20%2F%20pivot%20charts%20on%20the%20basis%20of%20the%20Complete%20list.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116595%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116595%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3BWell%2C%20this%20is%20something%20I%20hadn't%20thought%20about%2C%20mostly%20because%20this%20is%20also%20going%20to%20include%20graphs.%20When%20I%20add%20my%20graphs%2C%20when%20I%20do%20my%20filters%2C%20can%20I%20make%20the%20graphs%20change%20with%20the%20filtering%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2116238%22%20slang%3D%22en-US%22%3ERe%3A%20Move%20Rows%20based%20on%20Date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116238%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F735498%22%20target%3D%22_blank%22%3E%40FrameofLightDesigner%3C%2FA%3E%26nbsp%3BWhy%20go%20through%20all%20the%20trouble%20of%20putting%20everything%20into%20one%20list%20and%20then%20split%20it%20all%20up%20by%20year%2C%20basically%20duplicating%20the%20information.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConsider%20sticking%20to%20one%20list%2C%20put%20filter%20buttons%20on%20the%20header%20row.%20Since%20the%20dates%20in%20the%20list%20are%20proper%20dates%2C%20you%20can%20now%20click%20on%20the%20%22down%22%20arrow%20and%20select%2Fdeselect%20the%20year(s)%20you%20want%20to%20see.%20Same%20thing%20for%20all%20the%20other%20columns.%20You%20could%2C%20for%20instance%2C%20filter%20all%20orchids%20of%20the%20same%20genre%2C%20or%20everything%20bought%20from%20one%20particular%20seller.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20attached%20file%2C%20I%20transformed%20your%20Complete%20list%20to%20a%20structured%20table.%20%26nbsp%3BI%20re-created%20your%20list%20on%20a%20Mac%20and%20it%20will%20work%20the%20same%20on%20a%20PC.%20Want%20to%20add%20a%20new%20item%3F%20Select%20L165%20and%20press%20Tab.%20A%20new%20row%20is%20inserted.%20Formulae%20for%20Item%20number%20and%20Total%20are%20copied%20down%20automatically.%20Alternatively%2C%20select%20any%20cell%20on%20row%20165.%20Right-click%2C%20Insert%2C%20Table%20Row%20Below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMore%20about%20structured%20tables%20in%20the%20link%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fusing-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Foffice%2Fusing-structured-references-with-excel-tables-f5ed2452-2337-4f71-bed3-c8ae6d2b276e%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have been trying to figure this out for a few days now and I'm not getting very far. Essentially this is the situation. I'm a huge orchid collector and before my collection get's much bigger, I wanted to start getting organized. So I am trying to get a workbook together. I know what I want it to do, but I can't remember how to do it. I don't know how I graduated school sometimes. lol

 

Anyway, "Complete List" worksheet is where I put in all of my orchids, when I purchased them, when they were shipped, and when they were received. How much I spent, the shipping, the seller, the orchid ID, etc. I have all of my receipts all of the way back to 2018. So I need to have that "Complete List" worksheet automatically filter into separate worksheets, which I'm not finished fully plotting out, but I have the years there. So I want to at least get that started. From there, I may move to filtering them to types of orchids.

 

Anyway, if someone can help me with how to get them to automatically filter to these worksheets within the workbook without the help of a button, that would be great. If a button is absolutely necessary, I am fine with that, but what I absolutely need, is for the formula to not allow for duplicates. 

 

I really appreciate you all on this site. 

 

OH! And right now I'm working on a windows 10 PC, but I originally started the file on my mac mini at work that runs High Sierra. If you need more information than that, just let me know.

7 Replies

@FrameofLightDesigner Why go through all the trouble of putting everything into one list and then split it all up by year, basically duplicating the information.

 

Consider sticking to one list, put filter buttons on the header row. Since the dates in the list are proper dates, you can now click on the "down" arrow and select/deselect the year(s) you want to see. Same thing for all the other columns. You could, for instance, filter all orchids of the same genre, or everything bought from one particular seller. 

 

In the attached file, I transformed your Complete list to a structured table.  I re-created your list on a Mac and it will work the same on a PC. Want to add a new item? Select L165 and press Tab. A new row is inserted. Formulae for Item number and Total are copied down automatically. Alternatively, select any cell on row 165. Right-click, Insert, Table Row Below.

 

More about structured tables in the link below.

 

https://support.microsoft.com/en-us/office/using-structured-references-with-excel-tables-f5ed2452-23... 

@Riny_van_Eekelen Well, this is something I hadn't thought about, mostly because this is also going to include graphs. When I add my graphs, when I do my filters, can I make the graphs change with the filtering?

@FrameofLightDesigner I believe you can. What kind of graphs did you have in mind? You can create pivot tables / pivot charts on the basis of the Complete list.

@Riny_van_Eekelen So each orchid has different care requirements. So I want the graph to reflect the "average" care requirements necessary, but also a graph showing the orchid types I have.

@FrameofLightDesigner Possible. Where and how do you intend to keep the "care" information? And when you talk about "types" of orchids, do you then refer to "Genre"? If so, you are dealing with 82 unique genres in the table. That's quite a lot of data labels if you want to capture all of them in a graph.

Anyhow, I've added a pivot table and a graph with a slicer and a timeline, just to demonstrate the principle. Not very pretty, though, and probably not very meaningful either. Have a look and see if this is something worth pursuing.

 

 

@Riny_van_Eekelen Sir! You have some serious skills! I love your excel style! The one thing I need to do is input the proper care information for each orchid type so that the "average" can be automated. The one thing I'm struggling with, with that, is if I should do that by tab? Or would a table be best? I'm thinking table, because the headings are what the graph would pull from. If I'm correct, I can make a new worksheet called "Orchid Care" and then create a table with the proper headings and input the proper information. I say a new worksheet because I know it will help with organization and cleanliness. I know it's not completely necessary. 

 

Thoughts?

@FrameofLightDesigner If you want to use this system only on a Windows PC, I guess you could create a separate table with the care information for each type (Genre) of orchid, and load both tables into the Data Model. From there you could create (a) pivot table(s) that draws information from both. But, it's difficult to visualise/explain without the data on hand.