vba - Excel: What code should I write to select multiple cells directly above cells that have a certain value? -


i have column of numbers in order. in column, of numbers 99999999. need select cells directly above number. here example, need select cells highlighted bold:

  • 63012097
  • 63012097
  • 63012097
  • 63133638
  • 63133638
  • 99999999
  • 99999999
  • 63048742
  • 63048742
  • 63020783
  • 63066755
  • 63167680
  • 99999999
  • 99999999
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 63033618
  • 99999999
  • 99999999
  • 63005597
  • 63005597
  • 99999999
  • 99999999
  • 63099456
  • 63099456
  • 63099456
  • 63099456
  • 63099456
  • 99999999
  • 99999999
  • 63029683
  • 63029683

i wanted show data column ignore bullet points ;)

i have 723,950 rows of isn't possible manually either. can help?

thank you! :d

i'm not sure want cells once you've selected them. if want them highlighted in example, can use excel's conditional formatting feature.

just select column of data. in excel 2007, go home -> conditional formatting -> new rule.... there, select "use formula determine cells format". a1 first entry in column, enter formula:

=and(offset(a1,1,0)=99999999,a1<>99999999) 

set format bold or whatever other highlight you'd prefer.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -