PC Review


Reply
Thread Tools Rate Thread

How do I count based on conditions on two fields in data?

 
 
=?Utf-8?B?U2NvdHQ=?=
Guest
Posts: n/a
 
      18th Sep 2007
My data in Excel includes among other fields age and annual salary. I would
like to prepare a 2-way frequency table, without the use of pivot table,
giving a count of salary earners between 1000000 to 150000, 150001 to 200000
and 200001 and above for those aged between 20 and 30, 30 and 40, above 40.
Please help?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?UHJhbmF2IFZhaWR5YQ==?=
Guest
Posts: n/a
 
      18th Sep 2007
I think you will first of all have to create a table structure like

age 100000-150000 150000-200000
20-30
30-40
>40


Once you are done, then you can use IF to work out the expected output.

HTH,
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"Scott" wrote:

> My data in Excel includes among other fields age and annual salary. I would
> like to prepare a 2-way frequency table, without the use of pivot table,
> giving a count of salary earners between 1000000 to 150000, 150001 to 200000
> and 200001 and above for those aged between 20 and 30, 30 and 40, above 40.
> Please help?

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Count based on 2 conditions Basenji Microsoft Excel Worksheet Functions 4 23rd Jul 2009 02:18 PM
Count based on 2 conditions by using vb Jon Microsoft Excel Misc 0 14th Dec 2008 02:36 PM
Count based on Conditions shyamgnair Microsoft Excel Worksheet Functions 1 15th Oct 2008 02:05 PM
count based on two conditions jhahes Microsoft Excel Programming 1 21st Jun 2006 10:06 PM
How do I count based on two conditions? =?Utf-8?B?TWFyayBH?= Microsoft Excel New Users 2 31st Jan 2006 03:57 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:42 AM.