CivilEA.com
  • Subscribe !
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Civil Engineering Association Various Free Discussion Excel formula help

Excel formula help
 hmwere

Not-Activated

Uganda
User ID: 17377
Joined: Mar 2010
Posts: 285
Threads: 132
Likes: 421 in 152 posts
Given Likes: 1475
Points:19,174 EP
#1
10-30-2012, 11:06 AM
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.

[Image: 59313026758841561309.jpg]

Thanks and regards




  •
 kowheng

Software

Retired Moderator
Thailand
User ID: 2141
Joined: Jun 2009
Posts: 2,909
Threads: 59
Likes: 33,527 in 2,936 posts
Given Likes: 17217
Points:158,166 EP
#2
10-30-2012, 11:13 AM (This post was last modified: 10-30-2012, 11:44 AM by kowheng.)
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"



[-] The following 7 users Like kowheng's post:7 users Like kowheng's post
  • shadabg, Diquan, lisine, hmwere, jaks, LiviuM, Dell_Brett
 shadabg

Professional Member

Subscriber
India
User ID: 27905
Joined: Aug 2010
Posts: 1,749
Threads: 166
Likes: 8,553 in 1,623 posts
Given Likes: 3737
Points:66,329 EP
#3
10-30-2012, 12:00 PM
I want to know,

[Image: 23489574348107923796.jpg]

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"




  •
 ingenierobou

Not-Activated

Venezuela
User ID: 28959
Joined: Sep 2010
Posts: 34
Threads: 13
Likes: 41 in 12 posts
Given Likes: 120
Points:2,089 EP
#4
10-30-2012, 03:11 PM
First select the cells you want to work on.
Then go to DATA-SORT and in the window choose DESCENDING.
In the same window you can choose which column you want to sort first.



[-] The following 1 user Likes ingenierobou's post:1 user Likes ingenierobou's post
  • shadabg
 hmwere

Not-Activated

Uganda
User ID: 17377
Joined: Mar 2010
Posts: 285
Threads: 132
Likes: 421 in 152 posts
Given Likes: 1475
Points:19,174 EP
#5
10-31-2012, 03:25 AM (This post was last modified: 10-31-2012, 03:30 AM by hmwere.)
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.

[Image: 23501535877311075986.jpg]

Thanks and regards




  •
 dinu69in

Not-Activated

White-private
User ID: 16081
Joined: Mar 2010
Posts: 141
Threads: 78
Likes: 1,507 in 138 posts
Given Likes: 1634
Points:8,089 EP
#6
10-31-2012, 04:18 AM (This post was last modified: 10-31-2012, 04:19 AM by dinu69in.)
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 (Sad) all....!
Hope this helps... or someone may guide whether this can be done using Pivot tables.



[-] The following 1 user Likes dinu69in's post:1 user Likes dinu69in's post
  • hmwere
 elbarto_87

Not-Activated

White-private
User ID: 8226
Joined: Oct 2009
Posts: 53
Threads: 26
Likes: 136 in 52 posts
Given Likes: 80
Points:5,092 EP
#7
10-31-2012, 11:29 AM
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

[Image: 68094347848368489001.jpg]



[-] The following 6 users Like elbarto_87's post:6 users Like elbarto_87's post
  • andersen3, LiviuM, 3fan, cace-01, hmwere, oanm2000
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread

Designed by CivilEA - Powered by MyBB

Linear Mode
Threaded Mode