Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default Conditional Formatting - Draw Line every 10th Row

On May 31, 3:50 am, "Sam via OfficeKB.com" <u4102@uwe wrote:
Hi Kostis,

Thank you so much for your help. Your Formula does the job Great!

I just needed to tweak it so the first bottom border line was drawn on
exactly the 10th (LAST) row from the bottom /end of my dynamic range. Works
Well - Thank you.

revised:

=AND(MOD(ROW(),10)=MOD(ROWS(Data)+1,10),ROW()<=RO WS(Data)+1)


original:

=AND(MOD(ROW(),10)=MOD(ROWS(Data),10),ROW()<=ROWS (Data)-10)


Cheers,
Sam

vezeridwrote:
Sam,
the formula I gave you works from the bottom and up. I tested it.
Apparently I misunderstood your requirement and CF is now applied to
the LAST row, then LAST-10, etc. What you want is, if I understand
correctly, if your last data is in A899 then you want A889, A879 etc
to be bordered.
The CF formulas you need do not seem to be affected by your dynamic
range. Of course you can use ROWS(Data) instead of COUNTA(A:A)-1 but
that's about it. Apart from this you have to deal with MOD. I slightly
modified the formula to first format the 10th last row.
=AND(MOD(ROW(),10)=MOD(ROWS(Data),10),ROW()<=ROWS (Data)-10)
HTH
Kostis


--
Message posted via OfficeKB.comhttp://www.officekb.com/Uwe/Forums.aspx/excel-functions/200705/1


Sam,
Glad it worked.

Kostis

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I draw a tangent line on a graph ? Tangent line placement Excel Discussion (Misc queries) 2 April 4th 23 02:20 PM
Conditional Formatting x Draw (Circle) Vanessa Simmonds Excel Worksheet Functions 1 January 9th 06 02:33 PM
Can I get Excel to draw a line of best fit? ronel Charts and Charting in Excel 2 July 4th 05 07:36 PM
How do I draw a line of best fit? Gavin Charts and Charting in Excel 2 April 15th 05 09:04 PM
How do I draw a line of best fit? Gavin Charts and Charting in Excel 0 April 14th 05 11:32 AM


All times are GMT +1. The time now is 06:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"