Hi Guys.
Here's the problem I have, but dunno what to start from.
Got the spreadsheet with two sheets: "Data" and "Tables and Charts" (xlsx File Attached Book1.xlsx)
What I need - some kind of macro or Formulas, that would do following:
User enters data to the Data Sheet.
Then, data from the data sheet is added to Grey cells in the "Tables and Charts" sheet in following way:
If there are any order in the brackets between, lets say 0 and 50, all those orders are summarized and added to Counta function to representative cell.
Example: if there are 10 orders between 0 and 50, and 3 of them are in product A, 3 - in product B, 3 in product C and 1 in product D, then related figures: 3, would be added to B2; 3 - to C2, 3 to D2 and 1 to E2. and so on. (As in example)
It should write those figures into the right table in accordance to the FY which is set in data tables column B (Order year)
Then, it should make the calculation of all orders between 0 and 50 and would add that sum to M2 (Subtotal or other, more suitable function?)
So in the end I would draw me a chart for each year separate.
Data sheet could be few hundred lines long (so there would be hundreds of items to look for)
is it possible to do it without macros but just with some formulas with ifs and so on, or Macro is the only solution?
Thanks in advance!
Here's the problem I have, but dunno what to start from.
Got the spreadsheet with two sheets: "Data" and "Tables and Charts" (xlsx File Attached Book1.xlsx)
What I need - some kind of macro or Formulas, that would do following:
User enters data to the Data Sheet.
Then, data from the data sheet is added to Grey cells in the "Tables and Charts" sheet in following way:
If there are any order in the brackets between, lets say 0 and 50, all those orders are summarized and added to Counta function to representative cell.
Example: if there are 10 orders between 0 and 50, and 3 of them are in product A, 3 - in product B, 3 in product C and 1 in product D, then related figures: 3, would be added to B2; 3 - to C2, 3 to D2 and 1 to E2. and so on. (As in example)
It should write those figures into the right table in accordance to the FY which is set in data tables column B (Order year)
Then, it should make the calculation of all orders between 0 and 50 and would add that sum to M2 (Subtotal or other, more suitable function?)
So in the end I would draw me a chart for each year separate.
Data sheet could be few hundred lines long (so there would be hundreds of items to look for)
is it possible to do it without macros but just with some formulas with ifs and so on, or Macro is the only solution?
Thanks in advance!