Consulting

Results 1 to 5 of 5

Thread: % formula

  1. #1

    % formula

    does anyone know what formula i have to use to workout a percentage

  2. #2
    VBAX Expert TrippyTom's Avatar
    Joined
    Jul 2005
    Location
    New York, NY (USA)
    Posts
    556
    Location
    If you mean number format, it would be either:
    0% or 0\% (depending if you want literal or not)
    Office 2010, Windows 7
    goal: to learn the most efficient way

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    The number divided by 100

    or one cell divided by another

    or ... more details

  4. #4
    Administrator
    Chat VP
    VBAX Guru johnske's Avatar
    Joined
    Jul 2004
    Location
    Townsville, Australia
    Posts
    2,872
    Location
    A/B*100 or, A/B and format the cell as percentage
    You know you're really in trouble when the light at the end of the tunnel turns out to be the headlight of a train hurtling towards you

    The major part of getting the right answer lies in asking the right question...


    Made your code more readable, use VBA tags (this automatically inserts [vba] at the start of your code, and [/vba ] at the end of your code) | Help those helping you by marking your thread solved when it is.

  5. #5
    I usually use A/B-1, then format it as a %.
    Also you can use the Text function to format it for you:

    =Text(A/B-1,"0.0%")

    Sid

Posting Permissions

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