Anzeige. Eine Checkbox, oder auch Kontrollkästchen, kann in Excel verwendet werden, um Inhalte von Zellen abzuhaken und als erledigt oder wahr zu kennzeichnen. Ganz egal, ob Sie das nun für Ihre. How to delete a checkbox in Excel. Deleting an individual checkbox is easy - select it and press the Delete key on your keyboard.. To delete multiple checkboxes, select them using any of the methods described above, and hit Delete.. To delete all checkboxes at a time, go to the Home tab > Editing group > Find & Select > Go To Special, select the Objects radio button, and click OK Excel vba: Add checkboxes to a sheet (1/2) The code for adding the checkboxes are in that post. Also, the main difference is that my header begins on row 8. Change this line . For cell = 2 To LRow to. For cell = 9 To LRow and all lines containing E to your column. Reply. Carlos says: March 7, 2013 at 7:49 pm . Hi Oscar, Many thanks for the response. I am still a bit confused on your. One should assign the checkbox to the adjacent cell in order to avoid any sort of confusion. Recommended Articles. This has been a guide to CheckBox in Excel. Here we discuss its uses and how to create CheckBox in Excel with examples and downloadable excel templates. You may also look at these useful functions in excel - Excel Spell Chec
In Excel, you can't easily copy formulas that need to skip rows or columns following a certain pattern, because the references in the formula will automatically change following the relationship between the original source cell and the new target cell. However, with a little work it's possible to construct formula references that follow specific patterns The following code will add a Forms check box to each cell in the specified range. The check box is positioned at the top left corner of the cell, and the caption is set as Active. The check box is linked to the cell in which it is positioned. To link to a different cell, change the numbers in the Offset property. The first number is Rows -- use a positive number to move down, and negative. Learn how you can create MULTIPLE dependent data validation lists in Excel on the SAME sheet. In this video I'll show you a solution that requires ONE single.. In the Rows to repeat at top box, enter the reference of the rows that contain the column labels. In the Columns to repeat at left box, enter the reference of the columns that contain the row labels. For example, if you want to print column labels at the top of every printed page, you could type $1:$1 in the Rows to repeat at top box
How to select every Nth cell in an Excel column. In this Excel example, I'll show how you can select every Nth cell in an Excel column. eg. Selecting each 3th, 4th or 5th cell in the column. You notice it in the picture below, the selected each Nth or third cell in the column that contains the data Since you're already reading this article, you can copy the below check mark and paste it in Excel. To do this, copy the check mark and go to the cell where you want to copy it. Now either double-click on the cell or press the F2 key. This will take you to the edit mode. Simply paste the check mark (Control + V)
Notice that the Banded Rows check box is selected by default in the Table Style Options group. If you want to apply shading to alternate columns instead of alternate rows, you can clear this check box and select Banded Columns instead. If you want to convert the Excel table back to a regular range of cells, click anywhere in the table to display the tools necessary for converting the table. Excel for Developers https: The other option could be find all checkbox status within a region or cell. I found some sample code: Sub CheckboxesStatus() Dim chkbx As CheckBox For Each chkbx In ActiveSheet.CheckBoxes ' check each check box status Next End Sub. But the question is how to specify a region or cell here. Need help desparately. I have also attached the existing VBA code. Private. I want this to run every 4 hours: - read each row from the Excel table (working) - each non-empty row is the address of an RSS Feed - watch each of those feeds for new items - email each new item link as an email . I've got it working once-off (i.e. read the excel rows once, then continuously scan for new items) - but I need to refresh the read of the Excel file every 4 hours, so that any news.
While working on data in Excel, sometimes we need to check whether one value exists in a column or range of data. We tell Excel to find a value in a column or data range, and if the value exists in a column then return a specified value, else return otherwise. There are a number of ways to accomplish this task, and this article will show you those methods using examples. Check if one value. 3 thoughts on VBA loop through Every Row of a Table Column Nick. 2020-05-10 at 16:56 . you never defined shTableRows, so this doesn't work. Reply. Gergely Gy. 2020-05-10 at 18:38 . shTableRows is the codename of the sheet, you can find more about it here. Though that is true I forgot to mention it :), will update the post thank you for the feedback. Reply. Jake. 2020-11-16 at 05:57. Row function in excel is a worksheet function in excel which is used to show the current index number of the row of the selected or target cell, this is an inbuilt function and takes only one argument as the reference, the method to use this function is as follows,=ROW( Value ), it will only tell the row number of the cell not its value
Row function is used to return the row number of a cell reference. So in this situation row function will help to pick every nth value from range. Let's take an example and understand how we use Index and row function? Let's take an example to understand how we can retrieve the Nth value in a row, column and range. We have Agent data in. . In two of these columns, I would like to add a checkbox each so it gets checked for every order I get. Is it possible to creat a check box in a column? How can this be done, please give me a step by step tutorial. Thank Checklist is the checkbox in excel which is used to represent whether a given task is completed or not, normally the value returned by checklist is either true or false but we can improvise with the results, when the checklist is tick marked the result is true and when it is blank the result is false, checklist can be inserted from the insert option in the developer's tab By Cell link, select the location in the datasheet where you want to show the check/uncheck status of checkbox, which will be TRUE or FALSE respectively. Click Ok to continue. Now we will move checkbox to the end of the Attendance cell, you will notice that the cell it is referring to H2 location, which will change the values TRUE/FALSE
Conditional formatting, a feature available since Excel 97, applies formats to selected cells that meet criteria based on values or formulas you specify. Although conditional formatting is usually applied based on cell values, applying it based on formulas provides the flexibility to extend the conditional formatting interface all the way to the spreadsheet grid. Setting Up Checkboxes for. . How to achieve it. You can use an Excel VBA Macro to achieve the result quickly In this post we will see how to extract every nth value/row in excel. We will try to understand how to extract every nth value row in excel with couple of steps mentioned below. There are ways we could achieve that by using mod function in a column to get every nth row and then applying filter in that column for only 0's(MOD(row_num,n)=0 means the row number is n)). The cell that is used in the comparison for each additional column is located in the same row as the active cell. Below, the cell with an inconsistent formula is marked: By computertrainer | 2014-01-22T19:55:33+00:00 January 22nd, 2014 | Excel Tips , Office 2003 Tips , Office 2007 Tips , Office 2010 Tips , Office 2013 | Comments Off on Find Inconsistent Use of Formulas in Excel Column I have a spreadsheet that uses several check boxes to track which documents are available in an online library. Every time I add new documents to the spreadsheet, I drag the last cell (containing the check box) down over the new cells. When I copy the check boxes this way, the cell link remains the same for all check boxes I copy. I then have to fix each of the new check box's cell links by.
Finding the lowest or highest value in an Excel row or column is simple using the MIN() and MAX() functions, respectively. You just drop in the function and specify the range You can insert checkboxes on Excel's Developer tab. Unfortunately, that tab is hidden by default. To make it visible in Excel 2010 or 2013, click the File tab and select Options. Click Customize. . This is a quick and easy solution: Insert a column to the left of Column A In the empty column enter 1 in the row with the 1st row of data AutoFill the number down At the bottom of the screen by the Column A, click on the AutoFill options box and select Fill Series The series is selected from.
The ROW function returns a number for the row in a worksheet. If you need to lookup a row number, see the MATCH function.Use the ROWS function to count the number of rows in a reference.. Notes: Reference is optional and will default to the cell in which the ROW function exists.; Reference cannot include multiple references or addresses Finally, I add the checkboxes for every row, skipping the first one (the headers). The class name for the checkbox is Forms.Checkbox.1. Some other class names of note are. Forms.Combobox.1; Forms.Optionbutton.1 Forms.Textbox.1; Forms.Listbox.1; Forms.Commandbutton.1; I set the positional arguments to cover the cell in column A. Since my top and. See the below screenshot. In excel A,B,C,. represents Columns and 1,2,3,. represents Rows. I have selected a B3 cell. 'B3' means 'B' column and 3rd row. How to Insert formula in excel. I am showing you how to insert a subtraction formula. I am going to do D2=B2-C2. Here I have entered 45 in B2 cell and 20 in the C2 cell. I am going to enter the formula in D2. Select D2 cell. I'm not asking if they can all be checked at once. I'm asking what steps I would need to take in order to place a check box in every cell of a certain column without having to put individual check boxes in each cell of the column. Think of it as a file for customer experiences, and for one column you want to say whether they got a product demonstration, so you want to just go down the line and.
Let's look at some Excel ROW function examples and explore how to use the ROW function as a worksheet function in Microsoft Excel: Based on the Excel spreadsheet above, the following ROW examples would return: =ROW(B4) Result: 4 =ROW(A5:C5) Result: 5 =ROW(B1:G9) Result: 1. Share on: Advertisements . Home | About Us | Contact Us | Testimonials | Donate. While using this site, you agree to have. Check if one column value exists in another column. In the following example, you will work with automobile parts inventory data set. Column A has the parts available, and column B has all the parts needed.Column A has 115 entries, and column B has 1001 entries.We will discuss a couple of ways to match the entries in column A with the ones in column B. Column C will output True if there. Kutools For Excel is an add-on that expands the application's toolkit. The add-on includes a Select Interval Rows & columns tool with which you can select rows and columns at specified intervals. Thus, that's also a handy tool to select and then delete every other row with in Excel. Check out this website page for further Kutools details
I received an email from Bill this week asking how he can check if a range of cells The ISBLANK function returns a TRUE for every blank cell, which we then coerce into the numeric equivalent using the double unary - -. The ROWS function returns the number of cells (or rows) in a range. In English it reads: SUM the number of BLANK cells in the range A4:A10, if it equals the number of ROWS. This code copy a checkbox from (sheet 2) to (sheet 3) starting from V7 cell. Now I want the next time I press the command button to paste the data to cell V12,next time to V17 etc. My vba knowledge is not very good as you can see Last Row in a Column. To get the Last Row with data in a Column we need to use the End property of an Excel VBA Range.. Dim lastRow as Range 'Get Last Row with Data in Column Debug.Print Range(A1).End(xlDown).Row 'Result: 5 Set lastRow = Range(A1).End(xlDown).EntireRow 'Get Last Cell with Data in Row Dim lastRow as Range Set lastRow = Range(A1).End(xlDown If you plan to protect the sheet, unlock cells B2:B7, so the variables can be changed, and unlock cell C1, which is linked to the checkbox. Download the Sample File. To see the formulas, and test the checkbox, download the free Excel Formula Checkbox sample workbook. The file is in xlsx format, and is zipped. There are no macros in the workbook
Here Mudassar Ahmed Khan has explained with an example, how to get the selected rows of GridView using CheckBox in ASP.Net with C# and VB.Net. When the Button to get the selected rows of GridView is clicked, a loop will be executed over the GridView rows and all the rows whose CheckBox is checked will be marked as selected and will be copied to another GridView Excel Questions . Looking for VBA to check if all data in a column is the same (text) I want to check that the header row for EACH sheet is all the same. So I just grabbed those headers to a new cheat similar to above.. Thanks in advance. Some videos you may like Excel Facts Excel motto Click here to reveal answer. Not everything I do at work revolves around Excel. Only the fun parts. Joe4. If a user wishes to run a Macro in Microsoft Excel 2007 when the D10 cell is found to be populated, worksheet change event must be used in the Excel Worksheet, not in the module.Let's study this a little bit further. Solution. For example, when you have a Macro that runs when the user clicks on a button, but instead you want the Macro to run when Cell D10 is populated
Example #9: Excel VBA Insert a Number of Rows Every Number of Rows in a Data Range; Insert Rows in Excel. When working manually with Excel, you can insert rows in the following 2 steps: Select the row or rows above which to insert the row or rows. Do one of the following: Right-click and select Insert. Go to Home > Insert > Insert Sheet Rows. Use the Ctrl + Shift + + keyboard shortcut. 1. Draw a checkbox in cell B2. 2. Click on the lower right corner of cell B2 and drag it down to cell B11. 3. Right click the first checkbox and click Format Control. 4. Link the checkbox to the cell next to it (cell C2). 5. Repeat step 4 for the other checkboxes. 6. Insert a COUNTIF function to count the number of items packed. 7. Hide column. Worksheet.Rows property (Excel) 05/30/2019; 2 minutes to read +2; In this article. Returns a Range object that represents all the rows on the specified worksheet.. Syntax. expression.Rows. expression A variable that represents a Worksheet object.. Remarks. Using the Rows property without an object qualifier is equivalent to using ActiveSheet.Rows.If the active document isn't a worksheet, the. In this VBA Tutorial, you learn how to check if a cell or range is empty.. This VBA Tutorial is accompanied by an Excel workbook containing the data and macros I use in the examples below. You can get immediate free access to this example workbook by subscribing to the Power Spreadsheets Newsletter.. Use the following Table of Contents to navigate to the section you're interested in Method 4 - Programmatically inserting multiple rows in excel: Although this method is a bit complex than the first three, still this can be used if you are more inclined towards the coding side. Follow the below steps to use this method: Navigate to the 'View' tab on the top ribbon, click on the 'Macros' button. Now type the name for the macro say Insert_Lines (without quotes.
ROW in Excel Example #1 - To Find out ROW Number of the Current Cell. If you enter =ROW() in any cell in excel, it will return the row number of that cell. Let's check out this. In the below-mentioned example, For the Cell B8, I need to find out row number of that cell with the help of ROW function Every cell selected in the range must be within the same worksheet. As of now, Excel does not support multi-dimensional ranges (i.e. ranges spread over multiple worksheets). You will use the Range function a lot in your VBA programming since it makes selecting a cell or a range of cells so effortlessly easy. Syntax. The basic syntax of the VBA range command is as follows: Range(Cell 1. Cell 2. Check Also Extract First Line Of Text From Cell In Excel. Check Also Fit Image Inside A Shape In Excel. Check Also How To Automatically Border Cell In Excel. Check Also Top 30 Excel Interview Questions And Answers For Data Analyst. Check Also Insert Hyphen Within A Phone Number In Excel. Check Also Format Number In A String Without Extracting In Excel. Home; Helpful Operations Replace Asterisk. Let us show you how to compare two rows in Excel using VBA and automate this process. How to compare two rows in Excel using VBA. VBA has a built in function called StrComp that can compare two strings. This function returns an integer based on the result of the comparison. Zero '0' means a perfect match, and the code example below highlights the cell if the result is NOT equal to '0.
To make Excel show you the formula behind every cell in your spreadsheet, you'll need to engage formula auditing mode. The keyboard shortcut for this is simple: Ctrl + ` (that's known as the grave accent, and you'll find it to the left of the 1 key on your keyboard, above the Tab button). Protip: Also check out these 7 little-known shortcuts. Just hit those two button on your. In the Excel PivotTable Options dialog box, there are lots of settings that you can turn on or off.Most of the settings work the way you'd expect, but the Show the Values Row option might not seem to do anything. You turn it on and off, and nothing changes This example will help you to know how to check if a cell or a range is blank or not using Excel VBA. This can be used in Excel 2003,2007,2010,2013. VBA code to check if a cell is blank - Syntax. Here is the example Excel VBA Syntax to check if a cell is blank or not. The below macro will check whether a Range A1 is blank or not
Set Excel Row Height and Column Width in C#, VB.NET Mostly likely, we need to change the column width and row height when creating a spreadsheet with Microsoft Excel. Excel has enabled us to modify column width and row height in many different ways, such as dragging the boundary of a column or row to a desired size, inputting a certain value in the Column width box or Row height box It is necessary for us to have the knowledge of sum data by every N rows in excel. Actually, excel built-in functions SUM and OFFSET can help us resolve this issue properly. This article will show you 'sum every N rows' based on SUM and OFFSET functions. We will introduce the two functions with simple examples, descriptions, screenshots and explanations, and we will let you know the.
Result. A check mark in Excel. 4. To insert a fancy red X, press SHIFT + O to insert a capital O and change the font color to red. 5. Now you can create a nice to-do list that uses check marks. Use CTRL + c and CTRL + v to copy/paste a check mark or red X. Instead of executing step 1 and 2, you can also use the Insert tab to insert a check mark. With a little creativity and Excel's check box feature, we show you how to total a selection of list items with ease. Use the techniques illustrated in this article to spice up your invoices.
The stacks of white rows can dull your senses. Shading every other row in Excel can produce a wonderful contrast between these white rows and brighten your Excel experience. There are many in-built color patterns and schemes you can use to shade your Excel data. A conditional format is the easiest way to apply these color schemes To make a check box in Excel 2011 for Mac, take these steps: While your form is unprotected, click the Check Box control on the Developer tab of the Ribbon. Drag diagonally and then let go of the mouse. A check box appears and is selected on your worksheet. Right-click the new button and choose Format Control from the pop-up menu. On the Control tab of the Format control dialog, set a cell.
Adding check-boxes to Excel 2013 spreadsheet can help you easily implement conditional functions without having to use any complex formulas. While the checkbox in Excel 2013 allows you to operate on boolean values, you can easily link any if-else statements with check boxes' values (TRUE/FALSE) to get the condition-based results We just use the Total Row checkbox in the TableTools > Design ribbon tab, as shown below: Customize Totals. When you turn on the total row, Excel does its best to determine which column you want to add. If Excel displays a total for a column that doesn't need one, simply select the drop-down control in the total row and select none. The drop-down also contains other math functions, such as.
Let's check out those tips. Essential Tips for Microsoft Excel 2016 1. Resize Columns and Rows. The Excel default cell height and width is hardly one size fits all. Chances are, you'll need to. Hi every one, I have an Excel book that is being at the end summarized in one table every month (shown below) So the scenario is as follow: 1. Check all cells in column Completion Status every day. 2. If all cells has value = Complete 3. Then send an approval request to Marie 4. If all or. RELATED: Using Conditional Cell Formatting in Excel 2007. If you've never used Conditional Formatting before, you might want to look at Using Conditional Cell Formatting in Excel 2007. It's for an earlier version of Excel, but the interface really hasn't changed much. That guide talks about formatting specific cells based on their content. For example, say you use a spreadsheet to track. just I want to fetch particular columns data from excel(I have data in excel.csv file of 60 columns and 20 rows) in c# using windows application please help me if you can because am beginner started learning on my own by approaching websites. Thanks in advance. Richard MacCutchan 9-Nov-18 5:05am We cannot help you unless you tell us what the problem is. Srilekha Bolamoni 9-Nov-18 6:09am Am not. Hi, A bit long but with explanation. In the column where you want to insert the formula, you can use a MOD formula and drag it down. Please see the screen shot below: If you note, in Cell B2, i have entered the formula as = MOD(ROW(),2) ROW fun..
You use Greetly to automate visitor check-in. You want easy access to your digital visitor log. This integration between Greetly and Excel is the perfect solution. Every visitor sign-in will create a.. Excel is the most commonly used spreadsheet management software. VBA , or Visual Basic for Applications, takes it a step further and makes it easy for you to automate just about anything in Excel (check out this tutorial for a quick into to VBA).In today's tutorial, we're going to show you how to use the Offset function in VBA, to select a cell or a range of cells The Problem. Unfortunately, there is no built-in way to do this in Excel. When you click the Total Row checkbox in the Table Tools ribbon, it only adds the SUBTOTAL formula to the bottom right corner of the Excel Table.. To compound that problem, when you copy/paste this formula to the other cells in the Total Row, the results are incorrect Also Read: How to check if a Cell in an Excel Worksheet has numbers using VBA. Here's another example. Look at the image below. The texts or the data in every cell in Column A overlaps with other column's cells. The data may even hide inside the cell. You can increase the width of the column using the .ColumnWidth property. For example, the code below doubles the width of column A.
Visual Basic Application or VBA , when used in Microsoft Excel, is an efficient tool, as repetitive jobs can be automated with its help. Users can even write custom VBA code to meet their programming needs. Using interesting properties like offset, one can operate across different cells in Excel.Operations like selecting the next empty cell in a row can be automatically done and in this. Excel Tables have a Total Row that can be toggled on and off from the Ribbon. Several functions are available when the Total Row is turned on. In Excel 2010 and 2007 (Windows) select a cell inside the Table, then choose Table Tools and click the check box for Total Row.In Excel 2011 (Mac) select a cell in the Table and choose Tables, then select the check box for Total Row When entering numerical data in Excel, it helps to format it according to the type of data it is. Formatting a cell according to its data type—e.g. percentage, currency, date, or text—helps.
You can hide columns and rows in Excel to make a cleaner spreadsheet without deleting data you might need later. However, you can't hide individual cells. As in all Microsoft programs, there is more than one way of accomplishing a task. The directions below cover three ways to hide and unhide columns and rows in an Excel worksheet: Using a keyboard shortcut. Using the right-click context menu. Here are the Excel formulas to check if Cell contains specific text then return something. This will return if there is any string or any text in given Cell. We can use this simple approach to check if a cell contains text, specific text, string, any text using Excel If formula. We can use equals to operator(=) to compare the strings . If Cell Contains Text Then TRUE. Following is the Excel. How to Merge Rows in Excel. There is no quick and easy trick or feature to merge rows in Excel. You'll need to use the same CONCATENATE function as you did for merging columns. However the technique is a little different. It isn't very common for people to combine data from different rows into a new row, but the need may arise occasionally How To Fix All Row Heights In Excel. While this trick isn't technically fixing a row in place, it's a way to format all rows in Excel at once. This will save a lot of time over individually adjusting rows one at a time. This is especially helpful in a massive spreadsheet. To adjust the height of all rows in the sheet, select every row
Let us show you how to compare two columns in Excel using VBA and automate this process. How to Compare two Columns in Excel . VBA has a built in function called StrComp, which can compare two separate strings. This function returns an integer based on the result of the comparison. Zero '0′ means a perfect match, and the sample code we give below highlights the cell if the result is NOT. How To: Clear data & cell contents in Excel using a macro How To: Create an Excel spreadsheet to calculate your GPA How To: Cross-check two lists for discrepancies in MS Excel How To: Multiply column times row with Transpose in MS Excel
I have an Excel document that shows the info of the cells in the body of the document, but when you click on any cell, the text, number, or formula does not show up in the formula bar. I've never seen this before. The Review tab shows the sheet as protected, and to try to unprotect it, it is asking me for a password, which I don't know (the document came to me from someone else). The bizarre. Microsoft Excel Spreadsheets consists of a huge amount of data and disappearance of data from any cell would make the situation really troublesome for the Excel users. Even it is possible that the data missing on excel sheets can change the entire result of the Workbook. Since, this is a commonly reported issue of Excel users, here we will talk about, how to recover back data disappears in.
Function PROFEXIndentLevel(Cell As Range) 'This function returns the indentation of a cell content Application.Volatile 'With Application.Volatile you can make sure, that the function will be recalculated once the worksheet is recalculated 'for example, when you press F9 (Windows) or press enter in a cell PROFEXIndentLevel = Cell.IndentLevel 'Return the IndentLevel End Functio When you work with VBA (macros) in Excel, you often need to test or check cell content. Is the cell empty, is it a number, a text (string), a formula, an error, a date - or does it have a comment or conditional formatting? And how do you do that? Below are some examples. If you mark the code with the mouse, you can copy (CTRL+C) and paste (CTRL+V) it into a VBA module. The examples use cell A1.
Like you say, catering for every exception on every function will get unwieldy, so maybe you can give the user a menu option to add their commonly-used functions to an exceptions list where they choose how each argument is dealt with (eg. check/ignore/NA). If you take VLOOKUP for example, whether you use TRUE/FALSE or 1/0 for the fourth argument, it should not affect the outcome of the UDF. Yes, using conditional formatting/NEW RULE 1) Highlight all the rows you wish to have change colour. It's a good idea NOT to highlight the label/header row, unless you adjust your formula to match those conditions 2) CONDITIONAL FORMATTING/NEW RUL.. An Excel formula to check if a cell contains some text Sometimes you need to search for a specific piece of text within a cell. One example I had to deal with in my professional career was a situation where a workbook combined invoice and credit note data from two different systems Find answers to Excel macro to check every cell in all sheets and remove numbers from the expert community at Experts Exchang Double check that you're only deleting the rows that you want, as selecting and deleting individual cells will move the data below it up, potentially disrupting the workflow of your Excel sheet
The other day, while I was putting my kids to sleep, this idea came to me. How do I check if a cell contains a palindrome, using Excel formulas? Next morning, I wrestled with excel for about 20 minutes and boom, the formula is ready. But what is a palindrome? A palindrome is a word, phrase, verse, or sentence that reads the same backward or forward. For example: A man, a plan, a canal, Panama. How to Repeat Rows in Excel 2010 When Printing. Repeating a row on each page of a spreadsheet in Excel 2010 is dependent upon your use of column headings for your sheet. While typical usage involves these headings being located in the first row of the spreadsheet, you can specify any row to repeat at the top of your sheets, if you so choose. Copying a row in Excel VBA is the kind of thing that Excel VBA is really useful for. For example, you may want to have one file of all your receipts with date, account, category, provider, product/service, and cost entered one line at a time, as they occur—an instance of evolving accounting rather than static accounting