How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask John D Your Own Question

John D
John D, Bachelor's Degree
Category: Microsoft Office
Satisfied Customers: 9659
Experience:  Bachelor of Science - Engineering Consultant
53785
Type Your Microsoft Office Question Here...
John D is online now
A new question is answered every 9 seconds

Microsoft Excel 2007 I need a formula that will read a specific

Customer Question

Microsoft Excel 2007

I need a formula that will read a specific name in "d" if there is a date in Column "e" and if no date in column "f"?
Submitted: 2 years ago.
Category: Microsoft Office
Expert:  John D replied 2 years ago.

Hi,

 

Copy the following formula and paste it in G1, then use Fill Down to fill it down to as many cell as you need

 

=IF(AND(OR(CELL(&quo t;format",E1)={"D1","D2","D3","D4","D5"})=TRUE,OR(CELL("format",F1)={"D1","D2","D3","D4","D5"})=FALSE),D1,"")

 

 

Let me know if you have any questions, and thank you for clicking Accept if you are satisfied with the solution

Customer: replied 2 years ago.

 

 

If the name in "d" is different how will the formula know to count cell

example result;

 

10 Chicago

11 Madison

16 Greensborough

 

4 with active dates

 

41 total students

 

Expert:  John D replied 2 years ago.
hmm.. You did not ask for "count initially". You said " read a specific name", and that was the basis if the formula that I gave you

Thank you for accepting, and I will be happy to help you with the new "count" requirement

John D, Bachelor's Degree
Category: Microsoft Office
Satisfied Customers: 9659
Experience: Bachelor of Science - Engineering Consultant
John D and other Microsoft Office Specialists are ready to help you
Expert:  John D replied 2 years ago.

Thanks

 

So you want to count the number of occurrence in column D where 1) the corresponding values in E are dates, and 2) the corresponding values in E are not dates. Correct?

 

Customer: replied 2 years ago.

 

 

first namelast nameschoolactive dateinactive date
jimjohnsonChicago3/2/2012
John JacksonMadison2/17/20123/29/2012
FrankWinnerJohnsburgh1/4/2012
KenJonesChicago12/20/20112/12/2012

Count Chicago students active

Count Madison students active

Count Johnsburgh students active

 

Count total inactive students

 

 

Count total students list (without duplicates)

 

Does this help?

 

 

 

 

Expert:  John D replied 2 years ago.

Ok here is the formula that counts Chicago active (Chicago should be in column D, and the dates in E and F)

 

 

=SUMPRODUCT((D:D="Chicago")*(E:E>0)*(F:F=0))

 

To count other names replace "Chicago" with the name that you would like to count

 

Hope this helps

 

 

John D, Bachelor's Degree
Category: Microsoft Office
Satisfied Customers: 9659
Experience: Bachelor of Science - Engineering Consultant
John D and other Microsoft Office Specialists are ready to help you
Customer: replied 2 years ago.

 

The formula has a Circular Reference Warning message and the answer seems to be zero over and over.

Expert:  John D replied 2 years ago.

The problem is not with the formula. You either have placed the formula in the wrong cell or you have other issues in that file. I can send you a sample file to show you how it works

 

However if you want me to check your file and diagnose the problem you will need to open a new question and assign an appropriate amount.

 

Thank you

 

 

Customer: replied 2 years ago.

 

I don't understand;

 

However if you want me to check your file and diagnose the problem you will need to open a new question and assign an appropriate amount.

My problem is the same as before I received your answer, your formula is not working.

Expert:  John D replied 2 years ago.

Ok send me the file today and I let you know if the issue is with the formula or something else.

 

Customer: replied 2 years ago.

Attachment: 2012-04-19_040432_off_campus1.xlsx

 

I tried the formula in the Greater Chicago total, see attached excel document.

Expert:  John D replied 2 years ago.

You cannot put the formula in the same columns that it refers to. The formula refers to F:F while the formula itself is in column F. Place the formula in another column and you will be good to go

 

I hope this helps

 

 

 

 



Remember, if for any reason you are unsatisfied with my answer, we can continue the conversation until you’re satisfied and Accept my answer. I can address follow up questions at no extra charge and I’m always here to help. Thank you for using JustAnswer!

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Last | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
 
 
 

Meet The Experts:

 
 
 
  • jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    301
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    274
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    125
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    124
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    97
    Bachelor's Degree in Information Technology, Microsoft Certified Professional
 
 
 
Chat Now With A Microsoft Office Technician
John D
John D
385 Satisfied Customers
Bachelor of Science - Engineering Consultant