Dear Friends,
A formula needed for..
D14=COUNTA(D7:D12)
where in range D7:D12, I want to count all cells having data, except cell containing "VACCANT".
Please give me a formula.
Thanks in advance
Senjuti
Dear Friends,
A formula needed for..
D14=COUNTA(D7:D12)
where in range D7:D12, I want to count all cells having data, except cell containing "VACCANT".
Please give me a formula.
Thanks in advance
Senjuti
Last edited by senjuti.sarkar; 03-09-2012 at 02:01 AM.
Maybe:
D14: =COUNTIFS(D7:D12<>"",D7:D12<>"VACCANT")
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Dear Friend,
This formula...excel is not accepting...showing error...
can u just alter ...and update the same?
Attachment ....
please help me
=COUNTIF(E5:E10,"<>"&"Vaccant")
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
Or just:
=COUNTIF(E5:E10,"<>Vaccant")
You're more likely to get a correct answer if you quote the correct cell references and/or formulae and/or post a sample workbook (as you can see)
Regards, TMS
Thanks
=COUNTIF(E5:E10,"<>"&"Vaccant")
It works...
Now I need something more to add in criteria..
The range is same..
If any body join after 15th of that perticular month, the name will not get counted.
Attachment...
PLease help..
Please be a little more patient. Nobody is paid to provide the help here and most of us have our own work to do.
Dom
Friend I didn't have any intention to disturb you all...I, myself was trying it from long time... may be for that i am eager to know...where I am doing mistakes...
Maybe one way:
=COUNTA(E5:E10)-COUNTIF(E5:E10,"VACCANT")-SUMPRODUCT(--(DAY(D5:D10)>15))
Regards, TMS
It's usually acceptable to bump a thread after not receiving a response for a day, I would say 12 hours at the very least.
=SUMPRODUCT(--(D5:D10<E3+14),--(E5:E10<>"VACCANT"))
OR
=COUNTIFS(D5:D10,"<"&E3+14,E5:E10,"<>VACCANT")
Not tested the last one.
Dom
Thanks you friend your Formula...worked very well,
=COUNTA(E5:E10)-COUNTIF(E5:E10,"VACCANT")-SUMPRODUCT(--(DAY(D5:D10)>15))
Here instead of 15 can I put any cell address containing Date?
because I want it for each month....
Thank you friends,
Your formula worked...
Thanks a lot...![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks