PC Review


Reply
Thread Tools Rate Thread

how do I calculate number of characters that will fit in a cell

 
 
Larry
Guest
Posts: n/a
 
      16th Apr 2008
I have a spreadsheet that will be printed onto a preprinted form. I need to
calculate the value in a cell and then pad that cell with repeating hyphens
to fille out the remainder.

How can I determine how many hyphens I need to generate?
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      16th Apr 2008
How about using a custom format:
General*-;-General*-;0*-;@*-

You can use your favorite numberformats in that string.

It's
Positive;negative;zero;text

the * tells excel to fill out the cell with the next character.




Larry wrote:
>
> I have a spreadsheet that will be printed onto a preprinted form. I need to
> calculate the value in a cell and then pad that cell with repeating hyphens
> to fille out the remainder.
>
> How can I determine how many hyphens I need to generate?


--

Dave Peterson
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I need to have a certain number of characters in a cell jerminski73 Microsoft Access 1 8th Nov 2008 10:21 PM
calculate the sum of characters in a cell =?Utf-8?B?TmF0?= Microsoft Excel Worksheet Functions 8 25th Sep 2006 08:51 PM
calculate the sum of characters in a cell =?Utf-8?B?TmF0?= Microsoft Excel Misc 8 25th Sep 2006 07:05 PM
Number of characters in a cell =?Utf-8?B?VG9ueQ==?= Microsoft Excel Misc 2 22nd Oct 2004 10:32 PM
calculate the number of characters in a cell? =?Utf-8?B?c25vbGV0?= Microsoft Excel Setup 2 20th Oct 2004 10:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:15 AM.