Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 7th 20, 09:15 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
First recorded activity by ExcelBanter: Oct 2020
Posts: 3
Default Calculate a sentences width based on lookup

Hi,

I have a spreadsheet made up of 2 columns. The first with lower case characters a-z and following that upper case A-Z, then following that numbers 1 through to 0, then a few punctuation marks and a blank (space). In the second column is a reference to the px width of each character.

We want to be able to take a given sentence in a cell and calculate the width of all the characters and when this hits an X limit, break the line (second line) and then calculate the remainder, but break again for a third or fourth line (with different X values). There may be 1, 2, 3 or 4 lines in total.

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
lookup help. lookup result based on data in 2 columns lcc Excel Worksheet Functions 3 April 6th 10 01:20 PM
change zoom based on column width michalaw Excel Discussion (Misc queries) 2 August 11th 09 09:37 PM
Calculate string width in inches nzDec01 Neal Zimm Excel Programming 2 December 4th 08 08:20 PM
Set Column Width Based On Total Width Of Other Columns rayneraingoaway Excel Programming 1 June 28th 06 11:10 PM
How to calculate cell's contents printable width? count Excel Programming 2 December 7th 03 08:45 AM


All times are GMT +1. The time now is 03:04 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017