How to Record a Macro in Excel (No Coding Needed) A macro is a recorded set of steps that Excel can replay on demand. To make one, turn on the macro recorder (View > Macros > Record Macro), do the steps you want to automate once, then stop the recording. From then on, running the macro repeats those steps in one click or one keyboard shortcut, with no coding required. For months I spent the first twenty minutes of every Monday doing the same routine on a weekly export: delete three columns, trim the spaces, format the dates, apply a filter, resize the columns, and freeze the top row. Twelve or so steps, always in the same order, always slightly boring and occasionally done wrong because I was half asleep. A colleague saw me at it one morning and said, "You know you can just record that, right?" I recorded it that same afternoon. The Monday routine went from twenty minutes to about four seconds, and I've been a bit evangelical about macros ever since, though I...
Excel Charts: How to Choose the Right Chart Type Use a line chart to show change over time, a column chart to compare categories, a pie chart only when you have a few parts that add up to a whole, and a scatter chart to show whether two numbers move together. Most unreadable charts come from picking the wrong type for the question, not from poor formatting. I once presented a pie chart with fourteen slices to a management meeting, each slice a different product line. I thought it looked colourful and impressive. Within about thirty seconds, one of the directors asked, politely, what exactly he was looking at, and I realised I couldn't read it properly myself from the back of the room. I rebuilt it as a sorted bar chart that evening, and nobody asked a single question about how to read it the next time. That was more or less the end of my pie chart phase. How do I create a chart in Excel? Select the data you want to chart, including the column and row headings Go to Inse...
Flash Fill in Excel: How Ctrl+E Splits and Combines Text Automatically Flash Fill spots a pattern in what you type and fills the rest of the column to match. Type the result you want in the first row next to your data, start the second row or press Ctrl+E, and Excel completes the whole column for you. It works on text, so it's ideal for splitting names, joining pieces together, or reformatting things like phone numbers, without writing a formula. One afternoon I had about 600 customer phone numbers pasted in as a single block of digits, like 0412345678, and a request to make them readable as 0412 345 678 for a mail-out. My plan was to build a formula with LEFT, MID and RIGHT, which would have worked fine. A colleague walked past, watched me typing the formula, and said, "Why not just type the first one how you want it and hit Ctrl+E?" I did. The other 599 filled in before I'd finished sighing. I'd had Excel for years and never touched Flash Fill, mostly beca...
Comments
Post a Comment