+ Reply to Thread
Results 1 to 5 of 5

Return a value for a specific text

  1. #1
    Registered User
    Join Date
    11-16-2010
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Return a value for a specific text

    I am trying to get a return value in excel. If cell 07 has an "x" then return 25% esleif p7 has the "x" then return 50% esleif q7 has the "x" then return 75% esleif q7 has the "x" then return 100%
    Last edited by kfanguyjr; 11-16-2010 at 10:20 AM. Reason: did not follow forum rules

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Return a value for a specific text

    Perhaps:

    Please Login or Register  to view this content.
    assumes "x" exists in one or more cells - modify to account for this not being the case if nec.
    Last edited by DonkeyOte; 11-16-2010 at 11:04 AM. Reason: amended Q to R

  3. #3
    Registered User
    Join Date
    11-16-2010
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Return a value for a specific text

    Ok that seems to work. But how can i have it return 0% if there is nothing in the array of cells?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Return a value for a specific text

    Perhaps:

    Please Login or Register  to view this content.
    or, given use of XL2007

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-16-2010
    Location
    Houston, TX
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Return a value for a specific text

    Awesome Thanks!!

+ 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