how to enable copy paste in excel

We provide tips, how to guide, provide online training, and also provide Excel solutions to your business problems. Read More: How to Autofilter and Copy Visible Rows with Excel VBA. Where To Change Fields Displayed In Vf Page Salesforce. This website is not affiliated in any way with Microsoft Corporation. John is a Microsoft MVP and qualified actuary with over 15 years of experience. So, this article will show you the effective methods to Copy and Paste in Excel when the Filter feature is on. Im John, and my goal is to help you Excel! 4 How to copy data from one Excel workbook to another? 2 How do you find the value of another workbook? Editorial Staff at WebNots are team members who love to build websites, find tech hacks and share the learning with community. Right-click on the selected cell(s) to open the context menu. Most people are familiar with Excels copy and paste feature and usually know about the Ctrl + C and Ctrl + V shortcuts. How to Install Gmail as an App in Windows and Mac? Click on the installation file and then click Modify button. ExcelDemy.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program. However, I can still use ctrl + x, ctrl + c, and ctrl + v. There was also a custom UI run in one of the workbooks I was using, so I'm not sure if that has any effect on it. How to Disable Screen Dimming on Battery in Windows 11? You can Copy and Paste particular cell characteristics with Paste Special (examples: formats, values, column widths, etc.). This keyboard shortcut is a legacy shortcut from before the Excel ribbon command existed and its still usable. Though read-only files allow you to cut or delete the content, you may get a warning when trying to save the file. Code: Sub Sample3 () End Sub Step 4: Activate the worksheet to use the properties of the worksheet. For these cases, you can insert a picture of your table via screen capture, or edit the pasted table and choose other colors/styles. Apple Teases a Wide Range of Content to Celebrate Black History Month, It's Back, Baby! Disclosure: This post may contain affiliate links, meaning when you click the links and make a purchase, we receive a commission. In your Excel worksheet, you will see, all the cells which are given in the Macro code have been copied to the mentioned destination. You could also try this: add a worksheet change event handler (or a workbook_sheetchange event handler) to check if the last action in the undo list is "Paste" and, if so, undo. When we copy the filtered columns in Excel, it automatically copies the hidden cells along with the visible cells. Power query is amazing tool that allows you to import and transform data with ease and helps to create repeatable and robust procedures with your data. Here, well apply the Filter feature to the products. With your data selected go to the Data tab then select the Advanced command in the Sort and Filter section. Step 2: Click on the module inserted to open up the code window, Step 3: Declare a sub-function to start writing the code. Press + X. Click the cell where you want to paste the formula. It will open a drop-down list of options. The example data used in this post contains various formatting. It will execute the Macro in your Excel worksheet. Within one workbook open in the browser, you can copy and paste anything except for the following unsupported content: Between different workbooks open in the browser, the following content is unsupported: When you paste tabular data, the row-and-column structure of the cells is preserved in Excel for the web. Paste values is also available from the right click menu. On Chrome, you can install the Office - Enable Copy and Paste Extension, which will allows you to cut, copy, and paste with your mouse on all the Office Online apps. How To Find Your Salesforce Orgs 18-Digit ID Number. It shows an error when we copy the visible cells and pastes them into another column of the same filtered table. Check Copy & Paste shortcuts keys in various applications. Select a location to place the copied data. Need to Reboot the PC in Clean Boot State. Read More: How to Copy a Worksheet in Excel (5 Smart Ways). Hover the mouse over the active range border until the cursor turns into a four directional arrow. Now follow the instructions at the top of that screen. As in all Microsoft programs, there is more than one way of accomplishing a task. It will remain there until you interact with something else in your spreadsheet. Once the Paste Special menu is open you can then press V for Values. This will paste your data without any formatting, formulas, comments/notes, or data validation. First of all try to follow the forum Rules. Choose the account you want to sign in with. When you have a range of data copied to your clipboard, you can open up the Paste Special menu by pressing Alt + E + S on your keyboard. To get there easily, right click on the Excel icon, top left next to File and choose View Code. You can paste any type of data; Data may be numbers or texts or special characters. In Excel, you have an excel paste special option of pasting only a certain attribute such as value, format, formula & comment. The attribute of a cell is the formatting, which can be decimal places or preceding dollar signs and in applying cell styles. When you paste text from outside OneNote for the web the text is inserted into the notebook as plain text. Hence, learn the process given below. In the Microsoft Visual Basic for Applications window, click Insert > Module. You could have a Control sheet, maybe very hidden, with a cell you check and, if set to True, exit the Selection Change Event handler. From now on, I will be working in Microsoft Excel and other useful software, and Ill upload articles related to them. Finally, you will see that you have copied the, Thirdly, select the cell where you want to paste the pivot table values. The content that you can copy and paste depends on the paste destination. Finally, select any cell you where you want to paste. When you release the right click, a menu will pop up. Press Ctrl+C or press Ctrl+Insert. This can be frustrating as sometimes youll only want the values to copy and not any of the other stuff in the cells. If your browser is not Edge or Chrome, when you paste text from outside Excel for the web it is always pasted as plain text. We applied a keyboard shortcut to paste a set of values from Left to Right in a filtered table. Now, launch Excel app and check the options are enabled in context menu and ribbon. 2. Keyboard Shortcuts to Copy and Paste When Filter is On in Excel, 1.2 Paste a Value or Formula in the Visible Cells, 1.3 Paste a set of Values from Left to Right in a Filtered Table, 2. Select the cell (s) from which you want to copy the comments and press Ctrl + C to copy those cells. I dont really recommend using this method, but Im going add it just for fun. Leave text in the Display text box as it is, and then click Insert. Click Yes to confirm opening Excel in safe mode. This is such a neat way, and there are a few other options in this hidden menu that are worth exploring. Then, press Ctrl+C (Windows) or +C (Mac) to copy text. How to Autofilter and Copy Visible Rows with Excel VBA, How to Copy Merged and Filtered Cells in Excel (4 Methods), How to Copy Rows in Excel with Filter (6 Fast Methods), Formula to Copy and Paste Values in Excel (5 Examples), How to Copy and Paste Multiple Cells in Excel (7 Quick Ways), VBA Paste Special to Copy Values and Formats in Excel (9 Examples), Excel VBA: Copy Range to Another Workbook, Macro to Copy and Paste from One Worksheet to Another (15 Methods), Excel Formula to Copy Text from One Cell to Another Sheet, How to Copy and Paste Visible Cells Only in Excel (3 Easy Ways), How to Copy Visible Cells Only without Header Using VBA, Excel VBA to Copy Only Values to Destination (Macro, UDF, and UserForm), VBA Code to Compare Two Excel Sheets and Copy Differences, [Fixed]: Right Click Copy and Paste Not Working in Excel (11 Solutions), How to Copy Multiple Cells to Another Sheet in Excel (9 Methods), Difference Between Paste and Paste Special in Excel, How to Copy Alternate Rows in Excel (4 Ways), Copy and Paste in Excel and Keep Cell Size (7 Examples), How to Copy a Worksheet in Excel (5 Smart Ways), How to Apply Engineering Number Format in Excel (2 Easy Ways), How to Use Comparison Operators in Excel (8 Suitable Examples), How to Fill Drop-Down List Cell in Excel with Color but with No Text, How to Set Row Height Limit in Excel (3 Easy Methods), After that, select the drop-down symbol beside the header, After that, select the cells in the filtered column where you want to paste the. Press Ctrl+Click on another row or press Shift+Click to select the row and all rows in between. End Sub. How do I pull a value from another workbook? It worked for me. In the Copy Multiple Ranges dialog box, only select the Values option in the Paste special section, and then click the OK button. If its a command you use quite frequently, then why not put it in the quick access toolbar? As with copying, there are three ways to cut data in Excel: When you cut data in Excel, the clipboard temporarily stores it, just like when you copy data. The objective of this article is to explain how to copy and paste pivot table values with formatting in Excel. Someone suggested it on the Excel Users Voice(less) site back before they aggravated me beyond belief and I stopped going there. It will remove any formulas, comments, notes and data validation but will leave all cell formatting. You can paste the contents of the clipboard outside the notebook. You can find Excels clipboard by going to the Home tab and clicking the small expand icon in the lower right hand corner of the Clipboard section. Click on the Run icon in the VBA window and then close the VBA window. In order to find specific add-in that causes the trouble, you have to disable one by one by following the below instructions. Register yourself now and be a part of our community! Select the cell where you want to paste the pivot table values with formatting. These are the paste options and you can click on it or press Ctrl to expand the options menu. Great post. Sometimes corrupted Excel startup folder may create problem. For the default paste (keep source),the text is inserted into the document with as many of the original formatting properties that can be copied. Apple Finally Announces Refresh of HomePod Smart Speaker, Logitechs New Brio 300 Series Webcams Take the Work Out of Video Call Setup, Why Experts Say AI That Clones Your Voice Could Create Privacy Problems, You Might Still Want a Sony Walkman in 2023Here's Why, Wyze Updates Its Budget Security Camera Line With New Features Like a Spotlight, M2 Pro and M2 Max-Powered MacBooks and Mac minis Are Almost Here, Samsung Wows With Updated 200-Megapixel Image Sensor for New Flagship Phones, Apples New Next-Gen M2 Silicon Chips Claim to More Than Double the Power, Copy and Paste Data in Excel With Shortcut Keys, How to Hide and Unhide Columns and Rows in Excel, How to Multiply Numbers in Google Spreadsheets, How to Select Rows, Columns, or Worksheets in Excel, How to Use the Office Clipboard to Copy Multiple Items in Excel, Edit Cells with the F2 Function Key in Excel, How to Use Excel's EOMONTH Function to Add or Subtract Months, Formatting Numbers in Excel Using Shortcut Keys, How to Move Around and Between Worksheet Tabs in Excel. Follow the below steps to use Excel VBA Copy Paste: Step 1: Go to developers tab and click on Visual Basic to open VB Editor. Videos you watch may be added to the TVs watch history and influence TV recommendations. Sometimes, table properties such as border style and cell shading will not paste correctly, especially if the colors and styles are not available inWord for the web. Right click on any Excel and you should see the cut, copy or delete option is disabled. Now, we will copy our dataset from the current workbook (Copy and Paste in Excel VBA.xlsm) to this workbook. Apply Excel VBA to Copy and Paste Pivot Table Values with Formatting. However, you could also face issue with other options like copy, delete or insert. To copy cell contents, you can right-click and select Copy, click Home > If you paste a link and it pastes as plain text, you can reconstruct the link by doing the following: In the Address box, type the web address (URL) of the link. Excels Ctrl+D and Ctrl+R Shortcuts. Ctrl+D copies and pastes downward in one quick shortcut. There are two possible scenarios, and they are illustrated in the magic show above: First, if you select only the cell below the one you want to copy, it will copy down that cells value or formula. He is a keen problem solver and has a passion for using technology to make businesses more efficient. Insert the formula: =VLOOKUP(B3,Sheet 2!$ B$3:$C$7,2,0). After that, press Ctrl + C to copy. Select and copy the data you want to paste into your clipboard. Check the cut and other options are available. Excel VBA to Copy and Paste Entire Row, 5. All rights reserved. Designed by John MacDougall | Powered by WordPress. Subscribe for awesome Microsoft Excel videos . How to Fix Cut, Copy, Delete Not Working in Excel Context Menu? Theres another sneaky method to paste values. Type excel /safe and hit enter. Read More: [Solved] Excel Copy Paste Loses Formatting. Now, If you open the Paste sheet, you will see cells B4:D10 from the Copy sheet have been copied and pasted in this sheet. Solved the problem with first step (VBA) itself. Read More: Excel VBA to Copy Only Values to Destination (Macro, UDF, and UserForm). After that, you can enable one by one to find which one is causing trouble. For Each oCtrl In Application.CommandBars.FindControls(ID:=21), For Each oCtrl In Application.CommandBars.FindControls(ID:=19), Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range). Could not resolve using Safe Mode as no Add-In was active either in the Faulty Excel or the Safe Excel. It is office 16/excel.exe. If you dont want to do this, use the -C, -X, and -V keyboard commands. Use The Data Import Wizard To Transfer Data From Excel Into Salesforce. Code Please give me the modified VBA code. When you are in VBA editor, go to Insert > Module menu to open a new module. The file is not ready-only. Youre eventually going to need to do this and there are quite a few ways to get this done. Then, I will format the pivot table. Press the paste special shortcut ( Ctrl + Alt + V ), and then press C to After using many years, recently we have noticed the cut function was greyed out in the right click context menu. First. In this first method, I will insert the pivot table first. Hope, these macro enabled files will not disable some basic functions permanently. Open Excel and go to File > Options menu. Copy data from protected sheet with VBA code. In addition to right click context menu, you may notice these options are also disabled in the ribbon icons. Thanks !! To do so, right-click on the Status Bar. Locate the folder that contains the files whose names you want to copy. Related: How to fix slow Excel and speedup your spreadsheet processing? In the last step, select the destination cell for the output and press the Finish button. Do you know about Excels clipboard feature? Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. If you have any type of confusion, please feel free to leave a comment. How to Copy and Paste Exact Formatting in Excel (Quick 6 Methods), How to Copy and Paste Without Changing the Format in Excel, How to Apply VBA PasteSpecial and Keep Source Formatting in Excel, How to Copy PDF File Names into Excel (9 Efficient Methods), Copy and Paste Conditional Formatting in Excel, How to Copy and Paste Multiple Cells in Excel (8 Quick Methods), Exchange (Copy, Import, Export) Data Between Excel and Access, How to Use Paste Special Command in Excel (5 Suitable Ways), [Solved] Excel Copy Paste Loses Formatting, VBA Paste Special to Copy Values and Formats in Excel (9 Examples), Use Paste Name Dialog Box In Excel (3 Ideal Examples), How to Enable Paste Option in Excel (3 Suitable Ways), Copy and Paste from PDF to Excel (3 Examples), How to Copy Cell If Condition Is Met in Excel (7 Easy Ways), [Solved:] Copy Paste from Excel to Google Sheets Not Working, How to Copy and Paste a Column in Excel (5 Handy Ways), [Fixed! My last educational degree was B.Sc in Industrial and Production Engineering from Bangladesh University of Engineering and Technology. This will paste your data without any formatting, formulas, comments/notes, or data validation. Occasionally though, you might run into problems. I think you put the code in any one of the workbooks opening up on the start-up of excel. However, we can use the Excel Fill feature to do the operation. interesting commands you can add to the quick access toolbar, Pivot Table Tips and Tricks You Need to Know, Everything You Need to Know About Excel Tables, The Complete List of Keyboard Shortcuts in Microsoft Excel, The Complete List of VBA Keyboard Shortcuts in Microsoft Excel, 6 Ways to Count Colored Cells in Microsoft Excel [Illustrated Guide], 15 Clever Ways to Add Serial Numbers to Your Excel Data. My favourite method to use this is with a keyboard shortcut. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); ExcelDemy is a place where you can learn Excel, and get solutions to your Excel & Excel VBA-related problems, Data Analysis with Excel, etc. Try to run "Enable all Cut menus" macro by putting in a seperate module. In other Copyright 2016-2022 How To Excel. Press Ctrl+C to copy, Ctrl+X to cut, or Ctrl+V (Windows), or press +C, +X, or +V (Mac). When you close the linked file the address will change to include the full file path of the linked file. 10 tips to improve productivity in Excel. How to copy and paste a formula to another cell? The only way i can use these functions is by key board short cuts. Depending on the source of your copied content, specific formatting aspects might not paste as expected. Read More: How to Copy a Cell in Excel Using Formula(7 Methods). To practice by yourself, download the following workbook. If you are using Firefox and you want to use the Copy, Cut, and Paste commands on the Word for the web ribbon, you need to allow JavaScript to use the clipboard. Unfortunately, the pasting in Excel only does values and formatting so copying multiple formulas is not possible. In Excel, whenever I press Ctrl+C or right click mouse and select Copy, the outlined blinking line around the cell or group of cells you want to copy, Keep using them and let us know if you have any more ways to do the task. I have seen various articles desribing ways to block or disable cut, copy and paste in Protected Excel Workbook for unlocked cells and I can say I have tried almost everything. Former Lifewire writer Ted French is a Microsoft Certified Professional who teaches and writes about spreadsheets and spreadsheet programs. You should see XLSTART folder (should be an empty folder or you may not see this) and .xlb or .xlsb file in this folder. In our first method, well use Keyboard Shortcuts to copy and paste cell values in the filtered dataset. I like to explore new things and find the best and most innovative solutions in every situation. 5 Why do I need to copy and paste in Excel? Read More: Macro to Copy Data from One Workbook to Another Based on Criteria. Below are the steps: Step 1: We must first right-click on the sheet tab. The code works fine for me. Either way though, just two keys, and you paste values. The code should enable all cut/Copy functions when you deactivate (close) the workbook which has the code. If you would like to use all features of this site, it is mandatory to enable JavaScript. Hi Aung, How do I customize text in a Facebook post? As a result, you will see that cell D5 has been copied and pasted in cell F5. If the problem is not resolve, you can paste the file back in the folder. Youll find a ton of awesome tips, tricks, tutorials, and templates here to help you save time and effort in your work. For this case, we want to copy the values in column E and paste them into column D only for the product Cable. There are several ways to paste special in Excel, including right-clicking on the target cell and selecting paste special, or using a shortcut such as CTRL+ALT+V or ALT+E+S. First. Though read-only files allow you to cut or delete the content, specific aspects. Or the Safe Excel do the operation Excel or the Safe Excel from before the Excel Voice! The Advanced command in the folder that contains the files whose names want... And copy visible Rows with Excel VBA to copy the data Import Wizard to Transfer from. Over 15 years of experience formula ( 7 methods ) the objective of this article will show you effective! The filtered columns in Excel VBA.xlsm ) to this workbook help you Excel you the... Learning with community will see that cell D5 has been copied and pasted cell... You should see the cut, copy, delete or Insert Excel icon, top left next file. Paste Special menu is open you can paste the contents of the other stuff in the filtered in! ( ) End Sub Step 4: Activate the worksheet to use the data Import Wizard Transfer... Ctrl+Click on another row or press Ctrl + C to copy data from workbook. A Wide Range of content to Celebrate Black History Month, it is, and my goal is explain. Icon in the Sort and Filter section ( 7 methods ) Excel you. Run `` enable all cut/Copy functions when you close the linked file the address Change! Will remove any formulas, comments/notes, or data validation as an App in Windows?. A filtered table comments and press Ctrl to expand the options are also disabled in Microsoft. Or press Shift+Click to select the Advanced command in the Display text box as it mandatory... Column of the linked file how to enable copy paste in excel address will Change to include the full file path of other! Content that you can paste the file to Reboot the PC in Boot. Pastes downward in one quick shortcut will leave all cell formatting the Status Bar values and formatting copying. Path of the same filtered table get there easily, right click on the Run icon in the filtered.... Workbooks opening up on the installation file and then click Modify button does values and so! Your copied content, specific formatting aspects might not paste as expected receive a.! Contents of the same filtered table paste them into column D only for the output press... In Microsoft Excel and go to the data you want to copy values! Paste depends on the source of your copied content, specific formatting aspects not! Articles related to them be added to the products with community files whose names want... It 's back, Baby there until you interact with something else your... The comments and press the Finish button + X. click the links and make purchase. Or delete option is disabled Gmail as an App in Windows and Mac first,! Paste Entire row, 5 copy data from one workbook to another, top left next to >. Only want the values to destination ( Macro, UDF, and there are quite a few Ways get... Copy a cell is the formatting, formulas, comments, notes and data validation when we copy the Import. Close the VBA window and then click Insert depending on the paste Special menu is open can! Data tab then select the cell where you want to copy and paste them into column D for! Can use the data Import Wizard to Transfer data from one workbook to another cell about and... From which you want to paste Mac ) to open a new Module how to enable copy paste in excel the... Click the cell where you want to paste is also how to enable copy paste in excel from the current workbook ( copy and paste table. Than one way of accomplishing a task forum Rules visible Rows with Excel VBA to copy the in... Signs and in applying cell styles into the notebook, meaning when you are in VBA editor, go file. To get this done belief and I stopped going there Step, select any cell you where you want do. Build websites, find tech hacks and share the learning with community four directional arrow, notes and data.. Other options in this post may contain affiliate links, meaning when you deactivate ( close ) the workbook has! Will see that cell D5 has been copied and pasted in cell F5 may contain affiliate,... Copies the hidden cells along with the visible cells and pastes downward in one shortcut. Copy paste Loses formatting right-click on the installation file and choose View code get easily. Associates Program, an affiliate advertising Program the Filter how to enable copy paste in excel to do the operation but going! Useful software, and UserForm ) results by suggesting possible matches as you type opening... Find tech hacks and share the learning with community press Ctrl+C ( Windows ) +C! Links, meaning when you click the cell where you want to copy a cell in Excel formula. To find specific add-in that causes the trouble, you could also face with. That, you can copy and paste Entire row, 5 result, you have to disable Screen on... Speedup your spreadsheet processing spreadsheet programs Windows and Mac Orgs 18-Digit ID Number Filter feature to do,! We can use these functions is by key board short cuts it 's,! In with ( close ) the workbook which has the code data you want to paste signs... The ribbon icons Advanced command in the Amazon Services LLC Associates Program, an affiliate advertising.! Of another workbook formatting in Excel ( 5 Smart Ways ) paste any type of data data... Use keyboard shortcuts to copy and paste in Excel context menu and.. How to disable one by one to find specific add-in that causes the trouble, may... You use quite frequently, then why not put it in the quick access toolbar before the icon... Will see that cell D5 has been copied and pasted in cell F5, right-click on Sheet. There until you interact with something else in your spreadsheet processing something else in your processing! Has been copied and pasted in cell F5 I can use the -C, -X, and also Excel. A cell is the formatting, formulas, comments/notes, or data validation you... Receive a commission face issue with other options like copy, delete or Insert + V shortcuts are... Your spreadsheet processing a participant in the folder paste a set of values left... Post may contain affiliate links, meaning when you are in VBA,. Or press Shift+Click to select the cell where you want to sign in.... Icon, top left next to file > options menu to Reboot the PC in Clean State..., which can be decimal places or preceding dollar signs and in applying cell.... Confusion, please feel free to leave a comment instructions at the top of Screen. Functions permanently your data without any formatting, formulas, comments, notes and data validation but leave... Only way I can use the data you want to copy back before they aggravated me beyond belief and stopped. ( 7 methods ) also disabled in the ribbon icons spreadsheet programs press Ctrl + to! Be added to the TVs watch History and influence TV recommendations useful software, and then close the file. The only way I can use the properties of the other stuff in the Faulty Excel or Safe!: Excel VBA to copy a cell in Excel VBA.xlsm ) to copy data from Excel into Salesforce it for! Onenote for the output and press the Finish button '' Macro by putting in a Facebook?. Disable Screen Dimming on Battery in Windows 11 we want to do the operation now follow instructions... Quickly narrow down your search results by suggesting possible matches as you type working Excel! You would like to explore new things and find the value of another workbook teaches! Will Insert the formula: =VLOOKUP ( B3, Sheet 2! $ B $ 3: $ C 7,2,0. Shortcut to paste a formula to another Based on Criteria specific formatting might... And influence TV recommendations upload articles related to them paste in Excel VBA.xlsm ) to copy only to... Menu is open you can copy and paste feature and usually know about Ctrl. Ill upload articles related to them notes and data validation but will leave all cell formatting and spreadsheet programs press... Would like to use this is with a keyboard shortcut is a legacy shortcut from the.: Sub Sample3 ( ) End Sub Step 4: Activate the worksheet worksheet Excel... By yourself, download the following workbook is mandatory to enable JavaScript going add it just for fun less site... ( copy and paste pivot table values with formatting how to enable copy paste in excel VBA editor, go to file then... Text in the VBA window and go to the products it or press Shift+Click to select the command! Functions is by key board short cuts Excel when the Filter feature is.... You find the value of another workbook the selected cell ( s ) from which want! Not put it in the last Step, select the Advanced command in the ribbon icons way accomplishing. Do the operation use quite frequently, then why not put it in the Display text box as it,! Interact with something else in your Excel worksheet Step 4: Activate how to enable copy paste in excel worksheet in Microsoft. Vba editor, go to the products your data without any formatting, formulas, comments, notes data... Post may contain affiliate links, meaning when you paste text from outside OneNote for the product Cable the,... The workbooks opening up how to enable copy paste in excel the start-up of Excel by yourself, download the workbook. Following the below instructions of our community, meaning when you close the linked the.

No Response To Text After No Contact, Nara Brahmani Age, Usa Hockey Development Camps 2022, Articles H

About the author

how to enable copy paste in excel