How do I create a count of all the different values in a column
I'm using Numbers 09, and I have a table with over 20,000 rows. Each row is a record of a digital asset download. I'm trying to get a list how many times each asset was downloaded. For example, if my table looked like this:
Category
a
c
b
b
c
c
a
a
c
a
Then I want my second table to look like this.
Category
Count
a
4
b
2
c
4
I would like the function to automatically pull the categories out, because I have hundreds of them. Doing a countif would be an absolute pain.
Thanks.
Zach,
It's not the programming that will be the greatest pain, it will be the slowness of a Numbers document with 20,000 rows.
Here's a small example which you can use on your large database if you wish...
Column B of table "Data" contains:
=IF(COUNTIF(OFFSET($A$1, 0,0, ROW()-1),A)=0, MAX(OFFSET($A$1, 0, 1, ROW()-1))+1, "")
Column A of table "Summary" contains:
=IF(MAX(Data :: B)>=ROW()-1, LOOKUP(ROW()-1, Data :: B, Data :: A), "")
and, column B of table "Summary" contains:
=COUNTIF(Data :: A, A)
Regards,
Jerry
...a tip on Filling the expressions to thousands of rows: Paste my expression into the first body row (Row 2) cell and click the Accept button. Commend-C to Copy the Cell. With the cell just below selected, scroll to the last row and Shift-Click the last cell in the column. Then Command-V to Paste to the entire rest of the column. Don't try to use the Fill Handle -- it will take forever that way.
Jerry
Similar Messages
-
Hai to all,
how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
Thank you for helping.
Attachments:
block diagram.jpg 48 KBhafizzuddin wrote:
thank you for the opinions, for now i am not using any express Vi..
In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far) -
Hi,
I need to Create a media along with all the packages (OS,Drivers, Applications and customized settings) through MDT for the windows 8.1 deployment.
Can someone guide me?
Shailendra DevHi,
Here are 3 great links to get you started:
http://technet.microsoft.com/nl-nl/windows/dn481547
http://c-nergy.be/blog/?p=3968
http://windowsitpro.com/windows/create-windows-7-media-deployment
This should provide you enough information to do what you want.
If this post is helpful please click "Mark for answer", thanks! Kind regards -
How do you create a counter/or increment a number in SQL Developer?
How do you create a counter/or increment a number in SQL Developer?
for example:
x = x + 1; // add 1 to the value of x
Thanks,Thank you for your help. In reply to your comment I notice that I forgot the colon ":" when I "DECLARE x = 0;"
When I fixed the "DECALARE x := 0;" the code works fine. See below:
SET SERVEROUTPUT ON
Declare
x integer :=0;
BEGIN
-- use a FOR loop to process a series of numbers
FOR i in 1..3 LOOP
x := x + 5; ---// add 1 to the value of x
DBMS_OUTPUT.PUT_LINE('Counter: ' || TO_CHAR(x) || ' Square: ' || TO_CHAR(i*i));
END LOOP;
END;
---------------- OutPut ----
anonymous block completed
Counter: 5 Square: 1
Counter: 10 Square: 4
Counter: 15 Square: 9
====================================
Thank you again and greatly appreciate your feedback.
Have a great day!! -
How can I easily create a playlist contain all the songs on my iPhone
How can I easily create a playlist containing all the songs on my phone? I have iOS 7.1.1. on the iPhone. Older versons of iOS had a one button operations to add all songs. iOS 7 does not seem to have this one button operation, which requires me to add songs individually. Considering I have over 1500 songs on my iPhone this takes a long to to do.
It has always been very basic to always maintain a backup copy of your computer for this very occasion. Use your backup copy of your computer to put everything on the new one.
If for some reason you have failed to backup, big mistake, then you can transfer itunes purchases from the iphone to the computer: File>Transfer Purchases
You may be able to buy a 3rd party program to get any other music off of the iphone ( not supported by Apple).
When you sync the iphone, it will erase the current content and replace with content form the new computer.
"Not happy with itunes right now, more then a bit of a joke"
Not itunes fault that you did not do the very basics and maintain a backup copy. -
While creating the parameter it doesnot pull all the data of that particular column
Post Author: pvds
CA Forum: Data Connectivity and SQL
Hi everyone.
i am using a sql query with a join condition to pull data in to crystal reports. I got that data which i want in to the report. but when i was trying to create a parameter with a dropdown of all the database values to a particular column it is not showing all the data from the report.
for example i have a column called state
the column has many states displayed in the report but when i select that column and select browse data it shows only 1 state. with this i am anable to create a parameter with a dropdown list of all the state. i can see different states in the report but y i am not able to see when i browse the data or create a parameter? can any one answer me?
i already created another report with a query on same table but i never faced this problem before.Post Author: V361
CA Forum: Data Connectivity and SQL
There is a limit to the number of Parameters that will show in a drop down... You can increase using the following.
Check this KBase article on how to increase the number.
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2017238&sliceId=&dialogID=19032644&stateId=1%200%2019034607 -
Each year for the past 5 years I make a family calendar and send copies to all he family members around the globe. I hate that I have to recreate all the birthdays and special occasions from scratch, and re-drag all the photos onto these dates, in the lower half of the page of each month on the new calendar. How can I create a new calendar for the current year and port all of these photos/comments into the new calendar from last years calendar, to save having to redo all this work!! I am not talking about the upper half page of the photos only...I am referring to the calendar page of each month.
Thanks in advance.
ColinWelcome to the Apple Discussions. Open iWeb so you see your original site in the left hand pane. Use the File->New Site menu option to create a new site. Give it the name you want.
Now select a page in your original site and type Command+D. That will duplicate the page. Drag the duplicate page down to the new site and rename it as needed. Do that for the other pages you need in the original site.
OT -
How do I create a Public Group on the Calendar Server?
How do I create a Public Group on the Calendar Server?
<P>
Anyone can create Private Groups or Member Only Groups. You must be given
administrative rights to create Public Groups on the Calendar Server. The
Calendar Server Admin (SYSOP) can give anyone rights to create Public Groups by
using the uniadmrights tool.
<P>
Go to /users/unison/bin/
and run the uniadmrights
tool. Some sample syntax:
<P>
To list all users with administrative rights:<P>
% uniadmrights -ls -host yourhostname
<P>
To give John Smith, a user on node 10000, rights to administer Public Groups:<P>
% uniadmrights -e "S=Smith/G=John" -add -pgrp -n 10000
<P>
In Calendar Server 4.0, you also have the option of using the Admin Server GUI
to assign Administrative
rights (instead of using the command-line method) by going to User Management,
Administration Rights.
<P>
With the proper administrative rights, log into the Calendar Client. Go to Options,
Manage Groups to create a new group. Choose PUBLIC from the dropdown window,
add your users and/or resources and click OK to create the Public Group which
can be seen by all users on the local Calendar Server.The following is info that I found in another post that I have been trying to follow.
MrHoffman New England
Re: Configure DNS - OS X Server Next Steps
Feb 13, 2011 6:36 AM (in response to Jimbooooooo)
You're setting up internal DNS services, you referenced your ISP DNS servers and you should not have, and now those servers have no translations for your hosts. This is a common misconfiguration.
See [configuring DNS on Mac OS X Server|http://labs.hoffmanlabs.com/node/1436] for how to set up your internal DNS server.
And if there are any references to your ISP DNS servers here (within your client settings, within your server settings, your Airport settings, etc), then you're usually going to have DNS and connectivity problems. You're running a server now, so you'll be running your own services, and (particularly because of NAT here) referencing only your own DNS server(s).
You may be setting up external DNS (if and when you need that), but that should happen after you set up your internal DNS. The above article has a link to setting up external DNS, when you get around to that, if/when you need in-bound connections into your LAN. -
How do i create a mail box in the SMTP server thru a java program
How do i create a mail box in the SMTP server thru a java program. If it is possible thru a java program.pls suggest a mail server compatible for the above possibility to work.
pls help ....Please let me know if it is not at all possible to
create a user account automatically thru a program
(java) in a mail server... how does yahoo work
then..does he manually add a user to the mail
server...By talking to a web server not a mail server.
>
Is not there any mail server that will allow us to
create mailboxes for my java program.. how do the
other web account services work..
As I said mail servers do have management interfaces. You need to find one and then determine what the management interface is. -
How to use common resource bundle across all the development components ?
Hi,
I am working on SAP NetWeaver Developer Studio - JAVA
How to use common resource bundle across all the development components ?
Description :
I have a requirement of creating a resource bundle (resource.properties) and use that common resource bundle in all the development components.
Can we create a development component (war and ear both) and create only resource.properties in this development component( DC ) and create the dependency of the same DC in all the other DCs ?
Thanks,
NehaHello Neha
This question is more NWDS related.
You may have a better chance of someone answering the thread under
SAP Netweaver -> SAP NetWeaver Development Infrastructure (NWDI, formerly known as JDI) forum
Thanks
Kenny -
How to get all the allowed values of a property?
Hi all,
I want to read all the allowed values of a property. I have created a new custom property and given 3 values as allowed values.
What i want to do is programtically read all the allowed values of that particular property.
Regards
RajeevHi guys,
I'm trying to do exactly the same, i need a list with all the KM properties, i'm using the very same code thar Romano putted on his post, and i'm getting this:
InitialConfigException: The configuration service locator could not be initialized for any of the environments. The configuration framework is not available.#
On this sentence:
IConfigurationAccess icAccess = Configuration.getInstance();
I'm developing a Webdynpro application on server A and i'm using the KM libraries through an EJB inside a Webservice on server B.
Do you have any suggestions?
Thanks in advance -
How can i create multiple accounts but use the same itunes?
how can i create multiple accounts but use the same itunes?
Hi iCloud is Making Me Go Crazy,
You will need to create a new Apple ID for your GameCenter and iCloud services. You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish.
Using your Apple ID for Apple services
http://support.apple.com/kb/HT4895
Frequently asked questions about Apple ID
http://support.apple.com/kb/HT5622
Cheers,
- Judy -
How do i get a list of all the apps i have purchased this year
how do i get a list of all the apps have purchased this year and how much each app was
Check your iTunes purchase history (click your email address in the upper right corner in the iTunes App Store-> log in -> click Purchase History). This gives you a comprehensive list of apps you've purchased.
Cheers, Tom -
How do you get the same skin wrinkles to match all the different Ethnicity?
Hello! this is my first time posting a question in this forum, hopefully there will be some clever people out there who can help me!
I have a wrinkled eye texture (see below)
How do I digitally manipulate it so that i can use this same texture to on top of other photos so that it fits/blends well with people of different ethnic origins?
my aim is to make poeple looking older using the same texture.
So far I've tried:
- Making the texture black and white and use different filters, but it doesnt work on all the different skin colours and it doesnt look real.
- Using Multiply filter after adjusting the original texture - that seems to work well except on people with darker skin, then the wrinkles are just too dark.
I would like to know if anyone knows a simple way where i can make this texture works on all skin colours, with out going in and adjusting the wrinkle texture one by one according to each individual.
hope my question isnt too confusing. any suggestions will be greatly appriciated!!Here is the texture I've been manipulating all afternoon to try and achieve the looks i want.
and when I put this texture over the top of other images and select Multiply, and adjusted the opacity, this is what i get....
Now this kinda works?? but it still looks not as good on an asian person.
Thanks by the way to everyone for all the tips, I really really appriciate it and more suggestions for improvments are welcome! -
How can i create a new item in the app "health"?
how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.
Maybe you are looking for
-
Playback of purchased music skips, wrong speed, etc.
Ok, this was going to be a question, but maybe it will help diagnose future problems. Software: iTunes 6.0.4 (3) FireFox 1.5.0.3 (most recently updated) OS 10.4.6 Hardware: PowerMac G5 dual processor 2Ghz recently added 2GB of RAM for total of 2.5GB
-
Is it possible to use parameter in a user query with subquery ?
Hi , i need to use parameter ( [%0] ) in user query using a subquery , but i have errors message when i execute the query example : SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode] =N'[%0]' union all S
-
Can't get Safari to stay logged in to sites.
I want to make the Switch from Google Chrome to Safari, but this has proved impossible so far, because Safari will not stay logged in to a lote of sites. It seems that various Internet forums are the worst offenders, but I've noticed it on occasion
-
I have backed my Mac Book pro up to my external hard drive using time machine. My iPhoto now does not show any images, even when I upload from my iPhone
-
Hi Possible to configure an alert if Authentication between Radius Server and WLC got an issue. We got NMS - Solarwinds thanks CP