select cells behind/within a drawing object

mgolay

New Member
Joined
Feb 4, 2018
Messages
2
Hi all; new user here. wondering if anyone can help with a doozy of a problem.
I'm trying to use a drawing object to select a range of cells. and/or values within these cells.

much more valuable if an irregular (polygon) shape can be utilized.
For example; I have a table, and chemical concentrations in each box of the table (representing a surface); each cell has a specific concentration of a chemical (or temperature, etc.). If i placed an image of ...say a hand print on top of it; what is the total amount of chemical they are exposed to (obviously not the entire surface; only their points of contact).

so, if i have a large table with values in all the cells, and I draw a star on top of it (for example); the drawing object would choose (function; in my case; "sum") the values of the cells behind the star.
Of course, with diagonal lines; you'd have to be able to consider:
1) if the drawing object touches the cell; does it include the value
2) if the drawing object intersects the cell; include the value only if more than 1/2 of the cell's area is contained within the drawn object.

any ideas / possibilities?

thanks!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
for example...

 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,314
Members
452,905
Latest member
deadwings

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top