Forum Discussion
Mgaltieri
Jul 11, 2023Copper Contributor
Excel function
I need to write an excel function that: If column B color is #FFC7CE, then take column C value and copy it to D as many times Column B value is repetead on column A. This is how it should l...
- Jul 11, 2023
Okay, thank you. Perhaps you mean
with formula in E1 as
=IFERROR( INDEX( C:C, MATCH( $A1, B:B, 0 ) ), $C1 )and drag it down.
SergeiBaklan
Jul 11, 2023Diamond Contributor
In Excel functions don't work with cell properties like color, only with values. That's only with VBA if you consider such option.
Mgaltieri
Jul 11, 2023Copper Contributor
Ok, thanks. Do you know if I can use another formula to check only for the repetead values?