Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 110
Default Similar question to the one before.

First of all i want to say my initial problem was solved
by T. Valko. But i want to add something else to this .. Lets say in
Sheet1 D1 to D3000 i also have numbers that i want summed up if the dates
match up. but only to the ones that match up for example
Taken from bottom example when C1 3/10/08 shows up i, i want D1 containing
a number ex "132" to be added to the next date that matches up which would be
C3 3/04/08. (D3,"345")



In sheet 1 i have
C1 to C30000 "dates.

C1 3/10/08 D1 "132"
C2 4/30/08 D2 should not be counted since it does not match up with dates
below
C3 3/04/08 D3 "345"
C4 1/03/05
C5 3/16/08
ect

In sheet 2
I have
A1: this date 3/1/08
A2: this date 3/15/08



..................................


I want a formula in C5 that will look into sheet one and see if any dates i
i put in A:1 to A3000 falls on or in between the dates in sheet 2. "3/1/08"
and " 3/15/08"
and if so.. SUM THE "D" Row matching up with the dates as shown above.
.................................................. .......

From the example above the answer that i am lookin for should be 477 since
there are only two dates that fall in between and they are ,3/10/08 ,D1"132 +
3/04/08 D2 345 equals 477
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Similar question to the one before.

Try this:

=SUMIF(Sheet1!C1:C3000,"="&A1,Sheet1!D1:D3000)-SUMIF(Sheet1!C1:C3000,""&A2,Sheet1!D1:D3000)


--
Biff
Microsoft Excel MVP


"Jman" wrote in message
...
First of all i want to say my initial problem was solved
by T. Valko. But i want to add something else to this .. Lets say in
Sheet1 D1 to D3000 i also have numbers that i want summed up if the
dates
match up. but only to the ones that match up for example
Taken from bottom example when C1 3/10/08 shows up i, i want D1
containing
a number ex "132" to be added to the next date that matches up which would
be
C3 3/04/08. (D3,"345")



In sheet 1 i have
C1 to C30000 "dates.

C1 3/10/08 D1 "132"
C2 4/30/08 D2 should not be counted since it does not match up with
dates
below
C3 3/04/08 D3 "345"
C4 1/03/05
C5 3/16/08
ect

In sheet 2
I have
A1: this date 3/1/08
A2: this date 3/15/08



.................................


I want a formula in C5 that will look into sheet one and see if any dates
i
i put in A:1 to A3000 falls on or in between the dates in sheet 2.
"3/1/08"
and " 3/15/08"
and if so.. SUM THE "D" Row matching up with the dates as shown above.
.................................................. ......

From the example above the answer that i am lookin for should be 477 since
there are only two dates that fall in between and they are ,3/10/08
,D1"132 +
3/04/08 D2 345 equals 477



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 110
Default Similar question to the one before.

Perfect.. Thanks again.

"T. Valko" wrote:

Try this:

=SUMIF(Sheet1!C1:C3000,"="&A1,Sheet1!D1:D3000)-SUMIF(Sheet1!C1:C3000,""&A2,Sheet1!D1:D3000)


--
Biff
Microsoft Excel MVP


"Jman" wrote in message
...
First of all i want to say my initial problem was solved
by T. Valko. But i want to add something else to this .. Lets say in
Sheet1 D1 to D3000 i also have numbers that i want summed up if the
dates
match up. but only to the ones that match up for example
Taken from bottom example when C1 3/10/08 shows up i, i want D1
containing
a number ex "132" to be added to the next date that matches up which would
be
C3 3/04/08. (D3,"345")



In sheet 1 i have
C1 to C30000 "dates.

C1 3/10/08 D1 "132"
C2 4/30/08 D2 should not be counted since it does not match up with
dates
below
C3 3/04/08 D3 "345"
C4 1/03/05
C5 3/16/08
ect

In sheet 2
I have
A1: this date 3/1/08
A2: this date 3/15/08



.................................


I want a formula in C5 that will look into sheet one and see if any dates
i
i put in A:1 to A3000 falls on or in between the dates in sheet 2.
"3/1/08"
and " 3/15/08"
and if so.. SUM THE "D" Row matching up with the dates as shown above.
.................................................. ......

From the example above the answer that i am lookin for should be 477 since
there are only two dates that fall in between and they are ,3/10/08
,D1"132 +
3/04/08 D2 345 equals 477




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Similar question to the one before.

You're welcome!

--
Biff
Microsoft Excel MVP


"Jman" wrote in message
...
Perfect.. Thanks again.

"T. Valko" wrote:

Try this:

=SUMIF(Sheet1!C1:C3000,"="&A1,Sheet1!D1:D3000)-SUMIF(Sheet1!C1:C3000,""&A2,Sheet1!D1:D3000)


--
Biff
Microsoft Excel MVP


"Jman" wrote in message
...
First of all i want to say my initial problem was solved
by T. Valko. But i want to add something else to this .. Lets say in
Sheet1 D1 to D3000 i also have numbers that i want summed up if the
dates
match up. but only to the ones that match up for example
Taken from bottom example when C1 3/10/08 shows up i, i want D1
containing
a number ex "132" to be added to the next date that matches up which
would
be
C3 3/04/08. (D3,"345")



In sheet 1 i have
C1 to C30000 "dates.

C1 3/10/08 D1 "132"
C2 4/30/08 D2 should not be counted since it does not match up with
dates
below
C3 3/04/08 D3 "345"
C4 1/03/05
C5 3/16/08
ect

In sheet 2
I have
A1: this date 3/1/08
A2: this date 3/15/08



.................................


I want a formula in C5 that will look into sheet one and see if any
dates
i
i put in A:1 to A3000 falls on or in between the dates in sheet 2.
"3/1/08"
and " 3/15/08"
and if so.. SUM THE "D" Row matching up with the dates as shown above.
.................................................. ......

From the example above the answer that i am lookin for should be 477
since
there are only two dates that fall in between and they are ,3/10/08
,D1"132 +
3/04/08 D2 345 equals 477






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
Find Similar Steve Excel Worksheet Functions 3 April 24th 07 03:56 PM
Similar to Vlookup Mike Excel Discussion (Misc queries) 1 February 1st 06 04:21 PM
quick charting question for similar charts on multiple sheets Boon8888 Charts and Charting in Excel 2 January 27th 06 07:33 PM
sum or similar with conditions CHRIS K Excel Worksheet Functions 4 August 16th 05 11:23 AM
Pop-up box similar to comments box akk Excel Discussion (Misc queries) 5 January 25th 05 03:09 AM


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