PC Review


Reply
Thread Tools Rate Thread

Adding numbers based on date

 
 
Dyanna
Guest
Posts: n/a
 
      27th Aug 2008
I have a workbook that on the first workbook page has a column with a date
(when a bid is submitted), then in another column the amount of that bid - on
another workbook page I have the weeks of the year and I want it to reference
back to the first workbook page and if the date is between a certain date
range add the bid amount

First Workbook Page Second Workbook Page
Bid Date Amount Week Ending
Amount
1/1/08 $100.00 1/7/08

1/12/08 $200.00 1/14/08
1/25/08 $100.00

Anyone have any suggestions, I have been trying to use the IF function and
SUMIF but I keep getting errors.

Thank you!!
Dyanna
 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      27th Aug 2008
=SUMIF(Sheet1!A:A,">="&A2,Sheet1!B:B)-SUMIF(Sheet1!A:A,">"&A2+7,Sheet1!B:B)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Dyanna" <(E-Mail Removed)> wrote in message
news:41C27169-129F-466E-84F4-(E-Mail Removed)...
>I have a workbook that on the first workbook page has a column with a date
> (when a bid is submitted), then in another column the amount of that bid -
> on
> another workbook page I have the weeks of the year and I want it to
> reference
> back to the first workbook page and if the date is between a certain date
> range add the bid amount
>
> First Workbook Page Second Workbook Page
> Bid Date Amount Week Ending
> Amount
> 1/1/08 $100.00 1/7/08
>
> 1/12/08 $200.00 1/14/08
> 1/25/08 $100.00
>
> Anyone have any suggestions, I have been trying to use the IF function and
> SUMIF but I keep getting errors.
>
> Thank you!!
> Dyanna



 
Reply With Quote
 
Dyanna
Guest
Posts: n/a
 
      27th Aug 2008
Thank you - worked perfect - I was close, but I was not using -SUMIF in the
middle!

Dyanna

"Bob Phillips" wrote:

> =SUMIF(Sheet1!A:A,">="&A2,Sheet1!B:B)-SUMIF(Sheet1!A:A,">"&A2+7,Sheet1!B:B)
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "Dyanna" <(E-Mail Removed)> wrote in message
> news:41C27169-129F-466E-84F4-(E-Mail Removed)...
> >I have a workbook that on the first workbook page has a column with a date
> > (when a bid is submitted), then in another column the amount of that bid -
> > on
> > another workbook page I have the weeks of the year and I want it to
> > reference
> > back to the first workbook page and if the date is between a certain date
> > range add the bid amount
> >
> > First Workbook Page Second Workbook Page
> > Bid Date Amount Week Ending
> > Amount
> > 1/1/08 $100.00 1/7/08
> >
> > 1/12/08 $200.00 1/14/08
> > 1/25/08 $100.00
> >
> > Anyone have any suggestions, I have been trying to use the IF function and
> > SUMIF but I keep getting errors.
> >
> > Thank you!!
> > Dyanna

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding numbers based on Range Carla Microsoft Excel Worksheet Functions 2 18th Jun 2009 03:25 PM
Adding certain numbers based on... =?Utf-8?B?UmljaCBE?= Microsoft Excel Misc 1 9th Dec 2006 07:16 AM
Adding numbers in cells based on colour =?Utf-8?B?RHJhY2N1c2ZseQ==?= Microsoft Excel Worksheet Functions 1 1st Sep 2006 04:05 PM
adding records based on given numbers Samuel Microsoft Access Form Coding 1 30th Sep 2004 12:28 PM
Adding numbers based on certain criteria Vlad Microsoft Excel Misc 2 6th Jul 2004 10:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:07 AM.