全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 Excel
1688 1
2011-11-04
悬赏 100 个论坛币 未解决
问题:(求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:
Data Set.xlsx
大小:(303.05 KB)

 马上下载


二维码

扫码加我 拉你入群

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

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

全部回复
2011-12-6 21:04:46
很难额。。。
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群