#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default Formula Needed

I have two worksheets named "Business" and "Information"
In "Business" there are three columns.
Column A has dates in dd/mm/yy format going through to 2020.
Column B has descriptions such as hotel, petrol, expenses etc.
Column C has the price for the item.

On the "Information" worksheet I would like to pull the details from the
"Business" worksheet so that I can get a price for example on "hotel" in
column B between two dates in comlumn A with a total on the price in column
C. The dates from column A need to be specific to the month and year.

Many thanks in advance for all your help.

Mark
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Formula Needed

=SUMPRODUCT(--(Business!A2:A200=lower_target_date),--(Business!A2:A200<=upper_target_date),
--(Business!B2:B200="hotel"),Business!C2:C200)


--
__________________________________
HTH

Bob

"Mark" wrote in message
...
I have two worksheets named "Business" and "Information"
In "Business" there are three columns.
Column A has dates in dd/mm/yy format going through to 2020.
Column B has descriptions such as hotel, petrol, expenses etc.
Column C has the price for the item.

On the "Information" worksheet I would like to pull the details from the
"Business" worksheet so that I can get a price for example on "hotel" in
column B between two dates in comlumn A with a total on the price in
column
C. The dates from column A need to be specific to the month and year.

Many thanks in advance for all your help.

Mark



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 989
Default Formula Needed

Bob,

Thanks for your reply.

I'm still having problems as the formula doesn't return a figure. I'm
guessing that the format of the date is incorrect. This is what I'm using
=SUMPRODUCT(--(RBS!A2:A200=1/4/2008),--(RBS!A2:A200<=31/3/2009),--(RBS!B2:B200="Petrol"),RBS!C2:C200)

Any thoughts?

Mark



"Bob Phillips" wrote:

=SUMPRODUCT(--(Business!A2:A200=lower_target_date),--(Business!A2:A200<=upper_target_date),
--(Business!B2:B200="hotel"),Business!C2:C200)


--
__________________________________
HTH

Bob

"Mark" wrote in message
...
I have two worksheets named "Business" and "Information"
In "Business" there are three columns.
Column A has dates in dd/mm/yy format going through to 2020.
Column B has descriptions such as hotel, petrol, expenses etc.
Column C has the price for the item.

On the "Information" worksheet I would like to pull the details from the
"Business" worksheet so that I can get a price for example on "hotel" in
column B between two dates in comlumn A with a total on the price in
column
C. The dates from column A need to be specific to the month and year.

Many thanks in advance for all your help.

Mark




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
Formula Needed Clark Excel Discussion (Misc queries) 3 October 3rd 07 08:14 PM
FORMULA NEEDED Kerri Olsen Excel Discussion (Misc queries) 5 July 16th 07 08:12 PM
Formula Needed lsmith Excel Discussion (Misc queries) 1 June 8th 06 09:12 PM
Formula, Help needed themax16 Excel Worksheet Functions 2 May 22nd 05 06:55 PM
Formula needed plfry Excel Worksheet Functions 7 January 5th 05 10:43 PM


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