搜索
人大经济论坛 附件下载

附件下载

所在主题:
文件名:  Data Set.xlsx
资料下载链接地址: https://bbs.pinggu.org/a-989759.html
附件大小:
303.05 KB   举报本内容
问题:(求MACRO程序代码)数据在最后

Question 1

Using the “Data Set”, write a macro to highlight every sale with total revenue greater than $2000. Your macro should highlight in yellow the columns from Name to Total revenue but not highlight any columns after total revenue. The macro must detect when the names in the table have a blank and stop functioning at this point.

Paste the macro code here:

Question 2

Write a macro that does the following:

· In cell “K1” in the file “Data Set” enter and bold the title “combined Customer and Product Rating.” You can use “hard” references to code this in.

· Enters in the product of (i.e., multiply) the customer and product rating in each cell in column K if the product of the customer and product rating is greater than or equal to 3, if it is less than three it should enter the word “BAD.”

· For all sales that have a combined rating of “BAD” in column K, the macro should highlight in yellow the product and/or satisfaction ratings contributing to that rating that are less than 3.

· The macro should automatically stop when there are blanks in both the customer and product satisfaction columns.

Paste the macro code here:



    熟悉论坛请点击新手指南
下载说明
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。
2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。
3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。
(如有侵权,欢迎举报)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

GMT+8, 2026-1-7 05:19