Excel Small prize large Prize

Source: Internet
Author: User

Excel skills

Http://hi.baidu.com/sunway999

= If (INT (g16 * 10)-int (g16) * 10) = 0, text (INT (g16), "[dbnum2] g/common format ") & "Yuan" & if (INT (g16 * 100)-int (g16) * 10) * 10) = 0, "whole ", "Zero" & text (INT (g16 * 100)-int (g16 * 10) * 10, "[dbnum2] g/common format") & "points "), text (INT (g16), "[dbnum2] g/common format") & "meta" & if (INT (g16 * 100)-int (g16) * 10) * 10) = 0, text (INT (g16 * 10)-int (g16) * 10), "[dbnum2] g/common format") & "Corner ", text (INT (g16 * 10)-int (g16) * 10), "[dbnum2] g/common format ") & "" & text (INT (g16 * 100)-int (g16 * 10) * 10, "[dbnum2] g/common format") & "Minute "))

Method 1: use the formula

In my work, I often need to implement this function. In the past, manual conversion was required. In the past, I also found some small programs for conversion, however, it turns out garbled characters are displayed in small programs and copied to excel. Now, with this formula, you don't have to set your own functions, just copy and replace them directly. Great! In Excel, if A1 is a cell in digital format, paste the following formula into any cell to display a large fixed amount:

= If (A1 <= 0, text (INT (A1), "[dbnum2] RMB g/common format") & "Yuan" & if (INT (A1 * 10) -int (A1) * 10 = 0, if (INT (A1) * (INT (A1 * 100)-int (A1 * 10) * 10) = 0 ,"", "0"), text (INT (A1 * 10)-int (A1) * 10, "[dbnum2]") & "") & if (INT (A1 * 100)-int (A1 * 10) * 10) = 0, "integer", text (INT (A1 * 100) -int (A1 * 10) * 10), "[dbnum2]") & "points "))

 

Method 2: Cell format

You only need to set the cell to "special"-"uppercase Chinese numbers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.