Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default return a sum between two dates

I have data list with invoice details in it, invoice#, supplier, 12 or 13
digit code, cost, details etc. What I want to do is create a formula that
will return the total Cost of all invoces with code XYZ for the month of
january.

country site group code
700 441 5790 020 = Site x haz waste
700 203 5790 020 = Site y haz waste
700 441 5790 50 = Site x general waste
700 441 5210 500 = Local travel

I want the formula to return the dollar value for hazardous waste in january.

Can you help!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default return a sum between two dates

Hi,

Try this

=sumproduct((range1="Jan")*(range2="XYZ"),sum_rang e)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"The Fru Fru" wrote in message
...
I have data list with invoice details in it, invoice#, supplier, 12 or 13
digit code, cost, details etc. What I want to do is create a formula that
will return the total Cost of all invoces with code XYZ for the month of
january.

country site group code
700 441 5790 020 = Site x haz waste
700 203 5790 020 = Site y haz waste
700 441 5790 50 = Site x general waste
700 441 5210 500 = Local travel

I want the formula to return the dollar value for hazardous waste in
january.

Can you help!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default return a sum between two dates

This returns an error, that i think is in my date formatting, as when i
investigate the error, this is the first thing to go wrong. Any suggestions?

"Ashish Mathur" wrote:

Hi,

Try this

=sumproduct((range1="Jan")*(range2="XYZ"),sum_rang e)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"The Fru Fru" wrote in message
...
I have data list with invoice details in it, invoice#, supplier, 12 or 13
digit code, cost, details etc. What I want to do is create a formula that
will return the total Cost of all invoces with code XYZ for the month of
january.

country site group code
700 441 5790 020 = Site x haz waste
700 203 5790 020 = Site y haz waste
700 441 5790 50 = Site x general waste
700 441 5210 500 = Local travel

I want the formula to return the dollar value for hazardous waste in
january.

Can you help!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default return a sum between two dates

Hi,

Try this.

=sumproduct((month(range1)="Jan")*(range2="XYZ"),s um_range)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"The Fru Fru" wrote in message
...
This returns an error, that i think is in my date formatting, as when i
investigate the error, this is the first thing to go wrong. Any
suggestions?

"Ashish Mathur" wrote:

Hi,

Try this

=sumproduct((range1="Jan")*(range2="XYZ"),sum_rang e)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"The Fru Fru" wrote in message
...
I have data list with invoice details in it, invoice#, supplier, 12 or
13
digit code, cost, details etc. What I want to do is create a formula
that
will return the total Cost of all invoces with code XYZ for the month
of
january.

country site group code
700 441 5790 020 = Site x haz waste
700 203 5790 020 = Site y haz waste
700 441 5790 50 = Site x general waste
700 441 5210 500 = Local travel

I want the formula to return the dollar value for hazardous waste in
january.

Can you help!


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default return a sum between two dates

Which is your date column? Give some examples for yor dates and their format!
What does "code XYZ" mean? There is no such code in your example!

Regards,
Stefi


€˛The Fru Fru€¯ ezt Ć*rta:

This returns an error, that i think is in my date formatting, as when i
investigate the error, this is the first thing to go wrong. Any suggestions?

"Ashish Mathur" wrote:

Hi,

Try this

=sumproduct((range1="Jan")*(range2="XYZ"),sum_rang e)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"The Fru Fru" wrote in message
...
I have data list with invoice details in it, invoice#, supplier, 12 or 13
digit code, cost, details etc. What I want to do is create a formula that
will return the total Cost of all invoces with code XYZ for the month of
january.

country site group code
700 441 5790 020 = Site x haz waste
700 203 5790 020 = Site y haz waste
700 441 5790 50 = Site x general waste
700 441 5210 500 = Local travel

I want the formula to return the dollar value for hazardous waste in
january.

Can you help!


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
return financial period if value between 2 dates tmirelle Excel Discussion (Misc queries) 6 March 29th 07 11:57 PM
A formular to look up data and return dates louiscourtney Excel Worksheet Functions 7 December 15th 06 11:39 AM
Return the dates something happens louiscourtney Excel Worksheet Functions 0 December 12th 06 03:00 PM
Return a value for a range of dates Waters Excel Worksheet Functions 1 May 27th 06 03:18 AM
Enter dates and return availability Statler Excel Worksheet Functions 2 January 30th 06 10:47 AM


All times are GMT +1. The time now is 04:22 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"