#Excel Super Links #12 – shared by David Hager

And, the Super Links just keep on coming!

Automation AddIns As Functions Libraries For Excel And VBA

http://www.cpearson.com/excel/AutomationAddIns.aspx

VBA4Play Part 1: Movement and Collision Detection

https://carywalkin.ca/2013/04/03/vba4play-part-1-movement-and-collision-detection/

Denormalizing Tables in Power Query

https://javierguillen.wordpress.com/2014/01/05/denormalizing-tables-in-power-query/

My First Custom Ribbon Using Excel-DNA And Visual Studio

https://colinlegg.wordpress.com/2016/11/07/my-first-custom-ribbon-using-excel-dna-and-visual-studio/

The DAX ENDSWITHX Function Equivalent

https://dhexcel1.wordpress.com/2015/06/21/the-dax-endswithx-function-equivalent/

#Excel: Using Conditional Formatting to Highlight Cells Containing User-Defined Functions by David Hager

Conditional fomatting (CF) in Excel is a powerful tool for highlighting cells that meet certain criteria based on a formula. However, to my knowledge a worksheet formula has never been used with CF to highlight cells containing user-defined functions (UDF). Presented here is a method to accomplish this.

In order to lookup whether a formula is a UDF, a lookup table of all Excel worksheet functions is required. I found the list for this at this Microsoft site.

https://support.office.com/en-us/article/Excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188

The list is in the range A2:A472 in the example workbook. It was defined as xlFunctionList. I tried to just name an array of function names, but it exceeded the number of characters allowed.

So, with E2 as the active cell, I created the following defined name formula:

IsUDF=ISERROR(MATCH(MID(FORMULATEXT(E2),2,FIND(“(“,FORMULATEXT(E2))-2),xlFunctionList,0))

The formula =MID(FORMULATEXT(E2),2,FIND(“(“,FORMULATEXT(E2))-2) locates the first occurrence of the left parens. This value in used by the MID function to return a string with the function name. Then, the MATCH function looks up whether that string is in the function list. If it is not there the ISERROR function will return True. Thus, when applied as conditional formatting to cells E2:F2, E2 has a yellow highlight, indicating that a UDF function is in that cell. F2, containing a native function, is not highlighted. Note, though, that this technique only works if the function is at the beginning of the formula. Perhaps a followup to this article will deal with that issue.

isudf1

You can download the example file here:

IsUDF

#Excel Super Links #11 – shared by David Hager

I am happy to see that y’all are finding these links useful.

In Cell Charting

http://dailydoseofexcel.com/archives/2006/02/05/in-cell-charting/

Calculate Start and End Dates in Power Query

http://www.excelguru.ca/blog/2017/03/14/calculate-start-end-dates/

3 Helpful Power BI Features You Might Not be Using

https://www.blue-granite.com/blog/3-helpful-power-bi-features-you-might-not-be-using

Formula Forensics 042: Reverse Text – A Formulaic Solution Using TEXTJOIN

http://chandoo.org/wp/2017/01/04/formula-forensics-042-reverse-text-a-formulaic-solution/

Excel Irregular Banding on a Filtered List

https://dhexcel1.wordpress.com/2014/01/18/excel-irregular-banding-on-a-filtered-list/

 

#Excel Super Links #10 – shared by David Hager

Here is the 10th issue of ESL. One of the links in each Excel Super Links will be to articles on my web site from now on.

How to Solve an Equation in Excel

http://chandoo.org/wp/2013/09/19/how-to-solve-an-equation-in-excel/

Excel Matrix Multiplication – Replacing MMULT with Power Query

http://datachant.com/2016/06/01/excel-matrix-multiplication-replacing-mmult-with-power-query/

Parent-Child Hierarchies in DAX

http://www.daxpatterns.com/parent-child-hierarchies/

User-defined Excel Chart Tooltips

http://www.clearlyandsimply.com/clearly_and_simply/2016/09/user-defined-excel-chart-tooltips.html#more

BINGO! An #Excel Game – Random Numbers W/O Repetition Using Worksheet Formulas

https://dhexcel1.wordpress.com/2015/03/31/bingo/

 

#Excel Short and Sweep Tip #3 (Freeze Values) by David Hager

Highlight a worksheet range that contains formulas or a mixture of formulas and values. Grab the edge of the range with right-click and pull away, then immediately place back in the same range location. The right-click menu will appear. Click the option labelled “Copy here as Values only”. Every formula in the range will be converted to its underlying value.

 

#Excel Super Links #9 – shared by David Hager

Issue #9 is here! Starting wth issue #10, I will start presenting some of my blog posts.

Excel Magic Trick 1403: DAX Formulas: Explicit or Implicit Measures? Why Explicit is Better

https://www.youtube.com/watch?v=OaVTPas2x8Y

Solving Business Problems – Power Query Does That

http://www.excelguru.ca/blog/2017/02/02/solving-business-problems/

The Art & Science of Creating An Excel Dashboard (With Examples & Templates)

https://trumpexcel.com/creating-excel-dashboard/

Prevent Users Ctrl Break (ing) Your VBA Code During Execution

http://www.databison.com/prevent-users-ctrl-break-ing-your-vba-code-during-execution/

Sorting a List Alphabetically (Without Filters) with Excel Formulas

https://excelxor.com/2015/01/22/sorting-a-list-alphabetically-without-filters/#more-4166