Please help me, I have an excel where in I have to write a countif condition with morethan 7 conditions to apply.
What to do ? Please hlep me...
Please help me, I have an excel where in I have to write a countif condition with morethan 7 conditions to apply.
What to do ? Please hlep me...
Hi Kishore,
I believe you should create a table on those conditions and then you can use lookup functions (lookup, vlookup etc) to achieve the desired results...
Upload a sample file in case of any issues. thanks.
Regards,
DILIPandey
<click on below 'star' if this helps>
DILIPandey, Excel rMVP
+919810929744 (India), +971528225509 (Dubai), [email protected]
I want the count of 9 scores achieved by Kishore with the following conditions
If Kishore satisfies any model A,b,C,D,E,F,G AND if the score is 9 then I want how many 9's are there for Kishore.
Please let me know if you need any other clarifications. Attaching the sample file.....
You sample only has the letters "A" to "G" in column C, what are the real values you have in this column?
What else could there be in this column?
Assuming only single letters or blanks, this array formula might help
In say G2
Confirm with Ctrl+Shift+Enter not just EnterPlease Login or Register to view this content.
If you need any more information, please feel free to ask.
However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....
Also
اس کی مدد کرتا ہے اگر
شکریہ کہنے کے لئے سٹار کلک کریں
If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.
Here is several solutions, including Marcol.
a) Use filters and you'll get desired number above table (filter Kishore, number 9 or else)
b) Write desired name and letters you want to include
Warning! In a table you have space after eash name
c) count everything (because only A to G are included). Works for XL2003.
d) same as above only XL 2007 version
e) Marcol solution
Last edited by zbor; 04-30-2012 at 02:10 AM.
What if I need the results for Kishore for only some Models (A,C,D,G)...remaining models it should not show in the result...Any help please/....
Have you looked at the workbook that zbor posted in Post#5?
The Cells G2:I2 show you how to handle that situation, put ACDG in H2
If there could be blanks in column C
Change the formula in I2 to ...
Please Login or Register to view this content.
I understand that and it is working fine. But in my original case it is not just a single letter in the model. It is an alpha numeric model number. So what to do now?
Ex: Service and chat 101242
service and chat 215412541
chat 215542154
So please help me ......
I asked this in Post #4
You would save everybodies' time, including your own, if you were to post a sample of your real workbook.You sample only has the letters "A" to "G" in column C, what are the real values you have in this column?
What else could there be in this column?
Last edited by Marcol; 04-30-2012 at 06:47 AM.
Oh! I am sorry to mention. Please help me....
Could any one please help me in the above case....
Marcol...Please help....
Kishoremcp, it's not that we don't want to help you, but you must help us help you.
How many different "Models" are there?
What are they, are they grouped in any way?
How are you selecting the ones to count?
If you post the actual workbook, reduced in size if necessary, and any sensitive data disguised/removed.
We will be able to make some progress.
Let us see the whole picture, don't drip feed it in unrelated bits.
Everybody here is willing to help, but we are not mind readers.
I agree with Marcol.. Alot of time would be saved if you could attach an example sheet. Also it will be easier and will let us experiment with your data.
Thanks,
Bonny Tycoon
**If I was able to help please click the small star icon at the bottom left of my post **
Macol, here is the file which you want me to upload....
Please find the attached...
Hi Marcol,
Please help me as I have uploaded the required sample file...
Pl see the attached file.
Formula in G2 cell.
Any clarifications welcome.
If it is ok, mark the thread solved.
Okay, have patience, remember time zones, you're some 4-5 hours ahead of me ...
Give this a try ...
With Sheet "Reports"
1/. Make a list of unique Agents
In A2
Drag/Fill down until the formula returns blanks, say in this case 75 rows.Please Login or Register to view this content.
If more agents are added to Sheet "Raw Data" Column C they will be detected, this column must be continuous and cannot have blanks.
2/. In B2, this array formula
Confirm with Ctrl+Shift+Enter not just EnterPlease Login or Register to view this content.
Drag Across to Column H, then down to last used row in Column A
3/. Put the minimum "Satisfaction Level" you require in K2.the
If you leave K2 blank the table will return a count of all the results for each agent
If you put a number in K2 the table will return a count of all the results greater or equal to your expectation for each agent.
Note
I only have access to Excel 2003 at present, someone with a higher version might want to try to improve on the SUMPRODUCT() formula.
[EDIT]
@ kvsrinivasamurthy I think you're a bit behind the curve with this one ...
Last edited by Marcol; 05-01-2012 at 05:18 AM.
Pl see the attached file.
Formula can be dragged.
Thank you for your response Marcol and I am sorry for buzzing you more times.
If I checked it manually it is giving me worng results. I need the count of 7 in 7 Headding (H2), 6 in (G2) like that for 1 in (B2)
for the agent name in A2. like that... but here i am getting wrong outputs. Please check them once again for me....
Thank you very much for your efforts to help me....
Your sample book gives a list of models all of which aren't in Sheet "Raw Data",there are also some in that sheet that you haven't listed, is this correct?
1/. I have creaed a list of models that are in Sheet "Raw Data", this is in Column L.
2/. Use this list as the Dynamic Named List "Models"
Refers to:=
3/. The Data Validation List in J2 refers to "Models"Please Login or Register to view this content.
Select from this drop-down to get the various counts in the table.
4/. In B2
Drag Across and Down.Please Login or Register to view this content.
Is these the results that you are after?
@ kvsrinivasamurthy Have you posted in the correct thread?
Your attachment in post #18 seems unrelated to this one ...
Last edited by Marcol; 05-01-2012 at 07:54 AM.
Do you mean this? see sheet Pivot:
Hmm?
After all the bumps, and pleas for help, it seems that kishoremcp has vanished in the ether ...
I do hope he's well, and will be back with us soon ...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks