简体   繁体   English

我想在谷歌表格中绘制一段时间内的错误

[英]I want to graph errors over a duration of time in google sheets

I have hundreds of computers at my workplace that I monitor.我的工作场所有数百台计算机供我监控。 Sometimes these computers are bound to fail.有时这些计算机注定会失败。 I want to be able to write down the date and the computer that failed, and to be able to see the trends over time.我希望能够记下发生故障的日期和计算机,并能够看到一段时间内的趋势。

The overall goal is to see where the problematic computers are and quarantine them.总体目标是查看有问题的计算机在哪里并隔离它们。 What is the best way to go about doing that in excel or google sheets? go 关于在 excel 或谷歌表中执行此操作的最佳方法是什么?

Set up a new spreadsheet (I recommend Google Sheets, since it will allow more flexibility with future implementations such as feeding results to the spreadsheet with forms, etc.).设置一个新的电子表格(我推荐使用 Google 表格,因为它可以为未来的实现提供更大的灵活性,例如使用 forms 等将结果提供给电子表格)。

Name the first sheet something simple yet descriptive (perhaps "FailureLog").将第一张表命名为简单但具有描述性的名称(可能是“FailureLog”)。

Include at least the following headers:至少包括以下标题:

• in A1: Date • in B1: Computer ID • A1 中: Date • B1 中: Computer ID

That is all you really need, though you may also want additional columns, eg:这就是您真正需要的,尽管您可能还需要其他列,例如:

• in C1: Location • in D1: Error Type • 在 C1: Location • 在 D1: Error Type

Then just add your data under the appropriate headers.然后只需在适当的标题下添加您的数据。 From that, any number of reports can be generated.由此,可以生成任意数量的报告。 The first step is to get data entered in a meaningful and consistent way.第一步是以有意义和一致的方式输入数据。

By consistent, it is very important that you enter Computer IDs in exactly the same way each time.通过一致,每次以完全相同的方式输入计算机 ID 非常重要。 You can't call the same computer X001 , X-001 and X1 or it will be seen as three different computers.您不能调用同一台计算机X001X-001X1 ,否则它将被视为三台不同的计算机。

Once you do the above — setting up a sheet, deciding which fields to include, and gathering some data — create a new post, sharing a link to that spreadsheet, and contributors here will be able to use that to suggest some report formulas for you.完成上述操作后——设置工作表、决定要包含哪些字段并收集一些数据——创建一个新帖子,共享指向该电子表格的链接,这里的贡献者将能够使用它为你建议一些报告公式.

If you want, you could even enter some realistic dummy data into the spreadsheet and post the link back here.如果您愿意,您甚至可以在电子表格中输入一些真实的虚拟数据并将链接发回此处。 With that, contributors here could make suggestions on error controls, formatting, data validation (to prevent errors in the first place), etc.有了这个,这里的贡献者可以就错误控制、格式、数据验证(首先防止错误)等提出建议。

We just have to have something to start with.我们只需要有一些东西开始。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM