Excel uses functions to convert Gregorian dates to lunar calendar

Source: Internet
Author: User
Tags mongodb postgresql redis

Excel is a table Office software in office, using Excel to make a report is more convenient than making a form in Word, not to draw a grid of the table, the following small series to teach you in Excel in the function of the Gregorian calendar date to the lunar calendar method, this step is very simple, it is not difficult to learn.

① start Excel2010, enter the following function in any cell: "=text (Now ()," [$-130000]yyyy-m-d ")".


② the cell immediately gets a date, as shown in the following figure, and the lunar date is the beginning of June. Although the result is a bit passable when you encounter a leap month, the February 9, 2010 Lunar calendar in the following figure should be December 26, but because of that year there was a leap May, the innocent more than one months. But it's a lot quicker than coding, and the leap month is not every day.

Enter Date

③ If you want to be fully displayed in the lunar calendar, you can enter the following formula: =mid ("Xing"), MOD (TEXT (now (), "[$-130000]e") -4,10) +1,1) &mid ("Kaniko has not been Shin Hai" in the afternoon, MOD (now (), "[$-130000]e") -4,12) +1,1 & "Year" &text (Now (), "[$-130000][dbnum1]m month D-Day")

Input formula

④ for the various parameters of the formula, if you have questions you can leave a message, I will be with you to answer.

Alibaba Cloud Hot Products

Elastic Compute Service (ECS) Dedicated Host (DDH) ApsaraDB RDS for MySQL (RDS) ApsaraDB for PolarDB(PolarDB) AnalyticDB for PostgreSQL (ADB for PG)
AnalyticDB for MySQL(ADB for MySQL) Data Transmission Service (DTS) Server Load Balancer (SLB) Global Accelerator (GA) Cloud Enterprise Network (CEN)
Object Storage Service (OSS) Content Delivery Network (CDN) Short Message Service (SMS) Container Service for Kubernetes (ACK) Data Lake Analytics (DLA)

ApsaraDB for Redis (Redis)

ApsaraDB for MongoDB (MongoDB) NAT Gateway VPN Gateway Cloud Firewall
Anti-DDoS Web Application Firewall (WAF) Log Service DataWorks MaxCompute
Elastic MapReduce (EMR) Elasticsearch

Alibaba Cloud Free Trail

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.