Forum Widgets
Latest Discussions
Excel help
Hi all, I have list of LGA location names in excel file. An example are as follows: Currently after I extract the data, I use look up function to get the New LGA column to replace the existing data. This is a manual task. The original file I have download from MS SQL and the file format is csv. Is there any other way that can do this more efficiently and automatically? Thankskpan8Feb 17, 2025Copper Contributor58Views0likes3Comments#SPILL Error in Excel
I have been working on an assignment and using the XLOOKUP function to try to get a result. No matter how many times I do it, I keep getting the same answer. I have re-entered in the information countless times and can just not figure it out. I have also tried the VLOOKUP function. It says my spill range is not blank but I have no options to select obstructing cells or anything. I have the 365 Excel version. Any help?66Views0likes2CommentsStamp Duty Calculation
Hello, I have a SUMPRODUCT formula to calculate stamp duty in the UK below where F2 = the purchase price of a property. =SUMPRODUCT(--(F2>{0;250000;925000;1500000}),(F2-{0;250000;925000;1500000}), {0.03;0.05;0.05;0.02}) I want to edit this formula so that if F2 is less than 40000 then the stamp duty = £0 regardless of the above formula. Can anyone assist me please? Thanks, PatSolvedPat_Burrows1970Feb 15, 2025Copper Contributor24KViews0likes10CommentsImport Tab Delimited File from Clipboard
I'm looking to create a macro in excel to import a file from clipboard. I have tried to record a macro and that did not work. I do not want to enter a file name. I would like to copy from notepad and execute macro to import the data with pipe delimits. Sorry if this is a repeat, I ould not fine an answr anywhere. Thanks.SolvedJimKFeb 15, 2025Copper Contributor56Views0likes4CommentsDependent Drop Downs across multiple rows in a spreadsheet
Hello. I've been trying to create a spreadsheet that has a dependent dropdown column. However, all the guides and advice I've seen so far have been functional only when you only need a single cell or a small number of cells to have this drop-down. I'd like this function for a large spreadsheet that I will be adding to frequently. My first thought as a workaround is - is there a way to have data validation read an adjacent cell? The issue I seem to be having is that while I can set Data Validation to =INDIRECT(A2) - it applies that to every cell in the column, so it will only search A2. Is there a a way to have data validation go =INDIRECT("CellAdjacentToThisOne")? I would have thought there's a formula for identifying whatever is in an adjacent cell, but I can't figure out what to look for sorry. Failing that, if there's a workaround for getting dependent dropdowns to function through large spreadsheets, I'd love to hear it. I only have one layer of depdency - the first selection will draw from a wide range of options, but that will be the depth of it. I'm wondering if part of the issue might be that I'm in Office 365 - some of the tutorials use the Name Manager, but it seems to function or maybe it just looks different in the desktop version of Excel, so maybe it has some feature I don't have access too? Any advice would be appreciated.Jambo97Feb 15, 2025Copper Contributor698Views0likes15CommentsCreate a Power query or Dax to find Open Status more than 1 hour
Hi Team, I have the door table Here I want to find that whether door is being open continuously(having open status & not closed) for more than 1 hour for each DeviceId. Data Description: The Status column shows whether door is open or Closed. CreatedOn column shows time duration. DeviceId column shows Deviceid. My first requirement is: We need to add the minutes(createdon) between each row for same deviceid where the status = open. But where a status = closed (if closed comes in between open) we reset the number of minutes. So we sum by the previous value where status = Open - Something like If current status = open and previous status = open then sum the time and do the below: Sum(previous value + new sum) Where/if status = closed set time count = 0 Sum(previous value + new sum) is going to take into account only the consecutive open status >60 min for same divice id whenever status is closed, this Sum(previous value + new sum) will be reset to/equal to 0 So on the first open status, the count will be 0. Then the next open status it will be time between 2 open statuses, then on the third it will be the time between two open statuses add the previous time.but any close status then time is reset. Could you please help me with a power query logic/dax logic? Second Requirement: This is only a sample data. But we have billions of rows of data in our dataflow that comes from SQL views. So, thought not to use DAX for this calculation in future. we can precalculate the maximum open state duration by preprocessing data (SQL, Power Query(dataflow), Spark, anything else...). So can you help me prepare data upfront. we need to solve the problem with a with a proper data model. for example, create a table with the longest open events upfront (in whatever technique you are comfortable with) Could you please help me to achieve this? PFA file here B&M.pbix Thanks in advance!Excellove15Feb 15, 2025Iron Contributor131Views0likes8CommentsCounting unique values in two columns
How do I count how many total unique names are associated with a unique date? See attached. I'd like to assign a number in the highlighted cell next to each name, indicating the number of unique dates beside that name. Example: The number next to Coach's name should be 4. Thank you.SolvedPaulM1970Feb 15, 2025Copper Contributor54Views0likes3CommentsHow to access temp selection?
Hi, is there a way to determine the temporary selection address from vba? The steps to reproduce are as follows: Select cells [A1:A3]. Hold the right mouse button and drag the selection and move to A10, now release the right mouse button and I have a temporary drag and drop area of [A1:A10]. However it is not the current selection (the result from Application.Selection is still "A1:A3") Thanks you!SolvedJaminFeb 15, 2025Copper Contributor52Views0likes2CommentsHow to return counts of text cells across multiple worksheets in same workbook?
I'm working in Excel 365. Windows environment. Working in the Excel app but will be posting to a shared drive for multi-user data entry. 38 worksheets, one for each office. What I need is to be able to return the total # of records in the data set that are marked as 'Complete', 'Pending' and 'Urgent' (from a drop-down is one cell of each record), by office and the Rep's name that made the entry (also from drop-down). I would also like to be able to return the total entries across all worksheets by Rep Name, so I can see which offices/Reps are making the most/least entries. I'm not very savvy with using Power Query. I've tried to do it, but I think it requires that there are no blank cells in the records. It keeps making tables in the query that don't actually exist. Tried it using 6 worksheets, just to test it, and the appended data set contains way more tables that I added. I'm not bad with pivot tables. If anyone has an idea of how I could accomplish this, I sure would appreciate it! Thanks in advance for any assistance. :)Marcus_BoothFeb 15, 2025Brass Contributor42Views0likes1Comment
Resources
Tags
- excel42,212 Topics
- Formulas and Functions24,467 Topics
- Macros and VBA6,356 Topics
- office 3655,940 Topics
- Excel on Mac2,620 Topics
- BI & Data Analysis2,335 Topics
- Excel for web1,881 Topics
- Formulas & Functions1,716 Topics
- Need Help1,703 Topics
- Charting1,609 Topics