excel
43522 TopicsTop n vs. Others in Excel
Hi all, I'm seeking some help because I'm kind of new to the more intermediate stuff in Excel. I have an Excel table with the following columns: Subcategory in column A, Brand in column B, Region in column C, Year in column D and Values Month in column E. I want to create a PivotTable and a Pivot line chart from this PivotTable that ranks the Top 5 Brands vs. Other Competitors by each region. For added context: There are 5 subcategories, 3 regions and 25 brands. Currently, I've tried grouping the remaining 20 brands as "Other Competitors" vs. the Top 5 brands within a selected region and possibly all regions (when no selection is made). I'm seeking a solution similar to this... Please mind the colours. I will sort those out later. But, the problem that I'm faced with is that upon selection of a region, the PivotTable won't update to the Top 5 brands of a selected region because they've already been grouped. How can I make this more dynamic so that I'm able to show The Top 5 brands vs. Others? Please help. EDIT: My operating system is Windows 10 (64-bit) and I use Excel 365 (Desktop version). For reference, I've attached a link to a sample file. https://1drv.ms/x/c/b2d878e32a062614/IQC1wcnwLICcQasOfnGcwKn0ASjpXp9xQ6rjnOP10Jal5cc?e=HaXEWd Thank you all once again.206Views2likes6CommentsDynamic array formula call with spill range input parameter crashes Excel; legacy array call works
Hi, I have a workbook with a dynamic range formula call referencing a spill range that worked last week but is suddenly causing excel to crash this week when using a full worksheet re-calc on a specific machine. This workbook works on multiple other machines but something on that machine is causing this formula to break. 1) Excel version is 2211 (Build 15831.20208 Click-to-run). I have tried an excel repair already on that specific machine. 2) Shift+F9 on the offending worksheet hangs excel with the status bar showing: "calculating (spill resize pass 1)" stuck at 66%. Pressing escape allows me to regain control, but a subsequent Shift+F9 crashes the excel process entirely. 3) The legacy Ctrl+Shift+Enter method of using the formula with a defined output range allows Shift+F9 to work on that worksheet without any issue. 4) Calculating the rest of the page separately without the offending formula, then inputting the offending dynamic range formula also works. 5) Other machines on the identical version of Excel recalculate the sheet instantaneously. 5) I've tried to disable things such as endpoint security services to no avail. Is there anyone who has encountered this behavior before and/or can tell me how to diagnose better the issue?3KViews0likes5CommentsDisplay Last Value in Column when certain criteria match
Hello all, I am trying to find a way of displaying the last value in a column when certain criteria match... Criteria that need to match would be Design, Colour and Size, so the quantity column would populate with the latest stock quantity: Thanks all! Michael65Views0likes3CommentsHelp with Excel Sorting
Hello! I am looking for help with sorting data on a sheet with form responses to different excel sheets. I want to filter by column G to different sheets ("Near Miss", "Adverse Event", "Sentinel Event". The data automatically goes to sheet1 via form responses, but I am trying to streamline the data into specific types of events. I'm using office 365. TIA!27Views0likes1CommentHow do you respond to...
Hello my Excellers, I wish you all a happy new year full of great things. I have a question and I am not sure if this is a purely an Excel question or something else but maybe I start here and see how it goes: As you all may have noticed the AI craze is blooming like crazy. If you want to sell lettuce slap AI on its label and step back. I use Bing to search for VBA examples. For example I typed "excel vba code to find cells with formulas" and I get AI to find or "compose" a decent example that with minimal editing will work perfectly. But then at the end of the code and its explanation I sometimes find these kind of questions: "If you want to list the addresses of formula cells instead of highlighting them, I can give you a version that outputs them in the Immediate Window or a new sheet. Do you want me to provide that listing version as well?" How do you say YES I want that code that would list the addresses in a sheet? I see buttons like "Undo" rounded Left Arrow, or "Redo" rounded Right arrow, and a "Copy, "Export", and then "Tweak Content", "Rewrite" button, A "Testing Tools" dropdown with options like "Generate test data" and "Integrate test cases", and another dropdown called "More Actions" with options like "Perform code review", "Explain the code", "Add error handling", and "Make code compliable" and the last dropdown "Work Report" with its own options. But I do not see anything that would allow me to say YES I want that code that would list the addresses in a sheet? Thanks for any insight... GiGi40Views0likes1CommentConverting date formatted as text to date
I have exported a file from a website which downloads into a csv file. The dates are shown as mm/dd/yyyy and is left aligned which confirms that it is text and not in date format. I want to apply a formula to those birthdates, but of course, the formula doesn't recognize it as a date. I've tried the DATEVALUE function, text to columns, nothing seems to work. Part of the problem might be that I am in Canada, and the format is US, so dates that are 07/20/1944 won't work because Canadian format is dd/mm/yyyy and there is no 20th month....but even the dates like 05/02/1947 won't convert to date format. I've attached the file. It originally downloaded as a csv, but I saved as a workbook hoping that might help....it didn't. Can somone look at this file and come up with a solution that works? Much appreciate any help on this. DennisSolved5.3KViews0likes6CommentsPopulate dynamic calendar with table data
I have a dynamic calendar set up and a table with data, I need help figuring out the right formula to use to have the calendar populate with the tasks from the table. For example, one task may be 'Post video' which I would want to show up on the due date. Another task may be, newsletter campaign which I would want to post for the length of time from start date through due date, and show on each date in between. The second layer of this project is to then color code the calendar based on the column 'Post type'. For example, all newsletters in a blue cell, all videos in a green cell, etc. I've attached a sample workbook, can someone help me set it up with this functionality or explain how I should build that forumla?Solved67KViews2likes74CommentsFormula Help for Sorting
Hi all! I am looking to find a formula that will do a multitude of things. One is to sort a column of numbers by the last 2 digits of the values input but by a particular order such as 00-14, 15-29, 30-42. Secondly, once sorted by this grouping, I want to assign it to a particular department based on said sort (Dept 1, 2, 3 and so forth. I have attempted to use the VLookup formula that Google AI gave me to no avail. I received an error. Also with a IF formula and haven't been able to figure out how to make this work. Any help would be greatly appreciated!Solved139Views0likes4Comments