Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Want average sales numbers for last 12 months.

Am I allowed more than one question? :)

Maybe someone here knows.
Looking for 3 items from a spreadsheet.

In Column A: Have dates in no particular order for shipments spanning 5
years.
in column B, have shipment dollars for the various dates

A. Looking for the average of shipment dollars for the previous 12
months (looking back from todays date).

If it finds 16 events ocurring during the 12 months, divide the
12 month total by 16.

B. The hignest single value within those 12 months from column B

c. The lowest single value within those 12 months from column B

TIA for all suggestions. Pierre

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Want average sales numbers for last 12 months.

Pierre,

Enter these using Ctrl-Shift-Enter (They are Array formulas)

=AVERAGE(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))
=MAX(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))
=MIN(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))

HTH,
Bernie
MS Excel MVP


"Pierre" wrote in message
oups.com...
Am I allowed more than one question? :)

Maybe someone here knows.
Looking for 3 items from a spreadsheet.

In Column A: Have dates in no particular order for shipments spanning 5
years.
in column B, have shipment dollars for the various dates

A. Looking for the average of shipment dollars for the previous 12
months (looking back from todays date).

If it finds 16 events ocurring during the 12 months, divide the
12 month total by 16.

B. The hignest single value within those 12 months from column B

c. The lowest single value within those 12 months from column B

TIA for all suggestions. Pierre



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Want average sales numbers for last 12 months.


Bernie Deitrick wrote:
Pierre,

Enter these using Ctrl-Shift-Enter (They are Array formulas)

=AVERAGE(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))
=MAX(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))
=MIN(IF(A1:A1000DATE(YEAR(NOW())-1,MONTH(NOW()),DAY(NOW())),B1:B1000))

HTH,
Bernie
MS Excel MVP




Bernie, you are a GENIUS!. Thank you!

Pierre

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
displaying letters as average instead of numbers metiz Excel Discussion (Misc queries) 2 April 24th 06 08:53 AM
AVERAGE Row of Numbers and Return Corresponding Numeric Label Sam via OfficeKB.com Excel Worksheet Functions 14 September 20th 05 01:07 AM
How do I average positive numbers only Susannah Excel Discussion (Misc queries) 2 February 15th 05 01:35 AM
average positive numbers Susannah Excel Discussion (Misc queries) 3 February 11th 05 01:47 AM
Average Non-Contiguous numbers Teri Excel Worksheet Functions 1 January 20th 05 08:33 PM


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

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

About Us

"It's about Microsoft Excel"