Category: AccountingWEB articles

Excel 2010 Tips and Tricks: Part 2

Part Two of Excel guru David Ringstrom's tips guaranteed to turn you into an Excel pro!
David Ringstrom, CPA, shares more features of Excel 2010.

Click here to read the full text of the article at AccountingWEB.com.

Microsoft Office moves into the Cloud

 

By David H. Ringstrom, CPA

Microsoft is beta testing a new subscription-based product called Office 365 that includes the following applications: Microsoft Office Professional Plus (Microsoft’s flagship productivity suite, which includes Word, Excel, PowerPoint, and other applications); Microsoft Exchange Online (e-mail, mobile access, contacts, anti-virus, and anti-spam); Microsoft Sharepoint Online (collaboration tool for building public or team-based Web sites); and Microsoft Lync Online (an instant messaging and online meeting tool).


In 2011, Microsoft Dynamics CRM Online will join the above offerings. This is not Microsoft’s first foray into Cloud-based apps. Anyone with a free SkyDrive account can use the Office Web Apps (browser-based versions of Word, Excel, and PowerPoint) and store up to 25 GB of documents online. Further, Microsoft has been offering subscription plans for the Business Productivity Online Standard Suite that has offered a similar mix of communication products sans Microsoft Office.


Anyone interested can sign up for the beta of either the Small Business or Enterprise versions of the program. Those who are accepted into the beta program receive the desktop version of Office 2010 Professional Plus, along with online access to Exchange, SharePoint, and Lync. Once Office 365 leaves beta, the service should be of particular interest to small business owners.


Exchange and SharePoint typically require dedicated servers, which in turn require specialized information technology expertise. These cloud-based versions will enable just about any business to take advantage of these powerful applications for e-mail, group calendaring, and collaboration.


The Small Business plan will cost $6/user/month for 1 to 25 users and will include:
  • Office Web Apps
  • Exchange Online, including 25 GB mailboxes, and the ability to send 25 MB attachments
  • SharePoint Online
  • Lync Online
  • Support provided via a moderated community forum


The Enterprise plan will cost $24/user/month and will include:
  • Office Professional desktop software
  • Office Web Apps
  • Exchange Online, including 25 GB mailboxes, and the ability to send 25 MB attachments
  • Sharepoint Online, including Forms, Access, Visio, and Excel services
  • Lync Online
  • 24/7 IT-level phone support
  • Financially-backed 99.9% uptime service, or, in other words, downtime of less than 9 hours per year


Larger businesses also will be able to subscribe to a kiosk plan that starts at $2/user/month to offer e-mail, SharePoint sites, and Office Web Apps to workers without dedicated computers. An Office 365 for education will be available in the future to help educational institutions provide services to students without maintaining servers.
Many businesses aren’t yet comfortable with having mission-critical applications and data residing in the Cloud, but this combination of low cost and high flexibility might cause skeptics to pause and consider the possibilities.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

UPDATE: BlackBerry PlayBook means business

By David Ringstrom


As iPhones continue to impinge on traditional BlackBerry territory, Research in Motion (RIM) is countering with a competitor to Apple’s famed iPad – a tablet known as the PlayBook will be released in early 2011.


Geared toward business users, the PlayBook will serve as either a standalone device, or a larger screen for a BlackBerry smartphone. Users will be able to access any information on their BlackBerry smartphone, such as e-mail, calendar appointments, and documents, interchangeably on either device.


Internet access is available via WiFi or by sharing the wireless data service plan of a BlackBerry. Unlike the iPad, the PlayBook will offer full support for Flash, which means users won’t have to jump through hoops to view YouTube.


At nine-tenths of a pound, the PlayBook is smaller and lighter than an iPad. Current iPads don’t offer built-in cameras, but the PlayBook will have dual high-definition cameras facing front and rear to allow video recording or video conferencing.


The PlayBook is compatible with BlackBerry Enterprise Server, and offers secure corporate data access. Video playback will be available at 1080p, along with support for MPEG, DivX, and WMV formats. The PlayBook will use the new BlackBerry Tablet operating system, which includes full multi-touch and gesture support.


The PlayBook will ship with a 1 GHz dual-core processor, and will have four times the onboard memory of an iPad (1 GB RAM in a PlayBook versus 256 MB in an iPad). The operating system allows for full multitasking, meaning users won’t have to pause or shut down one application to launch another. The PlayBook will have a standard microUSB and micro HDMI ports, and the 7-inch screen will offer a screen resolution of 1024 x 600.


RIM has not yet announced pricing, but some analysts expect the PlayBook will be offered through the cell phone carriers that sell BlackBerry smart phones. Others expect that the PlayBook will retail for approximately $499, which is the same as an entry level iPad.



A previous version of this article first appeared on www.accountingweb.com .
About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link



Editors Note:

John Stokdyk, editor at sister site AccountingWEB.co.uk, ponders the possibilities for those who can't have or won't have an Apple tablet.
I was reading Richard Holway's state of the IT industry report recently in which he talked about 2010 as the year of the tablet. With the launch of Apple's iPad in January, you can't really fault his logic, but for months GadgetZone readers will know that I have been twisting with envious rationalizations why I don't really want/need an iPad: too bulky, no multi-tasking and anyway, my mobile contract comes with a BlackBerry handset.
Credit goes to Apple for breaking open this new market, and for laying the most important foundations for its success with a burgeoning library of apps available through its online iTunes store.
But at last a potential rescuer is heading our way from the direction of Toronto-based BlackBerry manufacturer Research in Motion, which this week introduced its Playbook, a 7-inch (18cm) tablet with front and rear facing cameras to support video conferencing and an all operating system called QNX.
As I noted when I looked at Toshiba's JournE Touch, I like the size of the 7-inch screen and there's hope with BlackBerry's corporate market that it might have a chance of assembling an interesting collection.
As for connectivity, the Playbook will support Bluetooth and Wi-Fi connectivity, but has no 3G signal receiver. Instead you will need to tether it to a normal BlackBerry to establish a mobile data connection. At least I've already got the BlackBerry, but then I remember why I continue to suffer pangs of jealousy when friends whip out their iPhones and iPads to go surfing.
Because of the screen size of my BlackBerry Pearl I rarely use it on the web and when I do, the download speeds are somewhat ponderous. The last time I used the BlackBerry browser, I remember the times for a direct train home arriving after several minutes on my BlackBerry just as the train I was on pulled out of Reading station towards an interchange in London.
I dread to think what will happen to mobile network bandwidth if the Playbook takes off and all us BlackBerry users start surfing as obsessively as iPhone users.

New spam attack attempts to disable security software

By David Ringstrom


A virulent new e-mail threat is causing significant problems for large businesses and individuals. The infected e-mail messages entice recipients to click on a hyperlink to either a PDF or Windows Media (WMF) file. Doing so allows a worm to simultaneously exploit an infected user’s e-mail address book and attempt to disable the user's antivirus software.

The new virus, commonly referred to as “Here You Have,” is known by several technical names:
As an aside, the phrase “Here You Have” is a retread from the “Anna Kournikova” virus that made the rounds in 2001.


According to US-CERT, the subject lines typically read “Here you have” or “JustForYou” and includes a link to a PDF file or Windows Media (WMF) file. Users that click the link are directed to a malicious Web site that will prompt them to download and install a screensaver (.scr) file. In turn, installing this file infects the computer with an e-mail worm that distributes itself to every contact in the user’s e-mail address book. The virus also attempts to stop and delete the user security software.



Hello:

This is The Document I told you about,you can find it Here.
http://www.sharedocuments.com/library/PDF_Document21.025542010.pdf

Please check it and reply as soon as possible.
Cheers,
In other cases, the e-mail message takes this form:

Hello:

This is The Free Dowload Sex Movies,you can find it Here.
http://www.sharemovies.com/library/SEX21.025542010.wmv

Enjoy Your Time.
Cheers,
In addition to propagating through e-mail, McAfee reports that the virus also spreads through accessible remote machines, mapped drives, and removable media via Autorun replication.


Major antivirus firms have already provided removal tools or instructions:


If your computer is affected, only rely on removal tools and instructions from well-known companies. Enterprising malware authors often capitalize on outbreaks by creating and distributing free or paid “removal” tools that can do more harm than good.
In general, ensure that your antivirus software is up-to-date, and never click on links in unsolicited or suspicious e-mail ­- even from people that you know – no matter how enticing it may appear. No matter how legitimate a hyperlink in an e-mail appears, it’s easy for malware authors to set up instant redirects to other sites that can immediately infect your computer.


If you don’t already have antivirus software installed, consider the free Microsoft Security Essentials  application.



A previous version of this article first appeared on www.accountingweb.com .




About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

The Making of a Great Webcast Speaker

It goes without saying that if you are going to teach continuing education, you have to know your stuff. But the requirements of a good presentation go well beyond having knowledge of your subject—especially in an online presentation.

Click here to read the full text of the article at AccountingWEB.com.

Start-up company aims to simplify small business cash flow management

By David H. Ringstrom


Two graduates from University of California-Berkley have launched what they hope will become Mint.com  for small businesses.


Jessica Mah and Andy Su have just launched inDinero, which offers to aggregate all financial activity for your business into simple dashboards. This is accomplished through daily, automatic updates so that you can log into a single site to determine your current cash flow.


While Mint.com hopes to replace personal financial applications like Quicken, or the now defunct Microsoft Money, inDinero doesn't want to be an accounting package. The company's tag line, “Say hello to inDinero and goodbye to accounting” illustrates what they consider “a fresh approach to business finance.”


You won't find profit-and-loss reports here – the primary dashboard distills your business down to three lines: income, spending, and difference. You can drill down to find charts that show Income and Spending, Cash Balance, Spending by Category, and Income by Category. And, in true start-up fashion, inDinero calculates your Cash Runway, which is a projection of how many months your present cash flow can support your business operations.


The site says that data can be downloaded from more than 10,000 financial institutions, but the service is only free for the smallest of businesses:
  • The Solo plan is aimed at new entrepreneurs with up to 50 monthly transactions.
  • The Small Business plan allows up to 500 monthly transactions for $29.95/month.
  • The Enterprise plan allows unlimited transactions for $99.95/month.


Both paid plans offer a 30-day free trial, and the service can be cancelled at any time. All plans allow you to share your data with unlimited users, and free accountant access. All transactions can be downloaded to your computer for further analysis or import into an accounting package. The site also offers to e-mail you when transactions occur that fall outside your normal range of activity, which can help provide an early warning for fraud.



 A previous version of this article first appeared on www.accountingweb.com .



About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

What to do when Excel won’t let you insert columns

By David H. Ringstrom, CPA


From time to time you might encounter the prompt that appears when Excel thinks you can't add additional columns or rows.


This occurs when Excel considers used range of the worksheet to encompass all columns or rows. In this article I'll describe some techniques you can use to overcome this problem.


Figure 1: It's frustrating when Excel won't allow you to insert columns or rows.


The first, and usually easiest, method is to delete all columns to the right of the active area of your worksheet. If you can't insert rows, delete all rows below the active area of your worksheet.
For instance, assume you have data in columns A through M of your worksheet. To delete the remaining columns, place your cursor in cell N1, and then press Ctrl-Shift-Right. This will take you to the last column of the worksheet, which is column XFD in Excel 2007 or 2010, or column IV in Excel 2003 or earlier. Once you've done so, the cells in row 1 starting from column N through the right should be selected. Right-click on any of the selected cells, choose Delete, Entire Column, and then OK.


Further, let's assume our data goes down to row 28. Place your cursor in cell A29, and then press Ctrl-Shift-Down. This will take you to the last row of the spreadsheet, which is row 1,048,576 in Excel 2007 and 2010, or row 65,536 in Excel 2003 and earlier. Right-click on any of the selected cells, choose Delete, Entire Row, and then OK.


You may now try inserting new columns or rows. If that doesn't work, the next step is to use the Visual Basic Editor to enter a single line of code that will reset the used area of the spreadsheet:
     1.Right-click on the worksheet tab of the sheet where you can't insert columns (or rows), and then choose View Code.
     2.Press Ctrl-G to display the Immediate window, as shown in Figure 2.
 
Figure 2: The Immediate window in Excel's Visual Basic Editor.


     3.In the Immediate window, type ActiveSheet.UsedRange and then press Enter.
     4.It will appear as if nothing has happened, but the command in Step 3 forces Excel to change the Used Range of the worksheet to conform to just the area where your data is.
     5.Choose File, and then Exit to close the Visual Basic Editor.


You should now be able to insert new columns or rows as needed in your worksheet.




A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link.

Office 2010 has arrived! Customize your ribbon!

By David H. Ringstrom, CPA



Office 2010 is now in stores and at www.office.com, so anyone can upgrade to the latest version of Microsoft's flagship productivity suite. Office 2010 provides numerous refinements to the new user interface introduced with Office 2007.


As you might be aware, Microsoft abandoned a decades-old user interface comprised of drop-down menus for a new approach known as the ribbon. Although the ribbon tends to cause much gnashing of teeth and pulling of hair for long-time Office users, the user can get acclimated pretty quickly – particularly if you take advantage of the free transition tools for Word, Excel, and PowerPoint. As of this writing, 2010 versions of these interactive guides have not been released, but the user interfaces are pretty much identical between Office 2007 and Office 2010. Anyone using Office 2007 should encounter a seamless transition to Office 2010.


One major change that upgraders will notice is that the File menu has returned to Office 2010 apps in place of the round Office button in Office 2007. Further, the structure of this drop-down menu has changed. Whereas Office 2007's menu mostly followed the same structure as a traditional File menu, Office 2010 introduces a new Backstage View designed to make it easier to control various aspects of your document, such as printing and protecting the document when you share with others. Office 2010 also adds picture-editing and screen-capture capabilities to all Office applications.


Other new features include video editing in PowerPoint, an improved navigation pane in Word, and my favorite new feature, the ability to customize the ribbon. Office 2007's ribbon isn't customizable unless you resort to complex programming that required a book to explain. Conversely, in Office 2010 anyone can add or remove commands from the ribbon, and even create new tabs. Further, it's easy to export customizations and import them into Office 2010 on other computers. At long last, you can create an interface for Excel that groups the commands you use daily into a sequence that makes sense to you, which can be a significant time saver.


Excel 2010 has several new features, such as sparklines (in-cell charts), slicers (a visual method of filtering), and PowerPivot (an Excel 2010-specific feature that allows you to use pivot tables to crunch millions of records of data at once (see www.powerpivot.com).


New features in Outlook 2010 include an expanded ribbon, Quick Steps (a way to automate repetitive tasks), Conversations (a way of archiving or deleting related messages in one step), and Contact Cards (a way to get background information for people who contact you via e-mail).


Typically, every second or third release of Office tends to be transformational, while the interim releases tend to be enhancing. Anyone currently using Office 2007 will find a wealth of useful enhancements in Office 2010, while upgraders moving from Office 2003 or an earlier version will encounter a small learning curve with the ribbon interface.


Keep in mind that Microsoft has eliminated upgrade pricing for Office 2010, so everyone must pay full price. This may dissuade some users from upgrading, but there will be free options to consider. Office 2010 Starter (presently in beta testing) will be a limited feature, advertisement-supported version, or you can access the free Office Web Apps at www.skydrive.com. Set up a free account to get 10 GB of free online storage, and the ability to create new documents in Web-based versions of Office 2010 applications. You can also download a free trial of Office 2010 from www.office.com.



A previous version of this article first appeared on www.accountingweb.com .

About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Two ways to determine your top customers in QuickBooks, Excel

By David H. Ringstrom, CPA


Given the length of the Great Recession, your top customers today might not be the same folks who were your top customers even a couple months ago. In this article I'll demonstrate two ways that you can determine who your top customers are based on total sales.

The first technique involves a minor tweak to an existing QuickBooks report, while the second demonstrates a couple of tricks that I use to transform QuickBooks reports into usable data in Excel.

To quickly determine your top customers for a given time period, follow these steps:

1. In QuickBooks, choose Reports, Sales, and then Sales by Customer Summary.

2. When the report appears onscreen, change the report dates to display the period that you wish to see, and then click Refresh, as shown in Figure 1.

Figure 1: Modify the dates of the Sales By Customer Summary to display the report period in question.

3. Click the Modify Report button that appears at the top of the report window.

4. In the Modify Report window, change Sort By to Total, instead of Default, as shown in Figure 2.

Figure 2: Change the Sort By to Total, instead of Default.

5. Click OK to display the modified report on the screen.

6. To save this report for future use, click the Memorize button that appears at the top of the report window. Assign a name, such as Top Customers, and then optionally choose a Memorized Report Group. Going forward, you can access your report by choosing Reports, Memorized Reports, and then looking for your report title.

This approach is simple enough, but doesn't allow you to limit the report to a particular subset, say your top 10, 25, or 100 customers. Fortunately it's easy to do this with Excel:
1. In QuickBooks, choose Reports, Sales, and then Sales by Customer Summary.

2. When the report appears onscreen, change the report dates to display the period that you wish to see, and then click Refresh, as shown in Figure 1.

3. Click the Export button at the top of the report screen, choose New Excel workbook, and then click Export.

4. The total sales for each customer are a =SUM formula that will get corrupted by a subsequent process that we're going to do to this report, so we must convert the totals to values:

a. Right-click on the sales figure column (for instance, column D in Figure 3), choose Copy to copy the entire column to the clipboard.

Figure 3: Convert the sales figures to numbers instead of formulas.

b. Right-click again on the sales figure column, choose Paste Special, Values, and then click OK.

5. Click on cell A1, and then press Ctrl-* to select the entire report. Use the * key on the number pad of your keyboard, or press Ctrl-Shift-8.

6. Turn on the filter arrows:

  • Excel 2007/2010: Choose Sort & Filter in the Editing section of the ribbon, and then choose Filter.
  • Excel 2003 or earlier: Choose Data, Filter, and then AutoFilter.

7. Click the filter arrow in cell B1 (as shown in Figure 4), and then choose Text Filters, and then Custom (Users in Excel 2003 and earlier can just choose Custom).

Figure 4: Be sure to use the filter arrow in cell B1.

8. As shown in Figure 5, choose Does Not Equal, enter Total*, and then click OK.

Figure 5: Choosing Does Not Equal and Total* is the same as saying “does not begin with”

9. Use the worksheet frame to select all visible rows from row 2 through the end of the report, and then right-click on any of the rows you selected and then choose Delete, as shown in Figure 4.

10. Click the arrow in cell B1, and then choose All in Excel 2003 and earlier or click Select All in Excel 2007/2010.

11. Delete any blank columns, so that you're left with one column with your customer names, and a second column with the sales amounts.

12. The next step is to eliminate the word Total from the start of each customer row:

a. Click on column A on the worksheet frame to select the entire column.

b. Choose Data, and then Text to Columns.

c. When the Text to Columns wizard appears, choose Fixed Width, and then click Next.

d. Excel automatically guesses that we want to eliminate the word Total, so click Next again.

e. As shown in Figure 6, click on the Total column, and then choose Do Not Import (skip), and then click Finish.

Figure 6: The Text To Columns wizard allows you to delete the word Total from the start of each customer name.

3. You can now use the Top 10 AutoFilter feature to display a selected range of customers. To do so, click the arrow in at the top of the column that contains the sales figures. Next, choose Top 10 in Excel 2003 and earlier, or Number Filters, and then Top 10 in Excel 2007/2010. As you can see in Figure 7, although the feature is “Top 10”, you can really display the top number of your choice. The final report format is shown in Figure 8.

Figure 7: The Top 10 feature in Excel actually allows you to filter any number of customers you choose.

Figure 8: The final report format generated by using Excel's Top 10 filtering feature.

 

A previous version of this article first appeared on www.accountingweb.com .

 


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Transform multiple-line cell contents into columns in Excel

By David H. Ringstrom, CPA


Sometimes in Excel you may encounter a situation such as that shown in Figure 1, where each cell contains multiple lines of data. It's not a huge task to manually type a few records, but what if you have dozens or hundreds of records in this format? In this article I'll explain some simple techniques that can make quick work of transforming this data into columns.


Figure 1: It can be difficult to convert multiple lines of text in a single cell into columns
Expert Tip: If you want to recreate data similar to what you see in Figure 1, type a line of text in a cell, and then press Alt-Enter to add a new line.
The first step in the process is to use the SUBSTITUTE function to replace the non-printing new line character with another character. You must use a formula, because Excel's Find and Replace feature doesn't allow you to replace non-printing characters such as new lines. In a pinch, you can use Word to carry out such replacements, as shown in Figure 2, but it's easy to use SUBSTITUTE.


Figure 2: Word allows you to find and replace non-printing characters, but Excel doesn't.
The SUBSTITUTE function has four arguments:
·                     text – In this case, text will be a cell that contains new line characters
·                     old_text – Excel's CHAR function can generate the non-printable new line character
·                     new_text – I like to use the | symbol (often referred to as the pipe symbol) as a unique identifier in place of the new line character. This symbol usually appears above the \ key on your keyboard.
·                     instance_num – This is an optional argument that I'll omit in this case because I want to replace all of the new line characters with the pipe symbol. If I put a number here, only that quantity of new line characters would be replaced.


Excel's CHAR function just has a single argument wherein you indicate the number of the character that you want to return. New line characters are number 10, so I'll use CHAR(10) to indicate a new line. Here is a chart of all of the character symbols.


Now I'm ready to enter the formula shown in Figure 2 into cell B1. Click on cell B1, and then double-click the Fill Handle in the lower right-hand corner of the cell to copy the formula down through cell B5. As you can see in Figure 3, the SUBSTITUTE function takes the data from its original display in multiple rows and puts it into a single row, with a | symbol in between data that was on each row.


Figure 3: The SUBSTITUTE function transforms the multi-line data into a single line.
Now select cells B1 through B5, and then press Ctrl-C to copy the range to the clipboard. Right-click on cell B1, choose Paste Special, and then Values. Leave cells B1 through B5 selected, and choose Data, and then Text to Columns.


As shown in Figure 4, choose Delimited, and then click Next. Then, as shown in Figure 5, choose Other, and enter the | symbol. You can clear the checkbox for Tab, or leave it clicked – this won't have any impact if your data doesn't contain tab characters. Click Finish to complete the wizard steps. As you can see in Figure 6, the data is now transformed into columns!


Figure 4: Choose Delimited on the first screen of the Text to Columns wizard.


Figure 5: Choose Other, specify | as the separator, and then click Finish.


Figure 6: Text to columns transformed the data from rows within a single cell into columns.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Some unlikely uses for Excel’s SUMPRODUCT function

By David H. Ringstrom, CPA


While you may not be aware of Excel's SUMPRODUCT function, those in the know often use it for its stated purpose: multiplying two ranges together and then summing the total.
As shown in Figure 1, a single formula using SUMPRODUCT can replace the eight formulas listed in Cells D2 through D9. The SUMPRODUCT function multiplies the values in Column B by the values in Column C on a row-by-row basis, and then sums the total.
Although this is helpful, you might not be aware that SUMPRODUCT also can function like VLOOKUP or SUMIF on steroids.


Figure 1: SUMPRODUCT multiplies values together and sums the products, but can also do more.
Excel's VLOOKUP function allows you to look up data from a table based on criteria that you specify, and has four arguments:
  • lookup_value – This is the data that you want to look for in the first column of the table array.
  • table array – The table array is a range of two or more columns.
  • col_index_num – This argument allows you to specify the column within the table array for which you want to return data.
  • range_lookup – In this position you indicate FALSE if you're seeking an exact match for the lookup_value, or TRUE if you want an approximate match. For instance, you'd use FALSE to look up the price of an inventory item, or TRUE if you're determining which tax bracket an income level falls into.


Figure 2: VLOOKUP allows you to look up a single value based on a single criteria.
As shown in Figure 2, VLOOKUP returns $85,106 from Column E for the first instance of Apples that appears in Column D. The additional instances of Apples are ignored. If you need to add up multiple values based on specific criteria, then SUMIF is a better choice. This function has three arguments:
  • range – This is a column or row where you want to look for specified criteria.
  • criteria – This is the same as the lookup_value for VLOOKUP.
  • sum_range – This is a column or row from which you want to add up numbers whenever the criteria is found in the range.


Figure 3: SUMIF allows you to add up multiple items, but also is limited to a single criteria.


Figure 4: SUMPRODUCT can return the same results as SUMIF.
 
As shown in Figure 3, SUMIF returns $396,495. In this case, every time it found a match in Column D on the word Apples, it added up the corresponding value in Column E. Like VLOOKUP, you can only search based on a single criteria. Fortunately, SUMPRODUCT allows you to add up values based on multiple criteria.
However, let's first use SUMPRODUCT to match based on a single criteria, as shown in Figure 4. In this case it returns the same result as SUMIF because we only provided a single criteria.
Conversely, in Figure 5, SUMPRODUCT returns $272,584 because we specified that we only want sales for apples sold in North Georgia.


Figure 5: SUMPRODUCT also can return results based on multiple criteria.
As shown in Figure 5, the formula looks at Cells A2 through A19 for the words North GA, and at Cells D2 through D19 for the word Apples. When both criteria are met, SUMPRODUCT adds up the corresponding values from Cells E2 through E19.


Figure 6: SUMPRODUCT also can return the number of matches that meet criteria you specify.
Finally, as shown in Figure 6, if you only specify criteria and omit the range to sum, then SUMPRODUCT returns the number of items that match the criteria that you specify.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

What’s the FREQUENCY? Using Excel’s FREQUENCY function

By David H. Ringstrom, CPA


From time to time you may want to determine how items fall within specific ranges. For instance, a teacher may wish to know how many students earned A's, B's, C's, and so on. A real estate portfolio manager may wish to know how many buildings fall within ranges of 250,000, 500,000, and one million square feet, respectively. In such cases, Excel's FREQUENCY function is the right tool for the job.


The FREQUENCY function has two arguments:
  •  data_array – a range of cells containing numeric values
  • bins_array –a range of cells containing bins into which the numeric values should be grouped
                    
FREQUENCY has a special characteristic, in that you don't simply type it into a cell and press Enter. Instead, you must select the cells where you want to put the FREQUENCY function, type the formula, and then press Ctrl-Shift-Enter. If you simply press Enter, then FREQUENCY may return an incorrect result. Let's look at a simple example.
As shown in Figure 1, let's assume that a teacher wishes to determine how many students earned each letter grade. Columns A and B of Figure 1 contain student names and grades. Columns D and E contain letter grades and the top value of each letter grade range.


Figure 1: Cells B1:B10 will serve as the data_array, while cells E1:E5 will serve as the bins_array.
Now that we've established our data, we're ready to use the FREQUENCY function. First, we'll select cells F1 through F5, as shown in Figure 2.


Figure 2: Select cells F1 through F5 before you type the FREQUENCY function.
 Once you've selected cells F1 through F5, type the formula shown in Figure 3, and then press Ctrl-Shift-Enter. FREQUENCY will not function correctly if you simply press Enter and try to copy the formula to the adjacent cells.


Figure 3: Be sure to press Ctrl-Shift-Enter after you complete the FREQUENCY function.
As shown in Figure 4, when you press Ctrl-Shift-Enter, Excel fills cells F1 through F5 with the FREQUENCY function. Also notice the curly brackets that Excel adds around the formula. These indicate an array function, and these brackets can only be added by pressing Ctrl-Shift-Enter after you type or edit the formula. Unlike most formulas that aggregate results into a single cell, FREQUENCY requires you to select a multiple cell range in order to function correctly.


Figure 4:  Excel automatically fills cells F1 through F5 and adds curly brackets around FREQUENCY.
 
However, FREQUENCY isn't just for teachers. As I mentioned at the start of the article, a portfolio manager might wish to know how many buildings are defined as small, medium, or large, based on square footages of say 250,000, 500,000, and one million. Figure 5 shows an example.


Figure 5: Press Ctrl-Shift-Enter after you enter the formula shown in Figure 5.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Excel Tip: Converting numbers formatted as <1> to -1

By David H. Ringstrom, CPA


From time to time you may encounter financial data where negative numbers are enclosed in brackets, such as <100>. In most cases, Excel treats such numbers as text, which means such numbers won't be included in totals or other arithmetic functions.
Typically such numbers will be left-aligned, as shown in Figure 1.


Figure 1: Text-based numbers are typically left-aligned.
In this article I'll discuss two approaches you can use to convert such text-based inputs to negative numbers. I'll also share a formatting technique you can use if you want to enclose negative numbers in such brackets instead of parentheses.


The first approach for converting a number like <1> to -1 involves Excel's Find and Replace feature:
  1. Select the range of cells that contain numbers surrounded by < >. It doesn't matter if you select cells that have numbers without brackets, but it's helpful to limit the area that you're searching to avoid unintended replacements.
  2. In any version of Excel, press Ctrl-H to display the Find and Replace dialog box shown in Figure 1.
  3. As shown in Figure 2:
                    a.      Enter < in the Find What field
                    b.      Enter – in the Replace With field
                    c.      Click Replace All

Figure 2: Replace < characters with a minus sign.

 
      4.      Press Ctrl-H again, and as shown in Figure 3:
                    a.       Enter > in the Find What field
                    b.      Leave the Replace With field blank
                    c.       Click Replace All
 


Figure 3: Replace > characters with a blank field.
 
At this point all of the numbers surrounded by < > will be negative numbers and no longer treated as text.
Alternatively, you can tackle this problem formulaically. To do so, I'll use several different Excel functions:
  • IF – The IF function allows us to carry out a true/false test, return a result, or perform a calculation based on the result of the test. IF has three arguments: logical_test, value_if_true, and value_if_false.
  • ISNUMBER – The ISNUMBER function allows us to test whether a cell contains a number. This function has a single value argument, and returns TRUE if a cell contains a number or FALSE if it contains text or is blank.
  • VALUE – The VALUE function converts a number stored as text into a value, and has a single text argument.
  • MID – The MID function allows us to extract text from the middle of a string, which is another way to refer to text within a cell. This function has three arguments: text, start_num, and num_chars.
  • LEN – The LEN function returns the length of text within a cell, and has a single text argument.
Now let's put these functions together into a single formula.
1.      As shown in Figure 1, enter these inputs into a blank worksheet:
                    A1: <1>
                    A2: 20
                    A3: <30>
                    A4: 400
                    A5: <5,000>
2.      Enter this formula in Cell B2, as shown in Figure 4:
=IF(ISNUMBER(A1),A1,-VALUE(MID(A1,2,LEN(A1)-2)))
 
Figure 4: You can use a formula to convert text-based numbers to values.
 
As discussed above, IF has three arguments:
  • logical_test: the ISNUMBER function determines if the data in Cell A1 is a number or not.
  • value_if_true: If ISNUMBER returns true, then Cell A1 contains a number, so I'll simply return that value.
  • value_if_false: If ISNUMBER returns false, I know that I have a number surrounded by < > that I wish to remove. In this case I'll use the VALUE and MID functions together.
As shown above, MID has three arguments:
  • text – In this case, I refer to Cell A1 for the text I wish to shorten
  • start_num – I know that I want to eliminate the starting < character, so I instruct MID to start at the second position
  • num_char – I also want to eliminate the trailing >, so I'll use the LEN function to determine how long the text in Cell A1 is, and then subtract 2 from that number. Thus LEN(A1)-2 would return 1 for Cell A1. LEN(A3)-2 returns 2, and LEN(A5,2) returns 5 (the comma counts as a character).
The MID function returns a text-based number, which I convert using the VALUE function. I added a minus sign before VALUE to return a negative number.


Finally, I promised to share a technique that you can use if you want to use < > instead of parentheses to format a spreadsheet:
  • In any version of Excel, press Ctrl-F1 to display the Format Cells dialog box.
  • Choose Custom from the Number tab.
  • Erase the Type field, and enter this format code, as shown in Figure 4:
#,##0.00_);<#,##0.00>
Alternatively, use this code if you want to format the numbers with dollar signs:
$#,##0.00_);<$#,##0.00>
Or, insert [Red] if you with to make negative numbers red:
#,##0.00_);[Red]<#,##0.00>




A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Office 2007 Themes standardize document look, feel

By David H. Ringstrom, CPA


It can be a significant challenge to ensure that your company's documents have the same look and feel, particularly when you're using Excel, Word, PowerPoint, and Outlook together. Fortunately Office 2007's Themes feature can simplify the process.
Office 2007 ships with twenty built-in themes that you can readily apply, or you can download dozens more for free from the Microsoft Web site. You can even create your own themes that use the exact colors of your company logo or other design elements. I'll briefly explore each of these options in this article.
First, let's see how to access themes in Excel 2007. As shown in Figure 1, choose Page Layout, and then click the Themes button to display a list of choices.


Figure 1: Office 2007 ships with 20 pre-built themes that you can apply to your documents.


To apply a theme, simply click on the name, or hover over a theme to see how the fonts, borders, and colors within your document will change. As shown in Figure 1, you can access more themes through the More Themes on Microsoft Office Online command. This command takes you to the Microsoft Web site, where you can browse dozens more themes that you can download to your computer at no charge.
You also can create new theme elements on your own. As shown in Figure 2, click the Colors button in the Themes section of Excel 2007, and then choose New Theme Colors. The dialog box shown in Figure 3 will appear, from which you can assign colors that suit your needs.


Figure 2: You can choose from existing color sets, or create a new set.


Figure 3: You can create your own set of theme colors in Office 2007.


The Fonts button in the Themes section allows you to manage fonts, while the Effects button allows you to choose from prebuilt text effects.
Theme functionality in Word 2007 closely mirrors that of Excel 2007, with one caveat. Excel 2007 allows you to apply themes to any sort of document that you have open in Excel, including Excel 97-2003 documents. Curiously, Word disables the Theme option when you save your document in the Word 97-2003 format. Also, Outlook 2007 offers limited support for themes, as you must use Word 2007 as your e-mail editor to apply themes to your e-mail.


As you might expect, themes work a little differently in PowerPoint. You access themes through the Design tab of the PowerPoint ribbon, but all other functionality works the same. If you create a theme in Excel, Word, or PowerPoint that you want to use in one of the other applications, simply choose Save Current Theme, as shown in Figure 4.


Figure 4: Themes saved in one Office 2007 application can be opened in others.
To open a saved theme, choose Browse for Themes from the Theme menu, as shown in Figure 4. Your theme will appear in a new Custom theme section.


If you need even more control with regard to customizing themes, try the free Theme Builder for Office 2007. Although the application is still in beta, it provides granular control over themes that goes far beyond what you can do in Word, Excel, or PowerPoint.
Visit the Theme Builder Home page to get the free download. Before you click the Download link on the left-hand side of the page, do note that you must first install two components:
Keep in mind that the Theme Builder requires you to make numerous decisions that you might not be prepared for, so make sure that you really want a deep level of control over your themes before you download and install the software. For most users, simple color and font changes through the Office 2007 applications likely will suffice.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link

Understanding the Undo option in Excel

By David H. Ringstrom


One of my favorite features in Excel is the Undo feature, which as you might expect, allows you to undo the last action that you carried out in Excel. Indeed, you can generally undo multiple steps in Excel. However, there are some caveats to this functionality, as well as a couple tricks you may not know.


The keyboard shortcut that I use most often in Excel is Ctrl-Z, which is the shortcut for Undo. I can press it repeatedly to undo several actions. In Excel version 2003 or earlier, I can undo up to the last 16 steps that I've carried out. This list of 16 steps is known as the Undo Stack. However, when I'm using Excel 2007 or 2010, I have a much larger Undo Stack available to me: I can undo dozens of recent actions.


Excel 2003 and earlier versions also have another key restriction related to the Undo feature. When you save your workbook in these versions of Excel, the Undo Stack is erased, meaning you lose the ability to undo any actions you carried out prior to saving. Excel 2007 and 2010 don't have this limitation, which means you can save your workbook, and then still undo previous actions.


Many users rely on the Undo button on the Excel 2003 toolbar, or the Excel 2007/2010 Quick Access toolbar. However, a lot of users don't realize that the Undo button has a drop-down menu, as shown in Figure 1. When you click the menu, you can undo multiple actions at once by selecting a group of items from the list. You are, however, limited to choosing a consecutive list of items from the top down, and you can't skip items in between. However, this also allows you to see exactly what actions will be undone.


Figure 1: You can select multiple steps to Undo.
Keep in mind that in all versions of Excel there are certain actions that will clear the Undo stack. As previously mentioned, saving a workbook in Excel 2003 and earlier will clear the Undo Stack. In any version of Excel, the Undo Stack will be erased if you delete a worksheet from a workbook, or run a macro. Always be sure to save your work before you carry out either of these actions if you want to preserve a fall-back position in case you encounter unexpected ramifications.


A sister function to Undo is Redo, which has a keyboard shortcut of Ctrl-Y. The Redo toolbar button has a drop-down menu just like Undo. In fact, you can undo, and then redo, one or more actions. When necessary, this allows you to roll back the spreadsheet to how it looked a few steps prior, and then roll it forward to your latest update.



A previous version of this article first appeared on www.accountingweb.com .


About the author:

David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com  or follow him on Twitter. David speaks at conferences about Microsoft Excel, and presents webcasts for several CPE providers, including AccountingWEB partner CPE Link