excel - If column A matches column C input column D into column B -
i have sales tracking sheet column contains profit margin of particular job (i.e.33%), column c profit margin range(i.e. 31-40%), , column d corresponding commission specific range identified in column c (i.e. 31-40% = 3% commission).
what want formula automatically pull commission column d column b when enter profit margin of particular job in column a.
any ideas/does make sense?
assuming values in column formatted percentage, use this:
=index(d$1:d$10,match(a1*100,1*left(c$1:c$10,find("-",c$1:c$10)-1),1))
and press ctrl+shift+enter after entering formula instead of enter alone.
this return value range d$1:d$10
value a1
(multiplied 100 remove decimals) less lower bound of margin range in range c$1:c$10
.
change ranges accordingly.
Comments
Post a Comment