Hey,
Attached is an example of my sheet.
I need help figuring out something pretty specific. I have a spreadsheet separated by systems. Within each system I want it to find me the Highest point in that system. However I only want it to count the values under the elevation tab if the feature is either a "Pipeline" or "Pipeline Valve".
Currently for my High Point Column, I have
=IF(OR($B12="Pipeline",$B12="Pipeline Valve")=TRUE,MAX($K$12:$K$2531),"Not Pipe")
Where the Column B will hold all the feature types and Column K holds all the elevation values. The problem with my formula right now is that it returns the MAX value even if the feature isn't a "Pipeline" or "Pipeline Valve".
Similar I have a function to find me the minimum value in the range in a separate column.
=IF(OR($B12="Pipeline",$B12="Pipeline Valve")=TRUE,MIN($F$12:$F$2531),"Not Pipe")
I want it to return the max and min value within the range only if that value corresponds to a "Pipeline" or "Pipeline Valve"
Other than manually changing the range for each system, I have no idea of telling Excel, now that your in system 2, redo the max and min check for the range only if it belongs to system 2 and only pull values if the feature is a pipeline or a pipeline valve. If you could help me with this portion as well It would greatly help me.
Kinda what I want to do
System Feature High Point Elevation 1 Test Lead Not Pipe 300 1 Pipeline No 300 1 Pipeline Valve No 400 1 Pipline High Point 600 2 Test Lead Not Pipe 300 2 Pipeline No 300 2 Pipeline Valve No 400 2 Pipline High Point 600
Sample.xlsx
Bookmarks