提示:其它语言是由 Google 机器翻译的。 你可以访问 English 版本。
登录
x
or
x
x
马上登记
x

or

如何在Excel中将轴标签格式化为数千/数百万个?

如果您在Excel中显示的图表如下面的屏幕截图所示,现在您想要将轴标签格式化为千万/数百万像100K,1M,那么您如何解决它?

DOC轴作为千1

将轴标签格式设置为千/百万

Office选项卡在Office中启用选项卡式编辑和浏览,使您的工作更轻松......
Kutools for Excel - 最佳办公生产力工具将解决您的大部分Excel问题
  • 重用任何东西: 将最常用或最复杂的公式,图表和其他任何内容添加到您的收藏夹中,并在将来快速重复使用它们。
  • 超过20文本功能: 从文本字符串中提取数字; 提取或删除部分文本; 将数字和货币转换为英语单词...
  • 合并工具:多个工作簿和表格合二为一; 合并多个单元格/行/列而不丢失数据; 合并重复行和总和...
  • 拆分工具:根据价值将数据拆分为多个表格; 一个工作簿到多个Excel,PDF或CSV文件; 一列到多列......
  • 粘贴跳过 隐藏/过滤行; 数和总和 按背景颜色; 创建邮件列表和 通过Cell的价值发送电子邮件...
  • 超级过滤器: 创建高级过滤方案并应用于任何工作表; 排序 按周,日,频率等; 筛选 通过大胆,公式,评论......
  • 超过300强大的功能; 适用于Office 2007-2019和365; 支持所有语言; 在公司轻松部署; 全功能60天免费试用。

箭头蓝色右泡 将轴标签格式设置为千/百万


您可以转到“格式轴”对话框来格式化轴。

1。 右键单击想要将标签格式化为千/百万的轴,选择 格式轴 在上下文菜单中。

DOC轴作为千2

2。 在里面 格式轴 对话框/窗格,单击数字选项卡,然后在中 类别 列表框中,选择自定义,然后键入 [> 999999]#,,“M”;#,“K”格式代码 文本框,然后单击 添加 按钮将其添加到 类型 名单。 看截图:

DOC轴作为千3

3。 关闭对话框,现在您可以看到轴标签被格式化为数千或数百万。

DOC轴作为千4

小技巧:如果您只想将轴标签格式化为数千或仅数百万,则可以键入 #, “K” or #, “M” 格式代码 文本框并添加它。


相关文章:


Kutools for Excel - 最佳办公生产力工具提高80%的生产力

  • 重用: 快速插入 复杂的公式,图表 以及你以前用过的任何东西; 加密单元格 密码; 创建邮件列表 并发送电子邮件...
  • 超级方程式酒吧 (轻松编辑多行文字和公式); 阅读布局 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不丢失数据; 分裂细胞含量; 组合重复的行/列...防止重复的细胞; 比较范围...
  • 选择复制或唯一 行; 选择空行 (所有细胞都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择......
  • 精确复制 多个单元格而不更改公式参考; 自动创建参考 多张表; 插入项目符号,复选框等等......
  • 提取文本,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级过滤器 (将过滤方案保存并应用到其他工作表); 高级排序 按月/周/日,频率等; 特殊过滤器 用粗体,斜体......
  • 结合工作簿和工作表; 根据键列合并表; 将数据拆分为多个表格; 批量转换xls,xlsx和PDF...
  • 超过300强大的功能。 支持Office / Excel 2007-2019和365。 支持所有语言。 在您的企业或组织中轻松部署。 全功能60天免费试用。
kte tab 201905

Office选项卡为Office提供选项卡式界面,使您的工作更轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,Publisher,Access,Visio和Project。
  • 在同一窗口的新选项卡中打开并创建多个文档,而不是在新窗口中。
  • 通过50%提高您的工作效率,每天为您减少数百次鼠标点击!
官方底部
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Elham · 23 days ago
    greats
    thanks
  • To post as a guest, your comment is unpublished.
    Jill · 2 months ago
    Thanks so much, quick and easy to copy over and works a treat!!
  • To post as a guest, your comment is unpublished.
    Aarik · 1 years ago
    In case it helps anyone else, including the second comma doesn't work for me, I have to only have one prior to the "M" designation.
  • To post as a guest, your comment is unpublished.
    Karan · 1 years ago
    Thanks a lot, it helps, brillaint
  • To post as a guest, your comment is unpublished.
    kosta · 1 years ago
    hi
    doesn\t work for negative numbers
    plz help
  • To post as a guest, your comment is unpublished.
    Shell · 2 years ago
    I have a time figures above 10,000:00 which will not display in a bar chart. How can I make this work? Thank you in advance
  • To post as a guest, your comment is unpublished.
    Franzi · 2 years ago
    Thank you thank you thank you
  • To post as a guest, your comment is unpublished.
    Beth · 2 years ago
    This is amazing--this was driving me crazy! Thank you and also thanks to the commentors!!
  • To post as a guest, your comment is unpublished.
    Jason · 2 years ago
    For really large numbers (for example: handling Bil, Mil, and Thousands of dollars)
    [>999999999] $#.00,,, "B";[>999999] $#.00,, "M";$#.0, "K"
  • To post as a guest, your comment is unpublished.
    BEE · 2 years ago
    [>999999] $#.0,,"M";[>999]$#,"K";$#

    $1000.0M
    ...
    ..
    $100K
    ...
    ..
    $1K
    $100
    $10
    $1
  • To post as a guest, your comment is unpublished.
    Tom · 2 years ago
    I've solved it myself! In case anyone wants it, here's what I needed:


    [>999999] $#.0,,"M";$##,"K"

    (this works in Excel 2016)
    • To post as a guest, your comment is unpublished.
      Wes · 11 months ago
      LEGEND! Thanks
    • To post as a guest, your comment is unpublished.
      John · 1 years ago
      Thanks for sharing Tom! Extremely helpful!
    • To post as a guest, your comment is unpublished.
      Shashi · 2 years ago
      Tom, thanks for sharing this tips. It worked for me too ! Very helpful
  • To post as a guest, your comment is unpublished.
    Tom · 2 years ago
    How can we show decimals?

    Ie.

    $3.0 M
    $2.5 M
    $2.0 M
    $1.5 M
    $1.0 M
    • To post as a guest, your comment is unpublished.
      Tom · 2 years ago
      Still can't figure this out.

      My graph shows $1,500M and $900k which is wrong.

      I'd like $1.5M and $900k.
    • To post as a guest, your comment is unpublished.
      Alex · 2 years ago
      [>999999] #,,[b].0[/b]"M";#,"K"

      Put just .0 before the M or K rather than 0.0!
      • To post as a guest, your comment is unpublished.
        Ryan · 1 years ago
        Thanks Alex, for anyone wondering, the exact syntax to use in the Format Code field is:

        [>999999] #,,".0""M";#,"K"
  • To post as a guest, your comment is unpublished.
    Madeleine · 3 years ago
    Thank you! This is perfect. Is there a way for 0 to show just 0, and not 'K'?
    • To post as a guest, your comment is unpublished.
      Basim · 2 years ago
      [quote name="Madeleine"]Thank you! This is perfect. Is there a way for 0 to show just 0, and not 'K'?[/quote]

      [>999999]#,,"M";General

      or

      [>999999]#,,"M";0
      • To post as a guest, your comment is unpublished.
        Danilo · 2 years ago
        This takes care of the 0s, but then numbers that are actually in the thousands are not displayed properly. How can I get anything below 1 million as a #K but if is 0 have it as blank or no data label?