Using if statement to declare range

PurpleGatsby

New Member
Joined
Oct 5, 2017
Messages
1
I have large amounts of data and would like to cut time down by not having to sift through it manually. Essentially, my the data in interest involves temperature and flow rate. I would like to be able to write a macro to create line graphs. But I want the macro to be able to sort through the data and only plot a specific range. Here is an example of the data: https://nofile.io/f/untsxEGv4QO/01-Hysteresis-28JL17.xlsx

Essentially, the test cycles 3 times in total, meaning I need three graphs. I want to plot the graphs as temperature vs flow rate, but I only want to plot when the temperature is between 80*C and 105*C. So I want my macro to identify each time the range occurs and then plot it. Is this something that is doable with vba?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,214,920
Messages
6,122,264
Members
449,075
Latest member
staticfluids

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