Outputting Discrete data from continuous dataset

ahume12

New Member
Joined
Aug 30, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi there

I am having some issues putting a formula together to extract data from a continuous data set into a discrete data set.

I have existing table data which shows temperature between two locations in miles. In this dataset, the temperature is recorded at a non uniform/continuous interval
So the data could show 23.7 degrees between 59.01 and 59.19 miles and 21.0 between 59.19 miles and 59.37 miles.

I would like to process this data into a standard dataset, which outputs the minimum temperature between two uniform mileages
So the output data would be 59.00 to 59.25 is 21 degrees, which is the minimum temperature of the above within the bound of 59.00 to 59.25.

I have tried excel "ifs" function as well as some "if" "and" combined functions, but cant get anything that approaches the correct solution.

Would appreciate any help

Thanks
A
 

Attachments

  • To Data.png
    To Data.png
    6.9 KB · Views: 9
  • From Data.png
    From Data.png
    8.3 KB · Views: 8
No problem. (y)

BTW, if you don't mind #NUM! instead of #N/A you could use this slightly shorter version.

ahume12.xlsm
ABC
1Miles FromMiles ToMin Temp
25959.25#NUM!
359.2559.5#NUM!
459.559.7525.2
559.756025.2
66060.2525.2
760.2560.517.3
860.560.7517.3
960.756121.4
106161.2516.9
Data To
Cell Formulas
RangeFormula
C2:C10C2=AGGREGATE(15,6,VLOOKUP(Table2[@[Miles From]:[Miles To]],Table1,3),1)
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,700
Messages
6,126,305
Members
449,308
Latest member
VerifiedBleachersAttendee

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