Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How do I perform a function based on certain criteria?

I have monthly worksheets containing several columns of information. I would
like to perform different functions and calculation
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How do I perform a function based on certain criteria?

namely?

--
HTH

Bob Phillips

"SMKDonde" wrote in message
...
I have monthly worksheets containing several columns of information. I

would
like to perform different functions and calculation



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,560
Default How do I perform a function based on certain criteria?

Hi,
I think you will have to be a little more specific.

"SMKDonde" wrote:

I have monthly worksheets containing several columns of information. I would
like to perform different functions and calculation

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How do I perform a function based on certain criteria?

I didn't have any room to type anymore when I entered it. Here's the deal.
I have a file with monthly worksheets that contain several columns of
information. Basically what I want to do is take several of the columns (1
at a time) and perform functions such as sum; countif; avg; etc. based on
certain criteria in a column (ie: new or used; salesperson; model; etc.). I
know that excel can do this ... I've just never done any programming and I
need to learn how. Thanks for any input you can give.


"David" wrote:

Hi,
I think you will have to be a little more specific.

"SMKDonde" wrote:

I have monthly worksheets containing several columns of information. I would
like to perform different functions and calculation

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How do I perform a function based on certain criteria?

As an example

=SUMPRODUCT(--(A1:A1000="value1),--(B1:B1000=17))

this will count all the items in column A that match value1, and where the
corresponding value in column B is 17. If you want to add up a further
value, then

=SUMPRODUCT(--(A1:A1000="value1),--(B1:B1000=17),C1:C1000)

--
HTH

Bob Phillips

"SMKDonde" wrote in message
...
I didn't have any room to type anymore when I entered it. Here's the

deal.
I have a file with monthly worksheets that contain several columns of
information. Basically what I want to do is take several of the columns

(1
at a time) and perform functions such as sum; countif; avg; etc. based on
certain criteria in a column (ie: new or used; salesperson; model; etc.).

I
know that excel can do this ... I've just never done any programming and I
need to learn how. Thanks for any input you can give.


"David" wrote:

Hi,
I think you will have to be a little more specific.

"SMKDonde" wrote:

I have monthly worksheets containing several columns of information.

I would
like to perform different functions and calculation





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How do I perform a function based on certain criteria?

specific example of something I need to do is as follows: Two different
columns are labeled as such ... column A (Type), column E (make). One
calculation I want to set to do automatically is if the type (column A) is N
(new) then perform the function countif on column E.

"Bob Phillips" wrote:

namely?

--
HTH

Bob Phillips

"SMKDonde" wrote in message
...
I have monthly worksheets containing several columns of information. I

would
like to perform different functions and calculation




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,081
Default How do I perform a function based on certain criteria?

SMK -

Your description is *still* rather ambiguous & vague, but nothing that
you've described sounds as though it needs VBA. Sounds more as though you
need to look into Pivot Tables for the data.

"SMKDonde" wrote:

I didn't have any room to type anymore when I entered it. Here's the deal.
I have a file with monthly worksheets that contain several columns of
information. Basically what I want to do is take several of the columns (1
at a time) and perform functions such as sum; countif; avg; etc. based on
certain criteria in a column (ie: new or used; salesperson; model; etc.). I
know that excel can do this ... I've just never done any programming and I
need to learn how. Thanks for any input you can give.


"David" wrote:

Hi,
I think you will have to be a little more specific.

"SMKDonde" wrote:

I have monthly worksheets containing several columns of information. I would
like to perform different functions and calculation

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default How do I perform a function based on certain criteria?

As an example

=COUNTIF(A1:A1000,"N)

no need for E

--
HTH

Bob Phillips

"SMKDonde" wrote in message
...
specific example of something I need to do is as follows: Two different
columns are labeled as such ... column A (Type), column E (make). One
calculation I want to set to do automatically is if the type (column A) is

N
(new) then perform the function countif on column E.

"Bob Phillips" wrote:

namely?

--
HTH

Bob Phillips

"SMKDonde" wrote in message
...
I have monthly worksheets containing several columns of information.

I
would
like to perform different functions and calculation






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to perform lookups based on multiple criteria? Brandon[_3_] Excel Worksheet Functions 4 October 19th 08 06:44 PM
Lookup function based on 3 criteria staticx5151 Excel Discussion (Misc queries) 3 January 9th 07 12:01 AM
perform 1 function, stop, perform different function nastech Excel Discussion (Misc queries) 0 August 22nd 06 12:21 PM
Function - counting based on criteria Candace Excel Worksheet Functions 2 April 20th 06 07:41 PM
Is it possible to use the sumif function based on the criteria of. Shelba Excel Worksheet Functions 1 February 2nd 05 05:40 AM


All times are GMT +1. The time now is 12:13 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"