Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dig Dig is offline
external usenet poster
 
Posts: 17
Default How Do I DO IF with DATE

I have a workbook with 2 sheets. The first sheet has a report for individuals
sales. Each row has a date then cust name then amount from left to right.

The other sheet has a table setup to do monthly totals to figure
commissions. First is the rep name then total sales for a given month then
commission percent then commission amount from Left to Right.

What I want to do is have the TOTAL SALES in SHEET 2 look in SHEET 1 and
TOTAL all sales for say any date that has a 7 as the first number (this would
be for JULY). Obviously I have other cells that will need to look and see if
there is an 8 (AUGUST) as the first date number and so on but once I figure
the first on out it is a simple matter of repeating the process.

Can I use an IF statement or is there a better way to do this.

You help is appreciated greatly
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 209
Default How Do I DO IF with DATE

I think you may need a cheater column with the formula '=Month(date)' and the
SumProduct function.
--
Hope this helps.
If this post was helpfull, please remember to click on the ''''YES''''
button at the bottom of the screen.
Thanks,
Gary Brown


"Dig" wrote:

I have a workbook with 2 sheets. The first sheet has a report for individuals
sales. Each row has a date then cust name then amount from left to right.

The other sheet has a table setup to do monthly totals to figure
commissions. First is the rep name then total sales for a given month then
commission percent then commission amount from Left to Right.

What I want to do is have the TOTAL SALES in SHEET 2 look in SHEET 1 and
TOTAL all sales for say any date that has a 7 as the first number (this would
be for JULY). Obviously I have other cells that will need to look and see if
there is an 8 (AUGUST) as the first date number and so on but once I figure
the first on out it is a simple matter of repeating the process.

Can I use an IF statement or is there a better way to do this.

You help is appreciated greatly
Thanks

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
how to get the random date between the start date and the end date? Sebation Excel Worksheet Functions 3 October 13th 07 12:20 PM
Figuring Vacation Hrs. Earned using Current Date minus Hire Date Sharon Excel Worksheet Functions 6 May 3rd 07 10:32 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Worksheet Functions 2 April 21st 06 02:50 AM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


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