+ Reply to Thread
Results 1 to 5 of 5

How to give text a numerical value so to speak...?

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    How to give text a numerical value so to speak...?

    Hello everyone, I'm new to the message board and just wanted to say thank god boards like this exist! Anyhow I was wondering if those of you proficient in Excel could help out a newbie with a question. I was wondering if it could be possible to make certain text objects in Excel display a numeric value. Basically whatI'm doing just to give you an idea is I have a list and in that list some colums display the word "closed" or "open." I use this to depict whether or not I have finished each specific task in the list. Well in the top of the Excel document I have something like "how many tasks are still open? 15" and "how many tasks are still closed? 20." So what I'm trying to do is when I change the status of a task to open or closed it automatically reflects the number at the top under "how many tasks open/closed." I hope that makes sense to everyone, if not please advise and I will definitely clear it up some more.

    How can I go about giving these objects values so that they automatically appear at the top of the document and reflect the information I'm requiring. Thank you very much!

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to give text a numerical value so to speak...?

    Use COUNTIF()

    say Column B has "closed" and "open"

    Then
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    And
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    wales
    MS-Off Ver
    Excel 2007
    Posts
    964

    Re: How to give text a numerical value so to speak...?

    im not sure but try this for open

    =COUNTIF([RANGE],"OPEN")

    and for closed

    =COUNTIF([RANGE],"CLOSED")

    Where range is the [RANGE] or cells with open/closed in
    The Importance of INDEX - A GUIDE TO INDEX'S OTHER USES
    <--- If a post helps hit the star

  4. #4
    Registered User
    Join Date
    10-25-2012
    Location
    florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to give text a numerical value so to speak...?

    Hey thank you very much and everything. I was wondering how I could make a cell add up all the "closed" and "open". For example total open: "value". Total closed: "closed". I tried using the same count if code but adding both words open and closed but it wouldn't work. Hopefully you understand what I'm asking. Thanks again the code worked like a charm. It's crazy all the things excel can do.

  5. #5
    Registered User
    Join Date
    10-25-2012
    Location
    florida
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: How to give text a numerical value so to speak...?

    Btw I used marcols suggestion, I didn't try the range variable.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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