SOLVED
Home

Conditional Formatting a series of numbers

%3CLINGO-SUB%20id%3D%22lingo-sub-489793%22%20slang%3D%22en-US%22%3EConditional%20Formatting%20a%20series%20of%20numbers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-489793%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20trouble%20with%20this%20problem.%26nbsp%3B%20I%20have%20a%20series%20of%20numbers.%26nbsp%3B%20I%20want%20to%20conditionally%20format%20those%20numbers%20so%20that%20any%20values%20that%20are%20greater%20than%20the%20value%20above%20it%20is%20displayed%20in%20a%20specific%20color.%26nbsp%3B%20So%2C%20for%20example%2C%20if%20I%20had%20the%20following%20series%20of%20numbers%20in%20a%20column%3A%26nbsp%3B%3C%2FP%3E%3CP%3E25%3C%2FP%3E%3CP%3E27%3C%2FP%3E%3CP%3E42%3C%2FP%3E%3CP%3E35%3C%2FP%3E%3CP%3E58%3C%2FP%3E%3CP%3E21%3C%2FP%3E%3CP%3E10%3C%2FP%3E%3CP%3E19%3C%2FP%3E%3CP%3E18%3C%2FP%3E%3CP%3E17%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20want%20to%20format%20this%20series%20so%20that%20the%20numbers%2027%2C%2042%2C%2058%2C%20and%2019%20would%20all%20appear%20in%20a%20specific%20color%20(let's%20say%20blue).%26nbsp%3B%20I've%20tried%20using%20the%20conditional%20formatting%20Format%20Only%20Cells%20That%20Contain%20Cell%20Value%20Greater%20Than%20this%20formula%20(%3DINDEX1%3A10%2CROW()-1%2CCOLUMN())%20but%20this%20turns%20ALL%20the%20numbers%20in%20the%20column%20blue.%26nbsp%3B%20This%20isn't%20all%20that%20complex%2C%20but%20I'll%20be%20darned%20if%20I%20can%20find%20the%20solution.%26nbsp%3B%20Any%20help%20would%20be%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-489793%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-489809%22%20slang%3D%22en-US%22%3ERE%3A%20Conditional%20Formatting%20a%20series%20of%20numbers%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-489809%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20son%20figured%20it%20out%20for%20me.%20%3DINDEX%20does%20work!%20I%20needed%20to%20erase%20the%20COLUMN%20(because%20it%20was%20an%20array%20within%20a%20single%20column)%20and%20I%20had%20to%20make%20the%20array%20by%20clicking%20and%20dragging%20from%20the%20top%20of%20the%20spreadsheet%20instead%20of%20just%20the%20series%20itself.%20I%20have%20NO%20idea%20why%20that%20is%20important%20but%20it%20works%20so%20for%20those%20who%20may%20need%20help%20with%20this%20here%20is%20the%20formula%20that%20worked%20for%20me%20%3DINDEX(%24F%241%3A%24F%24500%2CROW()-1)%20In%20this%20case%20the%20%24F%241%3A%24F%24500%20represents%20the%20column%20the%20number%20series%20appears%20in.%20The%20series%20doesn't%20start%20until%20row%2040%20something%20but%20now%20any%20numbers%20through%20row%20500%20will%20conform%20to%20the%20formatting.%26nbsp%3B%20Alternately%2C%20you%20could%20simply%20select%20the%20top%20of%20the%20row%20(row%20F%20in%20the%20above%20example)%20as%20the%20array).%26nbsp%3B%20I%20am%20glad%20I%20was%20able%20to%20answer%20this%20question%20(literally)%20in%20house%20and%20and%20pass%20along%20the%20information%20to%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E
The_Major
New Contributor

I am having trouble with this problem.  I have a series of numbers.  I want to conditionally format those numbers so that any values that are greater than the value above it is displayed in a specific color.  So, for example, if I had the following series of numbers in a column: 

25

27

42

35

58

21

10

19

18

17 

I would want to format this series so that the numbers 27, 42, 58, and 19 would all appear in a specific color (let's say blue).  I've tried using the conditional formatting Format Only Cells That Contain Cell Value Greater Than this formula (=INDEX1:10,ROW()-1,COLUMN()) but this turns ALL the numbers in the column blue.  This isn't all that complex, but I'll be darned if I can find the solution.  Any help would be appreciated.

1 Reply
Solution

My son figured it out for me. =INDEX does work! I needed to erase the COLUMN (because it was an array within a single column) and I had to make the array by clicking and dragging from the top of the spreadsheet instead of just the series itself. I have NO idea why that is important but it works so for those who may need help with this here is the formula that worked for me =INDEX($F$1:$F$500,ROW()-1) In this case the $F$1:$F$500 represents the column the number series appears in. The series doesn't start until row 40 something but now any numbers through row 500 will conform to the formatting.  Alternately, you could simply select the top of the row (row F in the above example) as the array).  I am glad I was able to answer this question (literally) in house and and pass along the information to you.

Related Conversations
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
2 Replies
Early preview of Microsoft Edge group policies
Sean Lyndersay in Discussions on
65 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
202 Replies