Dear fellow CivilEAns,
I would like to count the number of "accepted" or "deferred" automatically using excel formulae.
You may write out , in excel, "accepted" and "deferred" a number of times so you may show me using excel formulae how they may automatically be counted say 5 accepted and 10 deferred. the 5 and 10 should be automatically generated using excel and not manually (because this gets hectic).
An image is appended.
Thanks and regards
A STRUCTURAL ENGINEER has the ART OF USING MATERIALS That Have Properties Which Can Only Be Estimated TO BUILD REAL STRUCTURES That Can Only Be Approximately Analyzed TO WITHSTAND FORCES That Are Not Accurately Known SO THAT HIS/HER RESPONSIBILITY WITH RESPECT TO PUBLIC SAFETY IS SATISFIED.
•
10302012, 12:13 PM
(This post was last modified: 10302012, 12:44 PM by kowheng. Edit Reason: )
use formula like below:
=countif(a1:a1000,"Accepted") ===> in cell you'd like to show number of "Accepted"
=countif(a1:a1000,"Deferred") ===> in cell you'd like to show number of "Deferred"
I want to know,
if i'm having few Levels written in a single column (as per screenshot) and if i want to reverse it, how can i do in excel.
Sometimes such small things troubles a lot, especially when they in huge nos.
Thanks,
Regards,
Shadab
"Dream till you Live, Chase till you Die"
•
First select the cells you want to work on.
Then go to DATASORT and in the window choose DESCENDING.
In the same window you can choose which column you want to sort first.
"Engineers can do just about ANYTHING" George Phelps
10312012, 04:25 AM
(This post was last modified: 10312012, 04:30 AM by hmwere. Edit Reason: )
Dear all,
In continuation with my earlier thread, how can i then know the number of "accepted" or "deferred" that either janet, Dan, Peter, ezra etc each have? Automatically by excel using formulae.
Thanks and regards
A STRUCTURAL ENGINEER has the ART OF USING MATERIALS That Have Properties Which Can Only Be Estimated TO BUILD REAL STRUCTURES That Can Only Be Approximately Analyzed TO WITHSTAND FORCES That Are Not Accurately Known SO THAT HIS/HER RESPONSIBILITY WITH RESPECT TO PUBLIC SAFETY IS SATISFIED.
•
10312012, 05:18 AM
(This post was last modified: 10312012, 05:19 AM by dinu69in. Edit Reason: )
Dear hmwere
I haven't done this in Excel before. You have to write a macro to do such operations. However to do this in excel you may have to make some arrangements like in C column from row 1 to 22 you have enter 1. Then from cell A25 onwards you have to list all different names twice. Since there are 9 different names this will fill up for eighteen rows. For each name you have to enter Accepted and Deferred in column B. Then in cell C25 you can enter this formula :
SUMIFS($C$1:$C$22,$A$1:$A$22,A25,$B$1:$B$22,B25). Then click and drag this for entire names. That's ( ) all....!
Hope this helps... or someone may guide whether this can be done using Pivot tables.
The following 1 user says Thank You to dinu69in for this post:1 user says Thank You to dinu69in for this post
• hmwere
Attached is how I usually tackle such a problem. I used nested if functions returning a binary array with I then take the sun of, just remember to use ctrl+shift+enter when entering formulay (google array formula). Sounds more comlicated then it actually is but I find this to be a rather simple solution that is very flexible.
Regards Elabrto
.
