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

1. 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. Re: I thought this would be easy (check for text, check error, do math)

Pderhaps =if(a2="",””, IFERROR((C2/B2),"Not Assigned"))

3. 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

4. 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. Re: I thought this would be easy (check for text, check error, do math)

ahhhhhhhh bless the managements' lil cotton sox

6. 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. Re: I thought this would be easy (check for text, check error, do math)

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

Users Browsing this Thread

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

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