+ Reply to Thread
Results 1 to 6 of 6

Formula to calculate % based on a number & text in cells

  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Formula to calculate % based on a number & text in cells

    Morning all, first post here.

    I have a form in work which acts as a tick sheet for tasks complete on a construction site. When a task is complete I copy & paste from a key of dates i.e. week ending 11.05.15, this allows me to see what week a task was complete.

    Generally I only marked off tasks which were 100% complete but my manager wants me to enter the % of the task complete also, i.e. 80% in the box.

    So my question is how can I have the formula assume that any box with a date & shading is 100% and any cell with a number i.e. 80 is only 80% complete. I need it to monitor around 150 cells and give me the overall % complete based on what i have discussed.

    I realise it would be easier for you to see the database so if you email me or PM me that's fine.

    Regards,
    Conor

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Formula to calculate % based on a number & text in cells

    COUNTIF will be the formula to use. So it would be something like =Countif("A:A","100")/counta("A:A")
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula to calculate % based on a number & text in cells

    Quote Originally Posted by nathansav View Post
    COUNTIF will be the formula to use. So it would be something like =Countif("A:A","100")/counta("A:A")
    Thanks Nathan,

    I will use that however can the 'countif' be set to recognise a date or 8 characters? (i.e. 11.05.14). I have attached the file in question.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Formula to calculate % based on a number & text in cells

    Sorry i'm a bit lost now, what is it you want doing and where on the sheet?

  5. #5
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula to calculate % based on a number & text in cells

    Quote Originally Posted by nathansav View Post
    Sorry i'm a bit lost now, what is it you want doing and where on the sheet?
    Sorry I uploaded the wrong file! See attached.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Formula to calculate % based on a number & text in cells

    It will be a different type of formula an array formula, requires ctrl + shift + enter, but would be something like this

    =SUM(IF(LEN(A1:A6)>=8,1,0))/COUNTA(A1:A6) where a1:a6 is the data range.

+ 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. Replies: 1
    Last Post: 07-18-2013, 10:11 AM
  2. [SOLVED] Calculate number/percentage less than x amount based on text in another column
    By dvs in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2013, 10:10 AM
  3. Formula calculate based on negative or positive number
    By oxicottin in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-15-2012, 12:45 PM
  4. Replies: 4
    Last Post: 10-15-2012, 07:38 AM
  5. Calculate cells based on text
    By sweber25 in forum Excel General
    Replies: 3
    Last Post: 01-11-2009, 05:14 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