+ Reply to Thread
Results 1 to 6 of 6

Total width value of selected columns

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Total width value of selected columns

    I am using the UDF which I can find the total hight selected rows.
    Please Login or Register  to view this content.
    Using type of this UDF =ROWTOT(A1:A20) and gives total hight of A1:A20 rows.

    I tried this new UDF for the same for columns , with:
    Please Login or Register  to view this content.
    This UDF running only ONE column. For examle: =COLTOT(B1) gives Column B width value.
    If I use that way, =COLTOT(B1:F1) gives only B1 width .NOT from B1 to F1 total width of columns.

    How can it be modified to calculate for B1:F1 colums width same as row height calculation above.

    Thanks in advance for any reply and help.
    Regards,
    turist

  2. #2
    Forum Expert
    Join Date
    02-22-2013
    Location
    London / Stockholm
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Total width value of selected columns

    I will look into this. However, if the column width in the columns are the same, this works:

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London / Stockholm
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Total width value of selected columns

    Another way:

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Total width value of selected columns

    Quote Originally Posted by berlan View Post
    I will look into this. However, if the column width in the columns are the same, this works:

    Please Login or Register  to view this content.
    NOT working.... #VALUE Error.

  5. #5
    Forum Contributor
    Join Date
    11-10-2012
    Location
    istanbul
    MS-Off Ver
    Excel 2013
    Posts
    297

    Re: Total width value of selected columns

    Quote Originally Posted by berlan View Post
    Another way:

    Please Login or Register  to view this content.
    Thanks a lot.
    Working very good.

    Regards,
    turist

  6. #6
    Forum Expert
    Join Date
    02-22-2013
    Location
    London / Stockholm
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Total width value of selected columns

    You're welcome, glad it works!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. total width of all visible, contiguous columns occupied
    By Conor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-21-2007, 10:50 AM
  2. [SOLVED] Set Column Width Based On Total Width Of Other Columns
    By rayneraingoaway in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-28-2006, 06:10 PM
  3. [SOLVED] Total width of several columns.
    By Basher Bates in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2006, 07:45 AM
  4. Pivot Grand total on Selected columns only
    By dim1ann@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-30-2005, 02:40 PM
  5. how can i find total width of the columns in a printing area ?
    By EXCELL COLUMN WIDTH in forum Excel General
    Replies: 1
    Last Post: 05-24-2005, 07:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1