You read it right. Its going to be a quick post but at the end of it, you would be glad that you read it. Trick1: Text to Number Consider this =ISNUMBER(LEFT(12345,1)) – this returns FALSE as this simplifies to =ISNUMBER(“1″) However, =ISNUMBER(––LEFT(12345,1)) returns TRUE. The two minus signs in conjunction “––” converts text “1″ [...]
Posts Tagged ‘array formula’
The trick of ––
Posted in trick, tagged --, array formula, isnumber, Left, sum on July 10, 2009 | 1 Comment »
DPD analysis using two condition sum
Posted in Tip, tagged array formula, frequency, If, sum on June 10, 2009 | Leave a Comment »
Days past due analysis, two condition sum, bucketing data, frequency function Here I have carried out a days past due (DPD) analysis. This requires organizing data in various days bucket and makes use of conditional sum function. 14 cases are presented. Each case has a days past due and a corresponding amount. The objective is [...]
Lookup_value as array
Posted in Tip, tagged array formula, lookup, sum, vlookup on June 9, 2009 | Leave a Comment »
lookup_value as array, why lookup over vlookup, multiple lookup_value in single lookup function, sum(lookup) In one of my earlier posts, I had illustrated passing an array for col_index_num in vlookup. Refer Extract and sum vlookup results. We now look at the possibility of passing an array for lookup_value in vlookup. Refer the example below: If we [...]
Text to Numbers
Posted in Just Like That, tagged array formula, code, indirect, Len, lookup, lower, mid, row, Substitute, sum on June 8, 2009 | 1 Comment »
Just like that, each alphabet corresponds to a number, summing up alphabets I cant really see how this post could be useful to you. One of my friends who believed in numerology brought this problem to me of converting names to numbers. Here is the solution that we worked out. You may treat this as [...]
Adding errors, texts, numbers, blanks in a list
Posted in trick, tagged array formula, If, isblank, iserror, isnumber, istext, sum on June 4, 2009 | Leave a Comment »
A quick post. Here is how you can you can count errors, blanks, numbers, texts in a list. List A2:A11 is defined as Count_list To count Errors {=SUM(IF(ISERROR(Count_list),1,0))} Blanks {=SUM(IF(ISBLANK(Count_list),1,0))} Numbers {=SUM(IF(ISNUMBER(Count_list),1,0))} Text {=SUM(IF(ISTEXT(Count_list),1,0))} The formulas are entered as array formuals with ctrl+shift+enter
Extract and sum vlookup results
Posted in Tip, tagged array formula, sum, vlookup on June 1, 2009 | 1 Comment »
multiple vlookup, sum(vlookup), sum vlookup results in a single formula Consider the problem as below: The table gives the sales figures for each of the sales person across five products Say we need to find the total sales for identified salesperson across 3 products – Prod1, Prod2 and Prod5 One way to do this is [...]
Sum array with errors
Posted in Uncategorized, tagged array formula, If, isnumber, sum, sumx2py2 on May 29, 2009 | Leave a Comment »
How do you sum up an array which is a combination of numbers and errors? I faced this problem when carrying out a vlookup. The results_array is a combination of #N/A error and numbers as below: On summing up Results_array through the formula =sum(A2:A16) gives #N/A error. To overcome this problem I made use of the [...]