Solved

Excel 2007 count items

Posted on 2014-04-01
14
218 Views
Last Modified: 2014-04-10
I have a spreadsheet with two tabs. One is labeled "MAIN" and the other is labeled "Appraisal_Status".

On the MAIN tab in Col A7 I have "Appraisal Assessment and Rating Status" and there are three items that it can be.

In Progress
Not Initiated
COMPLETED
BLANKS

On the Appraisal_Status tab Col F is labeled "Appraisal Assessment and Rating Status".

I need to count In Progress, Not Initiated, Completed & BLANKS and display the count on the Main tab.

Please see the attached.

Thanks.
TEMP-Appraisal-Status.xlsx
0
Comment
Question by:CMILLER
  • 5
  • 4
  • 3
  • +1
14 Comments
 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 100 total points
ID: 39970334
0
 
LVL 8

Accepted Solution

by:
itjockey earned 200 total points
ID: 39970335
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39970363
You can use a Pivot Table.

Select the column, then Insert Pivot Table.

Click Finish...

Then in the Right Pane, drag the item from top section to Columns section below.  Drag again from top to  Values section below.

Should give counts of each without formulas.
0
 

Author Comment

by:CMILLER
ID: 39970383
I gave the most points to itjockey because the showed me how to count the blanks.
0
 
LVL 23

Assisted Solution

by:NBVC
NBVC earned 200 total points
ID: 39970390
Another way to count blanks without having to define range...

=MATCH(REPT("z",255),Appraisal_Status!F:F)-SUM(B8:D8)-1
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39970400
Mr. NBVC,

Will you pls explain How your Formula Works i.e. =MATCH(REPT("z",255),Appraisal_Status!F:F)-SUM(B8:D8)-1

Just for knowledge sake, your formula is perfect.
Thanks
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 8

Expert Comment

by:itjockey
ID: 39970409
Mr.CMILLER,

Mr.NBVC is formula is more appropriate than me as if you add some in range you have to modify my formula for blank. but if you use "=MATCH(REPT("z",255),Appraisal_Status!F:F)-SUM(B8:D8)-1" then you dont have to modify formula.

mi right Mr.NBVC?

Thanks
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39970432
MATCH(REPT("z",255),Appraisal_Status!F:F) finds last row with a text string in it.  It does this be looking for a string that is the "z' character repeated 255 times.  It obviously won't be found, so MATCH()  .. note that it doesn't have the optional Type parameter to find exact match.  Instead if find last match that is smaller than or equal to the search criteria.  All strings are smaller than "z" repeated 255, so it returns position of last string found. (here in row 231).  Then my formula deletes the sum of the other three categories, leaving the true blank count in the range.  The extra -1 at the end is to discount the header.
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39970439
Thank You Very Much for Explanation. Really Appreciated.
0
 
LVL 8

Expert Comment

by:itjockey
ID: 39970444
Thank you Very much for explanation. really appreciated.
0
 

Author Comment

by:CMILLER
ID: 39970492
Thanks Guys!

I submitted a request to give NBVC some points.
0
 
LVL 23

Expert Comment

by:NBVC
ID: 39970506
It's appreciated, but not necessary.  Just trying to help. :)
0
 

Author Comment

by:CMILLER
ID: 39970556
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now