Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default averaging data in multiple columns

I'm looking for a formula to lookup criteria in column A and average the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have been
sold
in a given year and I will be adding addtional months as time progresses and
do not want to have to adjust my range or formula each time a new months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default averaging data in multiple columns

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have been
sold
in a given year and I will be adding addtional months as time progresses
and
do not want to have to adjust my range or formula each time a new months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default averaging data in multiple columns

Yes. Data in columns B, C, D and E do represent months. What I'm trying to
do for example is see what the average number of "CATS" sold is during these
4 months. I'd like create a formula that looks up "CATS" and tells me the
average is 150 based on a data range which would do the calculation
(200+300+100+0)/4.



"T. Valko" wrote:

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have been
sold
in a given year and I will be adding addtional months as time progresses
and
do not want to have to adjust my range or formula each time a new months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad



.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default averaging data in multiple columns

Ok, the formula I suggested will do just that.

Just change the range/cell references to suit your layout.

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
Yes. Data in columns B, C, D and E do represent months. What I'm trying
to
do for example is see what the average number of "CATS" sold is during
these
4 months. I'd like create a formula that looks up "CATS" and tells me the
average is 150 based on a data range which would do the calculation
(200+300+100+0)/4.



"T. Valko" wrote:

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average
the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have
been
sold
in a given year and I will be adding addtional months as time
progresses
and
do not want to have to adjust my range or formula each time a new
months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad



.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default averaging data in multiple columns

Thanks so much. This is great.

"T. Valko" wrote:

Ok, the formula I suggested will do just that.

Just change the range/cell references to suit your layout.

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
Yes. Data in columns B, C, D and E do represent months. What I'm trying
to
do for example is see what the average number of "CATS" sold is during
these
4 months. I'd like create a formula that looks up "CATS" and tells me the
average is 150 based on a data range which would do the calculation
(200+300+100+0)/4.



"T. Valko" wrote:

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average
the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have
been
sold
in a given year and I will be adding addtional months as time
progresses
and
do not want to have to adjust my range or formula each time a new
months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad


.



.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default averaging data in multiple columns

Sorry. 1 more question. What if I want to take the average of both "DOGS"
and "CATS" sold?

Thanks,

Brad

"T. Valko" wrote:

Ok, the formula I suggested will do just that.

Just change the range/cell references to suit your layout.

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
Yes. Data in columns B, C, D and E do represent months. What I'm trying
to
do for example is see what the average number of "CATS" sold is during
these
4 months. I'd like create a formula that looks up "CATS" and tells me the
average is 150 based on a data range which would do the calculation
(200+300+100+0)/4.



"T. Valko" wrote:

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average
the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have
been
sold
in a given year and I will be adding addtional months as time
progresses
and
do not want to have to adjust my range or formula each time a new
months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad


.



.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default averaging data in multiple columns

Try this...

A10 = dogs
B10 = cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0),INDEX(B 2:M4,MATCH(B10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
Sorry. 1 more question. What if I want to take the average of both
"DOGS"
and "CATS" sold?

Thanks,

Brad

"T. Valko" wrote:

Ok, the formula I suggested will do just that.

Just change the range/cell references to suit your layout.

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
Yes. Data in columns B, C, D and E do represent months. What I'm
trying
to
do for example is see what the average number of "CATS" sold is during
these
4 months. I'd like create a formula that looks up "CATS" and tells me
the
average is 150 based on a data range which would do the calculation
(200+300+100+0)/4.



"T. Valko" wrote:

It's not real clear what you're wanting to do.

Do columns B, C, D and E represent months?

See if this does what you want...

Data in the range A2:M4

A10 = Cats

=AVERAGE(INDEX(B2:M4,MATCH(A10,A2:A4,0),0))

--
Biff
Microsoft Excel MVP


"brad1824" wrote in message
...
I'm looking for a formula to lookup criteria in column A and average
the
results in columns B, C, D, E, etc.

For example I would like to know the average of how many "CATS" have
been
sold
in a given year and I will be adding addtional months as time
progresses
and
do not want to have to adjust my range or formula each time a new
months
worth of data is added. For example.

column A column B column C column D column E

DOGS 100 200 150 50
CATS 200 300 100 0
FISH 50 100 200 100

Any help is truly appreciated.

Thanks,

Brad


.



.



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
To count the data using multiple criteria in multiple columns Rajesh New Users to Excel 5 December 15th 08 04:07 PM
averaging info from three columns AAS Excel Discussion (Misc queries) 5 May 29th 08 09:35 PM
Excel - Averaging Over Multiple Workbooks GMCN Excel Worksheet Functions 0 March 13th 07 08:14 PM
Averaging Columns based on a Text String Gene Haines New Users to Excel 9 September 19th 06 03:16 AM
Averaging columns rhodesv New Users to Excel 1 December 16th 04 08:14 PM


All times are GMT +1. The time now is 01:44 PM.

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"