+ Reply to Thread
Results 1 to 7 of 7

SUM TEXT values with VLOOKUP

  1. #1
    Forum Contributor Webbers's Avatar
    Join Date
    09-06-2005
    Location
    Poinciana, FL
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    337

    SUM TEXT values with VLOOKUP

    Okay first, thanks in advance. I have been trying to work through this one, and I am sure it will come down to something simple, but I just cannot figure it out. I have a spreadsheet to track multiple projects. I am using this formula in a cell to add the values I have given to each status. the issue I am having is that it will not recognize a blank status and give it the designated value of 0. instead it will provide a value of 0 as a total, even if the correct response should be 50%. So if I have 1 item as complete, 1 as in progress and the remaining 2 are blank, 35% should be displayed, however it displays 0% instead. If I use "Not Started" for everything that has not been touched yet, I can get it to work correctly. I am attaching a sample for review. Please see cells D2, B9, and D9, which I have highlighted in yellow. none of these 3 cells provide the correct value being displayed.

    Complete 25.00%
    In Progress 10.00%
    Not Started 0.00%
    Overdue 0.00%
    0.00%

    =IFERROR(SUM(VLOOKUP(C3,PerDone,2,FALSE)+VLOOKUP(C4,PerDone,2,FALSE)+VLOOKUP(C5,PerDone,2,FALSE)+VLOOKUP(C6,PerDone,2,FALSE)),0)
    Attached Files Attached Files
    ~*~ Sherry ~*~
    Poinciana, FL

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: SUM TEXT values with VLOOKUP

    For simplicity, couldn't you just put a dash "-" in cell A6 on the list page instead of leaving it completely blank, and set your validation to cover A2:A6?

    - Moo

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: SUM TEXT values with VLOOKUP

    All you need to do is put zero in cell A6 of the Lists sheet, and then the calculations will be correct.

    Hope this helps.

    Pete

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: SUM TEXT values with VLOOKUP

    Hi

    Just put a zero in A6 on the Lists sheet rather than leaving it blank.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  5. #5
    Forum Contributor Webbers's Avatar
    Join Date
    09-06-2005
    Location
    Poinciana, FL
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    337

    Re: SUM TEXT values with VLOOKUP

    Pete & Richard, I knew it had to be something simple!!! Thanks so much!!!!!

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: SUM TEXT values with VLOOKUP

    Glad to be able to help - thanks for the rep.

    Pete

  7. #7
    Registered User
    Join Date
    01-20-2017
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    199

    Re: SUM TEXT values with VLOOKUP

    I was working on another way and attached the file. It's up to you either way. Good luck with your project!
    Attached Files Attached Files

+ 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. Vlookup for text and add relevant values if text matches in the range
    By misys.til in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-19-2014, 06:11 AM
  2. Replies: 12
    Last Post: 01-10-2008, 09:34 AM
  3. Vlookup text values
    By [email protected] in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. Vlookup text values
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 AM
  5. Vlookup text values
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 06:05 AM
  6. Vlookup text values
    By [email protected] in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] Vlookup text values
    By [email protected] in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-23-2005, 09:05 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