beadedbytes
Technical User
For every 'Unit' listed in Column A, I'm trying to figure out how to extract certain information from the example grid below -- 'Unit X' with corresponding xx% and $xx,xxx. Also, for each Unit X xx% value, I want to extract the percent value in the column header.
Using Unit 1 record as the example, the values extracted would be: Unit 1, 75%, $17,297 and 25% (from column header value).
Other things to be mindful of:
For every 'Unit', the desired percent value has been highlighted in yellow using Excel's conditional formatting feature.
If the 'Unit' record has more than one yellow-highlighted percent value, then extract the largest percent value highlighted in yellow. (e.g. 'Unit 3 - desired percent value is 70%, not 66%).
I've been trying to figure out how to accomplish this via a two-way look-up formula (index/match), but have not yet been successful. Part -- not all -- of the challenge is that I haven't figured out how to recognize a cell that's been filled with a color using conditional formatting.
Using Unit 1 record as the example, the values extracted would be: Unit 1, 75%, $17,297 and 25% (from column header value).
Other things to be mindful of:
For every 'Unit', the desired percent value has been highlighted in yellow using Excel's conditional formatting feature.
If the 'Unit' record has more than one yellow-highlighted percent value, then extract the largest percent value highlighted in yellow. (e.g. 'Unit 3 - desired percent value is 70%, not 66%).
I've been trying to figure out how to accomplish this via a two-way look-up formula (index/match), but have not yet been successful. Part -- not all -- of the challenge is that I haven't figured out how to recognize a cell that's been filled with a color using conditional formatting.
Code:
[b]XXXXX 25% 25%_Pop 30% 30%_Pop 35% 35%_Pop [/b]
Unit 1 [highlight]75%[/highlight] $17,297 60% $19,504 45% $20,339
Unit 2 100% $16,148 100% $16,651 100% $17,153
Unit 3 76% $14,444 [highlight]70%[/highlight] $16,518 [highlight]66%[/highlight] $18,504