Learn Excel from MrExcel – “Assign A Unique Color Value”: Podcast #1718
Bigger – Better – Brilliant!
Mansoor asked an interesting question for today’s New Widescreen Podcast. Can you assign a Color to each Unique Value in a Column, and then automatically re-use that Color when the same Value is entered. Bill understands that in order to perform the required spec, this operation will require a VBA Event Handler Macro to analyze each entry. However, the logic is similar to what you would use in Excel: use =MATCH() to figure out if the Value appears above. If the Value is found, then re-use the Color from the matching Cell. Otherwise, create a random Color using three =RANDBETWEEN() Functions. Follow Bill in Episode #1718 to see how the result is achieved and the Color Values are applied.
Use Excel® 2013 VBA and Macros to automate virtually any routine task, and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! You’ll discover macro techniques you won’t find anywhere else and learn how to create automated reports that are amazingly powerful and useful.
For more information on Excel 2010 VBA and Macros, check out…
VBA and Macros: Microsoft Excel 2010 – The fastest, best way to go beyond the Macro Recorder and move up the Excel VBA learning curve…Includes crucial information on making Excel 2010 VBA code work with older versions
Using Microsoft Excel 2010 VBA scripting features, Excel users can save dozens – or even hundreds – of hours per year. But most Excel users have never written a VBA script: many haven’t even used Excel’s built-in Macro Recorder.
“The Learn Excel from MrExcel Podcast Series”
Visit us: MrExcel.com for all of your Microsoft Excel Needs!
Entry filed under: 2013, Bill Jelen, Bill Jelen and Tracy Syrstad, eLearning, Excel, Excel 2010, Excel 2010 In Depth, Excel 2013, Excel 2013 In Depth, Excel for Business, Excel for Educators, Excel for Students, Excel For Teachers, For Educators, Learn Excel 2007 through Excel 2010, Learn Excel 2010, Learn Excel 2013, Learn Excel 2013 from MrExcel, Learn Excel from MrExcel, Macro, Microsoft Excel, Microsoft Excel 2010, Microsoft Excel 2013, Microsoft Excel MVP, MrExcel, MrExcel Podcast, MrExcel Products, New MrExcel Publication, Office 15, VBA and Macros. Tags: 2010, 2013, accounting, Bill Jelen, business, color, Event Handler, Excel, Excel 2010, Excel 2013, formula, Functions, Macro, MrExcel, Palette, Range, spreadsheets, technology, tutorial, Unique Value, Value, VBA, Visual Basic for Applications, Workbook, Worksheet.