+ Reply to Thread
Results 1 to 7 of 7

I thought this would be easy (check for text, check error, do math)

  1. #1
    Registered User
    Join Date
    04-15-2013
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    26

    I thought this would be easy (check for text, check error, do math)

    Column A is Name or other text
    Column B # of items assigned
    Column C # of items completed
    Column D (blanks if column A is blank) (Not Assigned if there is a div error) (resultant of C/B)

    I had this formula but also wanted to check for see if there was text in column A
    =IF(ISERROR(B2/C2),"Not Assigned",C2/B2) <------ works perfectly.


    I want it to check to see if there is text in A2. If there is no text then D2 will be blank and stop.

    If there is text then execute this (ISERROR(C2/B2),"Not Assigned",C2/B2)

    Here are the conditions:
    Condition 1 if there is no text in A2 then D2 is left blank and stop
    Condition 2 if there is text in A2, check for error when dividing C2/B2, if error D2= Not assigned
    Condition 3 if there is no error C2/B2 and the result is displayed in D2

    I have tried =if(isblank(a2),””, IF(ISERROR(B2/C2),"Not Assigned",C2/B2) ) but if A2 is blank I get a #name? error.

    thank you,
    Scottt

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: I thought this would be easy (check for text, check error, do math)

    Pderhaps =if(a2="",””, IFERROR((C2/B2),"Not Assigned"))
    Last edited by Pepe Le Mokko; 05-08-2013 at 12:36 PM. Reason: Added parenthesis

  3. #3
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: I thought this would be easy (check for text, check error, do math)

    =IF(A2="","",IF(ISERROR(C2/B2),"Not Assigned",C2/B2))

    No Text in A2 = Blank D2
    Error in C2/B2 = "Not Assigned"
    Text in A2 AND C2/B2 ok = C2/B2
    Elegant Simplicity............. Not Always

  4. #4
    Registered User
    Join Date
    04-15-2013
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: I thought this would be easy (check for text, check error, do math)

    Thank you.

    We are working with such an imperfect reporting system.
    Management has us driving into training and breaking it down to ridiculous levels.

  5. #5
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: I thought this would be easy (check for text, check error, do math)

    ahhhhhhhh bless the managements' lil cotton sox

  6. #6
    Registered User
    Join Date
    04-15-2013
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: I thought this would be easy (check for text, check error, do math)

    I ended up just averaging the values. it seemed to work and the data was validated.
    Most of all the end user was happy.

    thank you for your assistance.

  7. #7
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: I thought this would be easy (check for text, check error, do math)

    NP ..... Can you mark this thread as solved please

+ 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