Forum Discussion
littlevillage
Aug 01, 2022Iron Contributor
How can I sort values and color of data from highest to lowest.
Hi, I want to sort values and color of data from highest to lowest. I am trying to write the formula: =INDEX(SORT(FILTER(B3:F19,C3:C19>=LARGE(C3:C19,17),""),2,-1),SEQUENCE(17),{1,2,4,5}) I...
- Aug 01, 2022I didn't/couldn't open the sheet in google docs but those bars sure look like conditional formatting and therefor will not appear on the new columns unless you add a new conditional formatting rule. Highlight one of the output columns go into conditional formatting and add a rule for color based on value and use data bars as the type or select the existing conditional formatting for column B and 'duplicate rule' and then change the 'applied to' range to the new range.
mtarler
Aug 01, 2022Silver Contributor
I didn't/couldn't open the sheet in google docs but those bars sure look like conditional formatting and therefor will not appear on the new columns unless you add a new conditional formatting rule. Highlight one of the output columns go into conditional formatting and add a rule for color based on value and use data bars as the type or select the existing conditional formatting for column B and 'duplicate rule' and then change the 'applied to' range to the new range.
- littlevillageAug 02, 2022Iron Contributor
- littlevillageAug 01, 2022Iron Contributor
https://docs.google.com/spreadsheets/d/1acE_rzImeh0cR6Qi0CEeIC6NW4WOFhg-/edit?usp=sharing&ouid=112310544159929632856&rtpof=true&sd=true
Have a look back please
- HansVogelaarAug 01, 2022MVP
It is exactly what mtarler wrote: the SORT formula only returns the sorted values. There is no way to make the formula also copy the conditional formatting of the source range.
You can use the format painter to copy the conditional formatting:
- Select C3:C19.
- Click the Format Painter button on the Home tab of the ribbon.
- Select N3 (or N3:N19).
- Select E3:E19.
- Click the Format Painter button on the Home tab of the ribbon.
- Select P3 (or P3:P19).