+ Reply to Thread
Results 1 to 3 of 3

How to treat specific text as numerical value

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

    How to treat specific text as numerical value

    I don't think this should be too hard of a problem I would like excel to treat specific text values as a number.

    For example: Doing weekly time sheets I sum up total hours but I would like to have it so I could put a "V" (for vacation) and have the sum treat it as 8. I figured out how to do this for specific cells but not a group.

    I can do SUM(A1:A7)+IF(A1="V",8,0) but something like SUM(A1:A7)+IF(A1:A7="V",8,0) does not work. As it would be a pain to put in a formula every cell and there are multiple rules like this I would like.

    I have found a few threads similar to this but not quite what I need.

    Any help would be greatly appreciated. Thank You

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: How to treat specific text as numerical value

    Try

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


    On that you can add SUM(A1:A7)
    Never use Merged Cells in Excel

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

    Re: How to treat specific text as numerical value

    AMAZING

    Exactly what I wanted. Thank you. I knew it wouldnt be too hard.

    Again thank 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. Find and extract specific text data & accompanying numerical data
    By gabrielemucho in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-18-2013, 05:58 PM
  2. Replies: 2
    Last Post: 05-27-2013, 09:35 AM
  3. Replies: 3
    Last Post: 02-21-2011, 01:27 AM
  4. Replies: 1
    Last Post: 04-28-2010, 12:10 PM
  5. Treat formulas as text?
    By roasthawg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2009, 01:31 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