+ Reply to Thread
Results 1 to 4 of 4

Input number to cell, but display as a relative percentage

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Input number to cell, but display as a relative percentage

    Good afternoon all,

    I have a spreadsheet that will be distributed to external parties and then returned to me once populated.

    In essence I'm asking the external parties to allocate time against their resources. This is done by inputting the number of days per month each resource will spend on the task in question.

    I have already calculated the maximum available working days for each month and displayed these at the top of each column in the spreadsheet.

    I would like the external parties to input a number of days utilisation into each cell, but have Excel to actually DISPLAY the % utilisation in the same cell.

    A simple example (see attached sheet with cell in question highlighted yellow):
    Maximum Working Days in Novemer: 20 (shown in G4)
    Proposed Utilisation: 18 (this is the number the party would enter into the cell - in this instance G5)
    Excel would therefore autocalculate and display 90% (in cell G5)

    Can Excel do this automatically with a built-in function, or do i need to write a macro? I would like this to happen live; not have to click on a run-macro button.

    I have seen it done before, but can't figure it out. Please help!

    A.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Input number to cell, but display as a relative percentage

    Quote Originally Posted by ajgcook83 View Post
    I would like the external parties to input a number of days utilisation into each cell, but have Excel to actually DISPLAY the % utilisation in the same cell.

    Can Excel do this automatically with a built-in function, or do i need to write a macro? I would like this to happen live; not have to click on a run-macro button.
    A cell can either contain data (an entry) OR a formula, it cannot contain both - so yes, you would need VBA for that

    Why not put the % in a cell next to the entry though, that way you still have teh raw data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Input number to cell, but display as a relative percentage

    Thanks Ford!

    I had a feeling that was the case.

    A.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Input number to cell, but display as a relative percentage

    Glad to have cleared this up for you

+ 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. display percentage of how often a number appears?
    By boredombulker in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-30-2014, 01:24 PM
  2. Chart to display percentage of empty vs number of cells with data
    By ChrisBITGROUP in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-17-2014, 07:39 PM
  3. Replies: 3
    Last Post: 06-12-2013, 10:53 PM
  4. Replies: 8
    Last Post: 02-15-2011, 11:40 AM
  5. Display a percentage as a number
    By abb16ott in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2010, 10:35 AM
  6. Cell Category (Number) input Display
    By Bracknell in forum Excel General
    Replies: 1
    Last Post: 07-16-2007, 10:06 AM
  7. Getting date to display after number input
    By Hemmiv in forum Excel General
    Replies: 15
    Last Post: 11-27-2006, 09:51 AM

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