I am trying to use the median function to return a value only when the result of a vlookup is a specific value. I am using the formula = Median(IF(P4:P51="Commercial",C4:C51))
Where column P contains the vlookup resulting in either "Commercial" or "Consumer" and column C contains the loan amount. I need to find the median of Commercial loan amount only.
The formula above returns an answer of #Value !
Thoughts?
Where column P contains the vlookup resulting in either "Commercial" or "Consumer" and column C contains the loan amount. I need to find the median of Commercial loan amount only.
The formula above returns an answer of #Value !
Thoughts?