Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Some sort of conditional sum?

I have a table of data set up as follows:

Customer 31/10/08 30/11/08 31/12/08
abc 20 35 50
def 45 30 24

In a separate sheet I have a summary sheet whichwill show totals as follows:

31/10/2008
Total Port 65

I want the Total port to change according to the date in the cell above i.e.
the total will change to 65 if I put 30/11/08 and 74 if I put 31/12/08.

I don't think this is complicated but at this time of the day its doing my
head in so any help would be appreciated.

Many thanks,

Andrew



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Some sort of conditional sum?

Try this:

A10 = date to match

=SUM(INDEX(Sheet2!B2:D3,,MATCH(A10,Sheet2!B1:D1,0) ))

--
Biff
Microsoft Excel MVP


"Andrew Mackenzie" wrote in message
...
I have a table of data set up as follows:

Customer 31/10/08 30/11/08 31/12/08
abc 20 35 50
def 45 30 24

In a separate sheet I have a summary sheet whichwill show totals as
follows:

31/10/2008
Total Port 65

I want the Total port to change according to the date in the cell above
i.e.
the total will change to 65 if I put 30/11/08 and 74 if I put 31/12/08.

I don't think this is complicated but at this time of the day its doing my
head in so any help would be appreciated.

Many thanks,

Andrew





  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Some sort of conditional sum?

Thanks Biff, Worked a treat!!

Andrew
"T. Valko" wrote in message
...
Try this:

A10 = date to match

=SUM(INDEX(Sheet2!B2:D3,,MATCH(A10,Sheet2!B1:D1,0) ))

--
Biff
Microsoft Excel MVP


"Andrew Mackenzie" wrote in message
...
I have a table of data set up as follows:

Customer 31/10/08 30/11/08 31/12/08
abc 20 35 50
def 45 30 24

In a separate sheet I have a summary sheet whichwill show totals as
follows:

31/10/2008
Total Port 65

I want the Total port to change according to the date in the cell above
i.e.
the total will change to 65 if I put 30/11/08 and 74 if I put 31/12/08.

I don't think this is complicated but at this time of the day its doing

my
head in so any help would be appreciated.

Many thanks,

Andrew







  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Some sort of conditional sum?

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Andrew Mackenzie" wrote in message
...
Thanks Biff, Worked a treat!!

Andrew
"T. Valko" wrote in message
...
Try this:

A10 = date to match

=SUM(INDEX(Sheet2!B2:D3,,MATCH(A10,Sheet2!B1:D1,0) ))

--
Biff
Microsoft Excel MVP


"Andrew Mackenzie" wrote in message
...
I have a table of data set up as follows:

Customer 31/10/08 30/11/08 31/12/08
abc 20 35 50
def 45 30 24

In a separate sheet I have a summary sheet whichwill show totals as
follows:

31/10/2008
Total Port 65

I want the Total port to change according to the date in the cell above
i.e.
the total will change to 65 if I put 30/11/08 and 74 if I put 31/12/08.

I don't think this is complicated but at this time of the day its doing

my
head in so any help would be appreciated.

Many thanks,

Andrew









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
Sort of like SUMIF and COUNTIF - but return a conditional value hr38581 Excel Discussion (Misc queries) 2 May 3rd 08 04:28 PM
sort function for dates does not sort properly in Office 2007 Exc. Rosalie Excel Worksheet Functions 1 November 22nd 07 10:25 PM
Conditional Sort? Eric Excel Discussion (Misc queries) 9 July 22nd 07 12:42 PM
sort a cell that was highlighted by conditional formating? brbradle Excel Worksheet Functions 0 May 3rd 06 09:15 PM
Sort by conditional formats? jbtenor1 Excel Worksheet Functions 6 January 5th 06 06:12 PM


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