<input type="hidden" id="_wpnonce" name="_wpnonce" value="ca3c62ece8" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/312" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="ca3c62ece8" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/312" />{"id":312,"date":"2012-02-19T02:26:55","date_gmt":"2012-02-19T02:26:55","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=312"},"modified":"2012-02-20T22:18:22","modified_gmt":"2012-02-20T22:18:22","slug":"microsoft-excel-useful-formulas","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2012\/02\/19\/microsoft-excel-useful-formulas\/","title":{"rendered":"Microsoft Excel useful formulas"},"content":{"rendered":"<!--CusAds0--><p>I needed to filter and manupulate some data and I ended up using the below formulas which I wanted to share and note down:<\/p>\n<p>strongVLOOKUP\/strong<\/p>\n<p>VLookup function searches for value in the left-most column of table_array and returns the value in the same row based on the index_number.<\/p>\n<p>The syntax for the VLookup function is:<\/p>\n<p>VLookup( value, table_array, index_number, not_exact_match )<\/p>\n<p>value is the value to search for in the first column of the table_array.<\/p>\n<p>table_array is two or more columns of data that is sorted in ascending order.<\/p>\n<p>index_number is the column number in table_array from which the matching value must be returned. The first column is 1.<\/p>\n<p>not_exact_match determines if you are looking for an exact match based on value. Enter FALSE to find an exact match. Enter TRUE to find an approximate match, which means that if an exact match if not found, then the VLookup function will look for the next largest value that is less than value.<\/p>\n<p>For more info have a look at this website:\u00a0a href=&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/vlookup.php&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/vlookup.php\/a<\/p>\n<p>strongCONCATENATE\/strong<\/p>\n<p>If you want to join several fields together then you can use formula.<\/p>\n<p>The syntax for the\u00a0strongConcatenate\/strong\u00a0function is:<br \/>\nblockquoteConcatenate( text1, text2, &#8230; text_n )\/blockquote<br \/>\nThere can be up to 30 strings that are joined together.<\/p>\n<p>E.g: fi A1 = Business and A2 = Legions then<\/p><!--CusAds0-->\n<p>=Concatenate(A1, A2)<\/p>\n<p>would return BusinessLegions<\/p>\n<p>For more information have a look at this site:\u00a0a href=&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/concat.php&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/concat.php\/a<\/p>\n<p>strongISERROR\/strong<\/p>\n<p>Instead of displaying the annoying #N\/A error, this will just make the field empty.<\/p>\n<p>the\u00a0strongIsError\/strong\u00a0function can be used to check for error values.<\/p>\n<p>The syntax for the\u00a0strongIsError\/strong\u00a0function is:<br \/>\nblockquoteIsError( value )\/blockquote<br \/>\nemvalue\/em\u00a0is the value that you want to test. If\u00a0emvalue\/em\u00a0is an error value (#N\/A, #VALUE!, #REF!, #DIV\/0!, #NUM!, #NAME? or #NULL), this function will return TRUE. Otherwise, it will return FALSE.<\/p>\n<p>For more information have a look at this site:\u00a0a href=&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/iserror.php&#8221;http:\/\/www.techonthenet.com\/excel\/formulas\/iserror.php\/a<\/p>\n<p>There&#8217;s obviously a lot more exists in Excel and hopefully I can expand this list.<\/p>\n<p>Here&#8217;s an example of combining the IF, ISERROR and VLOOKUP formulas together:<\/p>\n<p>=IF(ISERROR(VLOOKUP($A5,[another_spreadsheet]A1:$D10273,2,FALSE)),&#8221;&#8221;,VLOOKUP($A5,[another_spreadsheet]$A1:$D10273,2,FALSE))<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>I needed to filter and manupulate some data and I ended up using the below formulas which I wanted to share and note down: strongVLOOKUP\/strong VLookup function searches for value in the left-most column of table_array and returns the value in the same row based on the index_number. The syntax for the VLookup function is: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[441,443,442,446,450,438,433,417,448,437],"class_list":["post-312","post","type-post","status-publish","format-standard","hentry","category-technology","tag-array-index","tag-ascending-order","tag-column-number","tag-error-values","tag-excel-formulas","tag-index-number","tag-legions","tag-microsoft-excel","tag-techonthenet","tag-vlookup-function"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=312"}],"version-history":[{"count":2,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions"}],"predecessor-version":[{"id":314,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/312\/revisions\/314"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}