odd shaped chart area envelope, how do I flag a plot falls outside the area?

jetclub1

New Member
Joined
Mar 6, 2011
Messages
7
i have a graph, actually it is an aircraft weight and balance chart. It has an odd shaped envelope. How do I create a warning if a plot falls outside this area? If the area was square it would be easy with =IF(and(j23<23%,j24>4000),"warning","ok")) etc etc. but what if the area is an odd shape where on one side x increase and y decreases, on the other it is the other way.
Any ideas? so basically I want to create a warning flag when the plot falls outside the designated area.
Am I getting too complicated here?

Thank you
 
Ok, as I thought too complex for me. :confused:

I would really like to understand how to do this but i do not. I see the idea but don't know where to start sorry.:laugh:
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Well within the capabilities of jet pilot.

Add the code to a code module, then use the function as in the example.

Adding a Macro to a Code Module<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
1. Copy the code from the post<o:p></o:p>
2. Press Alt+F11 to open the Visual Basic Editor (VBE)<o:p></o:p>
3. From the menu bar in the VBE window, do Insert > Module<o:p></o:p>
4. Paste the code in the window that opens<o:p></o:p>
5. Press Alt+Q to close the VBE and return to Excel<o:p></o:p>

If you have problems (but you shouldn't), I'll post a link to a workbook with the function in it.
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,459
Members
452,915
Latest member
hannnahheileen

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