日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

excel数字不能累加_如何修复不累加的Excel编号

發(fā)布時(shí)間:2023/12/20 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 excel数字不能累加_如何修复不累加的Excel编号 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

excel數(shù)字不能累加

If you download bank statement data into Excel, or copy numbers from a website, those numbers might not add up correctly. The bank data might look like numbers, but Excel might see those numbers as text -- not real numbers.

如果將銀行對(duì)帳單數(shù)據(jù)下載到Excel中,或從網(wǎng)站復(fù)制號(hào)碼,則這些號(hào)碼可能無(wú)法正確累加。 銀行數(shù)據(jù)可能看起來(lái)像數(shù)字,但是Excel可能會(huì)將這些數(shù)字視為文本-而不是實(shí)數(shù)。

You can fix the numbers manually, as shown in the video below, or use a macro to automate the fix.

您可以手動(dòng)固定數(shù)字,如下面的視頻所示,或使用宏自動(dòng)進(jìn)行修正。

數(shù)字不累加 (Numbers Don't Add Up)

There are a variety of reasons that numbers don't add up in Excel, and this technique fixes one of the more common problems. If it doesn't work on your data, check out some of the other fixes here.

不能在Excel中累加數(shù)字的原因有多種,這種技術(shù)解決了較常見(jiàn)的問(wèn)題之一。 如果對(duì)您的數(shù)據(jù)不起作用,請(qǐng)?jiān)诖颂幉榭雌渌恍┬迯?fù)程序 。

Here is a screen shot of the sample data used in this video – it has cheque numbers and amounts from a fake bank statement. (If your bank only sends you this much information, you should switch to a different bank!)

這是此視頻中使用的示例數(shù)據(jù)的屏幕快照–它具有支票號(hào)碼和假銀行對(duì)賬單中的金額。 (如果您的銀行僅向您發(fā)送了這么多信息,則應(yīng)切換到其他銀行!)

觀看視頻 (Watch the Video)

In the short video below, you will see how to check the cells, and then fix the problem. This is an update for a video that I did in May 2008 – and people are still watching that one on YouTube!

在下面的簡(jiǎn)短視頻中,您將看到如何檢查單元格,然后解決問(wèn)題。 這是我在2008年5月拍攝的一部視頻的更新-人們?nèi)匀辉赮ouTube上觀看該視頻!

演示地址

用宏修正數(shù)字 (Fix the Numbers with a Macro)

Also, I've updated the macro that automates this fix, to prevent a problem. The old code used the full range that was selected, and that was okay, if you just selected the cells that you wanted to update.

另外,我還更新了自動(dòng)解決此問(wèn)題的宏,以防止出現(xiàn)問(wèn)題。 如果您只是選擇了要更新的單元格,那么舊的代碼將使用所選的整個(gè)范圍,這沒(méi)關(guān)系。

However, if you selected an entire column, and then ran the macro, the Used Range was extended to that entire column.

但是,如果選擇了整個(gè)列,然后運(yùn)行宏,則“已用范圍”將擴(kuò)展到整個(gè)列。

Selection.PasteSpecial Paste:=xlPasteValues, _Operation:=xlPasteSpecialOperationAdd

In the revised code, it creates a range from the cells with constants in the selected range, and updates those cells.

在修改后的代碼中,它將從單元格中創(chuàng)建一個(gè)范圍,且常數(shù)處于選定范圍內(nèi),并更新這些單元格。

Set rng = Selection _.SpecialCells(xlCellTypeConstants, 23)

That seems to have eliminated the problem. You can get the entire code from my website, or by downloading the sample file.

這似乎消除了問(wèn)題。 您可以從我的網(wǎng)站獲得完整的代碼,也可以下載示例文件。

下載樣本文件 (Download the Sample File)

To test the manual or macro fix, you can download the sample file from my website. The zipped file is in xlsm format, so enable macros when you open the file.

要測(cè)試手動(dòng)或宏修復(fù)程序,您可以從我的網(wǎng)站下載示例文件 。 壓縮文件為xlsm格式,因此在打開(kāi)文件時(shí)啟用宏。

翻譯自: https://contexturesblog.com/archives/2016/01/28/how-to-fix-excel-numbers-that-dont-add-up/

excel數(shù)字不能累加

總結(jié)

以上是生活随笔為你收集整理的excel数字不能累加_如何修复不累加的Excel编号的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。