Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 332
- Office Version
- 365
- Platform
- Windows
I am unsure of how to explain this but I will do my best!
I currently utilize a module that can count and sum based on the color of a cell or the font. It works wonders
.
Whenever that information is "summed" up on my excel sheet, I want to be able to have a pop-up that when the cell is selected, the msgbox will show all of the parts that were of the same color.
Here is my thoughts:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Part[/TD]
[TD]Qty[/TD]
[TD]Price[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]4[/TD]
[TD]$5[/TD]
[TD]$20[/TD]
[/TR]
[TR]
[TD]Pear[/TD]
[TD]7[/TD]
[TD]$1[/TD]
[TD]$7[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]20[/TD]
[TD]$0.50[/TD]
[TD]$10[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]5[/TD]
[TD]$1[/TD]
[TD]$5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sum of "Red"[/TD]
[TD][/TD]
[TD][/TD]
[TD]$25[/TD]
[/TR]
</tbody>[/TABLE]
Let's say the "Total" Column is highlighted "red" for "Apple" and "Banana".
Whenever the cell that has $25 in it is selected a pop-up msgbox would have the information such as:
Data to get Sum:
4 Apples at $5 = $20
and
$20 bananas at $0.50 = $10
I hope this all makes sense.
Thank you for any help!
I currently utilize a module that can count and sum based on the color of a cell or the font. It works wonders
HTML:
https://www.ablebits.com/office-addins-blog/2013/12/12/count-sum-by-color-excel/comment-page-2/
Whenever that information is "summed" up on my excel sheet, I want to be able to have a pop-up that when the cell is selected, the msgbox will show all of the parts that were of the same color.
Here is my thoughts:
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Part[/TD]
[TD]Qty[/TD]
[TD]Price[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD]4[/TD]
[TD]$5[/TD]
[TD]$20[/TD]
[/TR]
[TR]
[TD]Pear[/TD]
[TD]7[/TD]
[TD]$1[/TD]
[TD]$7[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD]20[/TD]
[TD]$0.50[/TD]
[TD]$10[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD]5[/TD]
[TD]$1[/TD]
[TD]$5[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Sum of "Red"[/TD]
[TD][/TD]
[TD][/TD]
[TD]$25[/TD]
[/TR]
</tbody>[/TABLE]
Let's say the "Total" Column is highlighted "red" for "Apple" and "Banana".
Whenever the cell that has $25 in it is selected a pop-up msgbox would have the information such as:
Data to get Sum:
4 Apples at $5 = $20
and
$20 bananas at $0.50 = $10
I hope this all makes sense.
Thank you for any help!